freebsd-ports/sysutils/parallel/Makefile
Frederic Culot c62a282f0f - Update to 20130722
Changes:	https://savannah.gnu.org/forum/forum.php?forum_id=7656
PR:		ports/180763
Submitted by:	Chris Howey <howeyc@gmail.com> (maintainer)
2013-07-23 13:51:20 +00:00

40 lines
941 B
Makefile

# Created by: Chris Howey <howeyc@gmail.com>
# $FreeBSD$
PORTNAME= parallel
PORTVERSION= 20130722
CATEGORIES= sysutils
MASTER_SITES= GNU
MAINTAINER= howeyc@gmail.com
COMMENT= 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>
.if ${PORT_OPTIONS:MDOCS}
BUILD_DEPENDS+= pod2texi:${PORTSDIR}/print/texinfo
.endif
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>