summaryrefslogtreecommitdiff
path: root/editors/emacs21
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
commitf9b83846c6cdd0be72fb18443d4052e84bd317ac (patch)
treea1cdf092626eccf72ecf1035d4c35e194b5648e5 /editors/emacs21
parent85abbe34ab7b9da150b896370bd270ea71696cfc (diff)
downloadpkgsrc-f9b83846c6cdd0be72fb18443d4052e84bd317ac.tar.gz
Initial addition of buildlink3.mk fragments for Emacs / XEmacs programs.
Diffstat (limited to 'editors/emacs21')
-rw-r--r--editors/emacs21/buildlink3.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/editors/emacs21/buildlink3.mk b/editors/emacs21/buildlink3.mk
new file mode 100644
index 00000000000..4b5a42b3d92
--- /dev/null
+++ b/editors/emacs21/buildlink3.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink3.mk,v 1.1 2007/10/29 12:40:03 uebayasi Exp $
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+EMACS_BUILDLINK3_MK:= ${EMACS_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 ${EMACS_BUILDLINK3_MK} == "+"
+.include "../../mk/emacs.mk"
+BUILDLINK_API_DEPENDS.emacs+= ${_EMACS_REQD.emacs21}
+BUILDLINK_PKGSRCDIR.emacs?= ${_EMACS_DEP.emacs21}
+.endif # EMACS_BUILDLINK3_MK
+
+BUILDLINK_CONTENTS_FILTER.emacs= ${EGREP} '.*\.el$$|.*\.elc$$'
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}