summaryrefslogtreecommitdiff
path: root/devel/apel
diff options
context:
space:
mode:
authoruebayasi <uebayasi@pkgsrc.org>2007-10-29 12:41:16 +0000
committeruebayasi <uebayasi@pkgsrc.org>2007-10-29 12:41:16 +0000
commit98aeb223e6769d9354c65ac98d00dc4fa6d1f435 (patch)
tree315e209633be69e13749d075395cdcb1fd1cc05d /devel/apel
parent1301bed0d3f3e1101a1ea2492dfae7990340c901 (diff)
downloadpkgsrc-98aeb223e6769d9354c65ac98d00dc4fa6d1f435.tar.gz
Initial addition of buildlink3.mk fragments for EmacsLisp packages.
Diffstat (limited to 'devel/apel')
-rw-r--r--devel/apel/buildlink3.mk32
1 files changed, 32 insertions, 0 deletions
diff --git a/devel/apel/buildlink3.mk b/devel/apel/buildlink3.mk
new file mode 100644
index 00000000000..37b3585a523
--- /dev/null
+++ b/devel/apel/buildlink3.mk
@@ -0,0 +1,32 @@
+# $NetBSD: buildlink3.mk,v 1.1 2007/10/29 12:41:16 uebayasi Exp $
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+APEL_BUILDLINK3_MK:= ${APEL_BUILDLINK3_MK}+
+
+.include "../../mk/emacs.mk"
+.if ${EMACS_FLAVOR} == "emacs"
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= apel
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Napel}
+BUILDLINK_PACKAGES+= apel
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}apel
+
+.if ${APEL_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.apel+= ${EMACS_PKGNAME_PREFIX}apel>=10
+BUILDLINK_PKGSRCDIR.apel?= ../../devel/apel
+.endif # APEL_BUILDLINK3_MK
+
+BUILDLINK_CONTENTS_FILTER.apel= ${EGREP} '.*\.el$$|.*\.elc$$'
+
+.else
+
+# XEmacs has apel in xemacs-packages
+EMACS_MODULES+= base
+
+.endif
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}