aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2012-06-25 23:09:08 +0000
committerJason Helfman <jgh@FreeBSD.org>2012-06-25 23:09:08 +0000
commit5e8fb43b19c6ea1726680267c1e7091533063e88 (patch)
treea7adc256371617763d3136804fa3c39062035878 /dns
parent3351bebb15482cb317c08ba34a2f859a289cdfc1 (diff)
downloadports-5e8fb43b19c6ea1726680267c1e7091533063e88.tar.gz
ports-5e8fb43b19c6ea1726680267c1e7091533063e88.zip
Notes
Diffstat (limited to 'dns')
-rw-r--r--dns/py-namebench/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/dns/py-namebench/Makefile b/dns/py-namebench/Makefile
index 8164d3e88ef8..058072d14926 100644
--- a/dns/py-namebench/Makefile
+++ b/dns/py-namebench/Makefile
@@ -25,7 +25,9 @@ RUN_DEPENDS+= \
${PYTHON_PKGNAMEPREFIX}httplib2>=0.6.0:${PORTSDIR}/www/py-httplib2 \
${PYTHON_PKGNAMEPREFIX}simplejson>=2.1.6:${PORTSDIR}/devel/py-simplejson
-.if !defined(WITHOUT_X11)
+.include <bsd.port.options.mk>
+
+.if empty(PORT_OPTIONS:MX11)
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tkinter>=2.7.1:${PORTSDIR}/x11-toolkits/py-tkinter
.endif
@@ -45,7 +47,7 @@ post-patch:
${WRKSRC}/libnamebench/util.py
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${INSTALL} -o ${DOCOWN} -g ${DOCGRP} -m 555 -d ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif