summaryrefslogtreecommitdiff
path: root/devel/semantic/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'devel/semantic/buildlink3.mk')
-rw-r--r--devel/semantic/buildlink3.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/devel/semantic/buildlink3.mk b/devel/semantic/buildlink3.mk
new file mode 100644
index 00000000000..7a1dc4d7a99
--- /dev/null
+++ b/devel/semantic/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2007/10/29 12:41:17 uebayasi Exp $
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+SEMANTIC_BUILDLINK3_MK:= ${SEMANTIC_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= semantic
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsemantic}
+BUILDLINK_PACKAGES+= semantic
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}semantic
+
+.if ${SEMANTIC_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.semantic+= ${EMACS_PKGNAME_PREFIX}semantic>=10
+BUILDLINK_PKGSRCDIR.semantic?= ../../devel/semantic
+.endif # SEMANTIC_BUILDLINK3_MK
+
+BUILDLINK_CONTENTS_FILTER.semantic= ${EGREP} '.*\.el$$|.*\.elc$$'
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}