aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2012-04-01 20:06:07 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2012-04-01 20:06:07 +0000
commit3102ecba811d8e3625145a52387bd3811c33ccad (patch)
treea5436cdafee6546bcdbb0422363f3beae1209724 /ports-mgmt
parente4f83f23b1dfd3dcc0bfca1c54c1c42dd18eeb75 (diff)
downloadports-3102ecba811d8e3625145a52387bd3811c33ccad.tar.gz
ports-3102ecba811d8e3625145a52387bd3811c33ccad.zip
Notes
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/porttools/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/ports-mgmt/porttools/Makefile b/ports-mgmt/porttools/Makefile
index cc14e386a21b..62e68b8fbfd5 100644
--- a/ports-mgmt/porttools/Makefile
+++ b/ports-mgmt/porttools/Makefile
@@ -7,7 +7,7 @@
PORTNAME= porttools
PORTVERSION= 0.99
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= ports-mgmt
MASTER_SITES= SF
@@ -18,10 +18,6 @@ RUN_DEPENDS= portlint:${PORTSDIR}/ports-mgmt/portlint \
cdiff:${PORTSDIR}/textproc/cdiff \
sudo:${PORTSDIR}/security/sudo
-.if !defined(WITHOUT_NEWFILE)
-RUN_DEPENDS+= newfile:${PORTSDIR}/devel/newfile
-.endif
-
.if !defined(NOPORTDOCS)
INSTALL_TARGET= install install-docs
.endif
@@ -40,4 +36,12 @@ MAKE_ENV+= PORTEPOCH="${PORTEPOCH}"
MAN1= port.1
MAN5= porttools.5
+OPTIONS= NEWFILE "Enable newfile support" on
+
+.include <bsd.port.options.mk>
+
+.if !defined(WITHOUT_NEWFILE)
+RUN_DEPENDS+= newfile:${PORTSDIR}/devel/newfile
+.endif
+
.include <bsd.port.mk>