summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authoruebayasi <uebayasi>2007-10-29 12:41:16 +0000
committeruebayasi <uebayasi>2007-10-29 12:41:16 +0000
commitdacbab3069641a61e3baba4d3427a718089771c4 (patch)
tree315e209633be69e13749d075395cdcb1fd1cc05d /editors
parentf1385983f5d6baa73ae17ad42066fa2aec74e984 (diff)
downloadpkgsrc-dacbab3069641a61e3baba4d3427a718089771c4.tar.gz
Initial addition of buildlink3.mk fragments for EmacsLisp packages.
Diffstat (limited to 'editors')
-rw-r--r--editors/mule-ucs/buildlink3.mk32
-rw-r--r--editors/speedbar/buildlink3.mk22
2 files changed, 54 insertions, 0 deletions
diff --git a/editors/mule-ucs/buildlink3.mk b/editors/mule-ucs/buildlink3.mk
new file mode 100644
index 00000000000..7c994a4bdb2
--- /dev/null
+++ b/editors/mule-ucs/buildlink3.mk
@@ -0,0 +1,32 @@
+# $NetBSD: buildlink3.mk,v 1.1 2007/10/29 12:41:17 uebayasi Exp $
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+MULE_UCS_BUILDLINK3_MK:= ${MULE_UCS_BUILDLINK3_MK}+
+
+#
+# Only for older GNU Emacs. Emacs 22 or later doesn't need this because it
+# incorporated Unicode support.
+#
+
+.include "../../mk/emacs.mk"
+.if ${EMACS_FLAVOR} == "emacs" && ${EMACS_VERSION_MAJOR} < 22
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= mule-ucs
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmule-ucs}
+BUILDLINK_PACKAGES+= mule-ucs
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}mule-ucs
+
+.if ${MULE_UCS_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.mule-ucs+= ${EMACS_PKGNAME_PREFIX}Mule-UCS>=0.84
+BUILDLINK_PKGSRCDIR.mule-ucs?= ../../editors/mule-ucs
+.endif # MULE_UCS_BUILDLINK3_MK
+
+BUILDLINK_CONTENTS_FILTER.mule-ucs= ${EGREP} '.*\.el$$|.*\.elc$$'
+
+.endif
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/editors/speedbar/buildlink3.mk b/editors/speedbar/buildlink3.mk
new file mode 100644
index 00000000000..db4e8a24d07
--- /dev/null
+++ b/editors/speedbar/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2007/10/29 12:41:18 uebayasi Exp $
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+SPEEDBAR_BUILDLINK3_MK:= ${SPEEDBAR_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= speedbar
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nspeedbar}
+BUILDLINK_PACKAGES+= speedbar
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}speedbar
+
+.if ${SPEEDBAR_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.speedbar+= ${EMACS_PKGNAME_PREFIX}speedbar>=0.14rc0
+BUILDLINK_PKGSRCDIR.speedbar?= ../../editors/speedbar
+.endif # SPEEDBAR_BUILDLINK3_MK
+
+BUILDLINK_CONTENTS_FILTER.speedbar= ${EGREP} '.*\.el$$|.*\.elc$$'
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}