summaryrefslogtreecommitdiff
path: root/net/socks4/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'net/socks4/buildlink3.mk')
-rw-r--r--net/socks4/buildlink3.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/socks4/buildlink3.mk b/net/socks4/buildlink3.mk
new file mode 100644
index 00000000000..1b6d11de656
--- /dev/null
+++ b/net/socks4/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:44 jlam Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+SOCKS4_BUILDLINK3_MK:= ${SOCKS4_BUILDLINK3_MK}+
+
+.if !empty(SOCKS4_BUILDLINK3_MK:M\+)
+BUILDLINK_DEPENDS.socks4?= socks4>=2.2
+BUILDLINK_PKGSRCDIR.socks4?= ../../net/socks4
+.endif # SOCKS4_BUILDLINK3_MK
+
+.if !empty(BUILDLINK_DEPTH:M\+)
+BUILDLINK_DEPENDS+= socks4
+.endif
+
+.if !empty(SOCKS4_BUILDLINK3_MK:M\+)
+BUILDLINK_PACKAGES+= socks4
+BUILDLINK_TRANSFORM+= l:socks:socks4
+.endif # SOCKS4_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//}