summaryrefslogtreecommitdiff
path: root/net/libupnp/buildlink3.mk
diff options
context:
space:
mode:
authorrh <rh>2007-06-19 01:40:13 +0000
committerrh <rh>2007-06-19 01:40:13 +0000
commit8c41e9cd55dfb59a05cb87b454449defe6783743 (patch)
tree2af7f60ddc86e5b601788863fc3c8723953bddd9 /net/libupnp/buildlink3.mk
parent34b86fc9a977597e5924227618f030b04bd3f2c0 (diff)
downloadpkgsrc-8c41e9cd55dfb59a05cb87b454449defe6783743.tar.gz
Update libupnp to 1.6.0 (currently a leaf package). Changes are mainly
bugfixes, including a couple of serious bugs that prevented the library from working on NetBSD and Darwin (for anything other than trivial tests). Add a buildlink3.mk while at it.
Diffstat (limited to 'net/libupnp/buildlink3.mk')
-rw-r--r--net/libupnp/buildlink3.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/net/libupnp/buildlink3.mk b/net/libupnp/buildlink3.mk
new file mode 100644
index 00000000000..aa1141569dd
--- /dev/null
+++ b/net/libupnp/buildlink3.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink3.mk,v 1.1 2007/06/19 01:40:13 rh Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBUPNP_BUILDLINK3_MK:= ${LIBUPNP_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= libupnp
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibupnp}
+BUILDLINK_PACKAGES+= libupnp
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libupnp
+
+.if ${LIBUPNP_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.libupnp+= libupnp>1.4.6
+BUILDLINK_PKGSRCDIR.libupnp?= ../../net/libupnp
+
+PRINT_PLIST_AWK+= /^@dirrm include\/upnp$$/ { print "@comment in net/libupnp: " $$0; next; }
+PRINT_PLIST_AWK+= /^@exec \$${MKDIR} %D\/include\/upnp$$/ { next; }
+
+.endif # LIBUPNP_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}