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