Sunpoet Po-Chuan Hsieh 2187205741 - Update to 20120622
- While I'm here, convert to new options framework

Changes:	http://savannah.gnu.org/forum/forum.php?forum_id=7280
PR:		ports/169374
Submitted by:	Chris Howey <howeyc@gmail.com> (maintainer)
2012-06-24 14:59:26 +00:00

41 lines
976 B
Makefile

# New ports collection makefile for: parallel
# Date created: 22 September 2010
# Whom: Chris Howey <howeyc@gmail.com>
#
# $FreeBSD$
#
PORTNAME= parallel
PORTVERSION= 20120622
CATEGORIES= sysutils
MASTER_SITES= GNU
MAINTAINER= howeyc@gmail.com
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}"
GNU_CONFIGURE= yes
USE_BZIP2= yes
USE_PERL5= yes
MAN1= parallel.1 sem.1 sql.1 niceload.1
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 empty(PORT_OPTIONS:MDOCS)
@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-docDATA||' ${WRKSRC}/src/Makefile.in
.endif
.include <bsd.port.mk>