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