summaryrefslogtreecommitdiff
path: root/devel/elib
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/elib
parent1301bed0d3f3e1101a1ea2492dfae7990340c901 (diff)
downloadpkgsrc-98aeb223e6769d9354c65ac98d00dc4fa6d1f435.tar.gz
Initial addition of buildlink3.mk fragments for EmacsLisp packages.
Diffstat (limited to 'devel/elib')
-rw-r--r--devel/elib/buildlink3.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/devel/elib/buildlink3.mk b/devel/elib/buildlink3.mk
new file mode 100644
index 00000000000..2f7151e1ed5
--- /dev/null
+++ b/devel/elib/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2007/10/29 12:41:17 uebayasi Exp $
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+ELIB_BUILDLINK3_MK:= ${ELIB_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= elib
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nelib}
+BUILDLINK_PACKAGES+= elib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}elib
+
+.if ${ELIB_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.elib+= ${EMACS_PKGNAME_PREFIX}elib>=1
+BUILDLINK_PKGSRCDIR.elib?= ../../devel/elib
+.endif # ELIB_BUILDLINK3_MK
+
+BUILDLINK_CONTENTS_FILTER.elib= ${EGREP} '.*\.el$$|.*\.elc$$'
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}