summaryrefslogtreecommitdiff
path: root/devel/tre/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'devel/tre/buildlink3.mk')
-rw-r--r--devel/tre/buildlink3.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/tre/buildlink3.mk b/devel/tre/buildlink3.mk
new file mode 100644
index 00000000000..57c76d4e0cd
--- /dev/null
+++ b/devel/tre/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/11/29 19:12:04 adrianp Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+TRE_BUILDLINK3_MK:= ${TRE_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= tre
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntre}
+BUILDLINK_PACKAGES+= tre
+
+.if !empty(TRE_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.tre+= tre>=0.7.2
+BUILDLINK_PKGSRCDIR.tre?= ../../devel/tre
+BUILDLINK_DEPMETHOD.tre?= build
+.endif # TRE_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}