diff options
author | Jason Helfman <jgh@FreeBSD.org> | 2012-06-25 23:09:08 +0000 |
---|---|---|
committer | Jason Helfman <jgh@FreeBSD.org> | 2012-06-25 23:09:08 +0000 |
commit | 5e8fb43b19c6ea1726680267c1e7091533063e88 (patch) | |
tree | a7adc256371617763d3136804fa3c39062035878 /dns/py-namebench | |
parent | 3351bebb15482cb317c08ba34a2f859a289cdfc1 (diff) |
Notes
Diffstat (limited to 'dns/py-namebench')
-rw-r--r-- | dns/py-namebench/Makefile | 6 |
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 |