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
commite56545864669c3ba799dd48cdc5011ea133809dd (patch)
tree315e209633be69e13749d075395cdcb1fd1cc05d /mail/mew
parent70bde130e220c9d2ceb40721292d6d641f26833c (diff)
downloadpkgsrc-e56545864669c3ba799dd48cdc5011ea133809dd.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/+$//}