summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorJosh Paetzel <jpaetzel@FreeBSD.org>2014-04-19 20:21:10 +0000
committerJosh Paetzel <jpaetzel@FreeBSD.org>2014-04-19 20:21:10 +0000
commit4648604d7f6d05e85a8585ea86784775cbc5d13f (patch)
tree6f1c1d846ceb340f8f4ed8a7bda6d0b4516e56bb /dns
parentConvert to new LIB_DEPENDS format. (diff)
Additional port improvements
Notes
Notes: svn path=/head/; revision=351608
Diffstat (limited to 'dns')
-rw-r--r--dns/py-bonjour/Makefile17
1 files changed, 4 insertions, 13 deletions
diff --git a/dns/py-bonjour/Makefile b/dns/py-bonjour/Makefile
index 6a00832b4717..61fc2832a821 100644
--- a/dns/py-bonjour/Makefile
+++ b/dns/py-bonjour/Makefile
@@ -15,19 +15,10 @@ USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
-OPTIONS_SINGLE= ZEROCONF
+OPTIONS_SINGLE= ZEROCONF
OPTIONS_SINGLE_ZEROCONF= AVAHI MDNSRESPONDER
-OPTIONS_DEFAULT= MDNSRESPONDER
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MAVAHI}
-BUILD_DEPENDS+= libdns_sd.so:${PORTSDIR}/net/avahi-libdns
-.endif
-.if ${PORT_OPTIONS:MMDNSRESPONDER}
-BUILD_DEPENDS+= libdns_sd.so:${PORTSDIR}/net/mDNSResponder
-.endif
-
-RUN_DEPENDS:= ${BUILD_DEPENDS}
+OPTIONS_DEFAULT= MDNSRESPONDER
+AVAHI_LIB_DEPENDS= libdns_sd.so:${PORTSDIR}/net/avahi-libdns
+MDNSRESPONDER_LIB_DEPENDS= libdns_sd.so:${PORTSDIR}/net/mDNSResponder
.include <bsd.port.mk>