summaryrefslogtreecommitdiff
path: root/editors/xemacs-current
diff options
context:
space:
mode:
authoruebayasi <uebayasi>2007-10-29 12:40:02 +0000
committeruebayasi <uebayasi>2007-10-29 12:40:02 +0000
commit5940dcaa30d9f49f596b540e22f5c51b577c5deb (patch)
treea1cdf092626eccf72ecf1035d4c35e194b5648e5 /editors/xemacs-current
parent3966286a257bd0aee0584d786a8c38d5b7729d5c (diff)
downloadpkgsrc-5940dcaa30d9f49f596b540e22f5c51b577c5deb.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/+$//}