aboutsummaryrefslogtreecommitdiff
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
parent29941ae9c06fab7349d3560c61754587ce32e894 (diff)
downloadports-21872057414ec0fe4e4dec43242d3756901f2aba.tar.gz
ports-21872057414ec0fe4e4dec43242d3756901f2aba.zip
Notes
-rw-r--r--sysutils/parallel/Makefile8
-rw-r--r--sysutils/parallel/distinfo4
2 files changed, 8 insertions, 4 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
diff --git a/sysutils/parallel/distinfo b/sysutils/parallel/distinfo
index 879b5489c305..4a6cb2a6b788 100644
--- a/sysutils/parallel/distinfo
+++ b/sysutils/parallel/distinfo
@@ -1,2 +1,2 @@
-SHA256 (parallel-20120522.tar.bz2) = 697cd39b089d5b302fe8965650c5c6d9e8a6653f59e90a6c1a297aba0df31471
-SIZE (parallel-20120522.tar.bz2) = 226625
+SHA256 (parallel-20120622.tar.bz2) = bfdbb4a66835eacce2bffde23f5e0f12b4e99ced5e348b5f69b7aa97d0123869
+SIZE (parallel-20120622.tar.bz2) = 228881