summaryrefslogtreecommitdiff
path: root/editors/emacs20
diff options
context:
space:
mode:
authoruebayasi <uebayasi@pkgsrc.org>2007-10-29 12:40:02 +0000
committeruebayasi <uebayasi@pkgsrc.org>2007-10-29 12:40:02 +0000
commit75635c82f9b48902b02b85d1871fbdaac7598347 (patch)
treea1cdf092626eccf72ecf1035d4c35e194b5648e5 /editors/emacs20
parentcce6d782c4945a87236575df98be6b8a949c1c05 (diff)
downloadpkgsrc-75635c82f9b48902b02b85d1871fbdaac7598347.tar.gz
Initial addition of buildlink3.mk fragments for Emacs / XEmacs programs.
Diffstat (limited to 'editors/emacs20')
-rw-r--r--editors/emacs20/buildlink3.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/editors/emacs20/buildlink3.mk b/editors/emacs20/buildlink3.mk
new file mode 100644
index 00000000000..7c553d71002
--- /dev/null
+++ b/editors/emacs20/buildlink3.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink3.mk,v 1.1 2007/10/29 12:40:03 uebayasi Exp $
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+APEL_BUILDLINK3_MK:= ${APEL_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= emacs
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nemacs}
+BUILDLINK_PACKAGES+= emacs
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}emacs
+
+.if ${APEL_BUILDLINK3_MK} == "+"
+.include "../../mk/emacs.mk"
+BUILDLINK_API_DEPENDS.emacs+= ${_EMACS_REQD.emacs20}
+BUILDLINK_PKGSRCDIR.emacs?= ${_EMACS_DEP.emacs20}
+.endif # APEL_BUILDLINK3_MK
+
+BUILDLINK_CONTENTS_FILTER.emacs= ${EGREP} '.*\.el$$|.*\.elc$$'
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}