diff options
author | uebayasi <uebayasi@pkgsrc.org> | 2007-10-29 12:41:16 +0000 |
---|---|---|
committer | uebayasi <uebayasi@pkgsrc.org> | 2007-10-29 12:41:16 +0000 |
commit | 98aeb223e6769d9354c65ac98d00dc4fa6d1f435 (patch) | |
tree | 315e209633be69e13749d075395cdcb1fd1cc05d /editors/mule-ucs | |
parent | 1301bed0d3f3e1101a1ea2492dfae7990340c901 (diff) | |
download | pkgsrc-98aeb223e6769d9354c65ac98d00dc4fa6d1f435.tar.gz |
Initial addition of buildlink3.mk fragments for EmacsLisp packages.
Diffstat (limited to 'editors/mule-ucs')
-rw-r--r-- | editors/mule-ucs/buildlink3.mk | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/editors/mule-ucs/buildlink3.mk b/editors/mule-ucs/buildlink3.mk new file mode 100644 index 00000000000..7c994a4bdb2 --- /dev/null +++ b/editors/mule-ucs/buildlink3.mk @@ -0,0 +1,32 @@ +# $NetBSD: buildlink3.mk,v 1.1 2007/10/29 12:41:17 uebayasi Exp $ +# + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +MULE_UCS_BUILDLINK3_MK:= ${MULE_UCS_BUILDLINK3_MK}+ + +# +# Only for older GNU Emacs. Emacs 22 or later doesn't need this because it +# incorporated Unicode support. +# + +.include "../../mk/emacs.mk" +.if ${EMACS_FLAVOR} == "emacs" && ${EMACS_VERSION_MAJOR} < 22 + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= mule-ucs +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmule-ucs} +BUILDLINK_PACKAGES+= mule-ucs +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}mule-ucs + +.if ${MULE_UCS_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.mule-ucs+= ${EMACS_PKGNAME_PREFIX}Mule-UCS>=0.84 +BUILDLINK_PKGSRCDIR.mule-ucs?= ../../editors/mule-ucs +.endif # MULE_UCS_BUILDLINK3_MK + +BUILDLINK_CONTENTS_FILTER.mule-ucs= ${EGREP} '.*\.el$$|.*\.elc$$' + +.endif + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |