summaryrefslogtreecommitdiff
path: root/editors/sam/buildlink3.mk
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-04-18 04:19:49 +0000
committersnj <snj@pkgsrc.org>2004-04-18 04:19:49 +0000
commit89a80f8404b67340b9572dcfe29f367f99df6b4e (patch)
treed8802c39be3adff7cf23d60ab0f900b504579ad1 /editors/sam/buildlink3.mk
parent4f04347b7bc430641e8c7c1421982a92c3e2a1f3 (diff)
downloadpkgsrc-89a80f8404b67340b9572dcfe29f367f99df6b4e.tar.gz
Convert to buildlink3.
Diffstat (limited to 'editors/sam/buildlink3.mk')
-rw-r--r--editors/sam/buildlink3.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/editors/sam/buildlink3.mk b/editors/sam/buildlink3.mk
new file mode 100644
index 00000000000..506560858f2
--- /dev/null
+++ b/editors/sam/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/18 04:19:49 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+SAM_BUILDLINK3_MK:= ${SAM_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= sam
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsam}
+BUILDLINK_PACKAGES+= sam
+
+.if !empty(SAM_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.sam+= sam>=4.3nb1
+BUILDLINK_PKGSRCDIR.sam?= ../../editors/sam
+BUILDLINK_DEPMETHOD.sam?= build
+.endif # SAM_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}