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 | e56545864669c3ba799dd48cdc5011ea133809dd (patch) | |
tree | 315e209633be69e13749d075395cdcb1fd1cc05d /misc | |
parent | 70bde130e220c9d2ceb40721292d6d641f26833c (diff) | |
download | pkgsrc-e56545864669c3ba799dd48cdc5011ea133809dd.tar.gz |
Initial addition of buildlink3.mk fragments for EmacsLisp packages.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/bbdb/buildlink3.mk | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/misc/bbdb/buildlink3.mk b/misc/bbdb/buildlink3.mk new file mode 100644 index 00000000000..1472adc74ed --- /dev/null +++ b/misc/bbdb/buildlink3.mk @@ -0,0 +1,32 @@ +# $NetBSD: buildlink3.mk,v 1.1 2007/10/29 12:41:18 uebayasi Exp $ +# + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +BBDB_BUILDLINK3_MK:= ${BBDB_BUILDLINK3_MK}+ + +.include "../../mk/emacs.mk" +.if ${EMACS_FLAVOR} == "emacs" + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= bbdb +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nbbdb} +BUILDLINK_PACKAGES+= bbdb +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}bbdb + +.if ${BBDB_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.bbdb+= ${EMACS_PKGNAME_PREFIX}bbdb>=2 +BUILDLINK_PKGSRCDIR.bbdb?= ../../misc/bbdb +.endif # BBDB_BUILDLINK3_MK + +BUILDLINK_CONTENTS_FILTER.bbdb= ${EGREP} '.*\.el$$|.*\.elc$$' + +.else + +# XEmacs has bbdb in xemacs-packages +EMACS_MODULES+= base + +.endif + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |