aboutsummaryrefslogtreecommitdiff
path: root/sysutils/parallel/Makefile
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-06-24 14:59:26 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-06-24 14:59:26 +0000
commit21872057414ec0fe4e4dec43242d3756901f2aba (patch)
tree7602d00e07d85df46070880eb7fa5b59f79080bc /sysutils/parallel/Makefile
parent29941ae9c06fab7349d3560c61754587ce32e894 (diff)
Notes
Diffstat (limited to 'sysutils/parallel/Makefile')
-rw-r--r--sysutils/parallel/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/sysutils/parallel/Makefile b/sysutils/parallel/Makefile
index a1781580980d..2717ea16cf70 100644
--- a/sysutils/parallel/Makefile
+++ b/sysutils/parallel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= parallel
-PORTVERSION= 20120522
+PORTVERSION= 20120622
CATEGORIES= sysutils
MASTER_SITES= GNU
@@ -15,6 +15,8 @@ COMMENT= GNU parallel is a shell tool for executing jobs in parallel
LICENSE= GPLv3
+OPTIONS_DEFINE= DOCS
+
CONFLICTS= moreutils-parallel-[0-9]*
CONFIGURE_ARGS= --docdir="${DOCSDIR}"
@@ -27,9 +29,11 @@ PLIST_FILES= bin/parallel bin/sem bin/sql bin/niceload
PORTDOCS= parallel.html sem.html sql.html niceload.html \
parallel.texi sem.texi sql.texi niceload.texi
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e '1 s|/usr/bin/perl|${PERL}|' ${WRKSRC}/src/parallel
-.if defined(NOPORTDOCS)
+.if empty(PORT_OPTIONS:MDOCS)
@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-docDATA||' ${WRKSRC}/src/Makefile.in
.endif