freebsd-ports/sysutils/parallel/Makefile
Sunpoet Po-Chuan Hsieh 5f4d19b98f - Update to 20130922
- While I'm here:
  - Sort MAN1, PLIST_FILES and PORTDOCS
  - Remove unnecessary shebang line patch

Changes:	https://savannah.gnu.org/forum/forum.php?forum_id=7723
PR:		ports/182302
Submitted by:	Chris Howey <howeyc@gmail.com> (maintainer)
2013-09-22 20:01:12 +00:00

43 lines
1 KiB
Makefile

# Created by: Chris Howey <howeyc@gmail.com>
# $FreeBSD$
PORTNAME= parallel
PORTVERSION= 20130922
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
NO_STAGE= yes
USE_BZIP2= yes
USES= perl5
MAN1= niceload.1 parallel.1 parallel_tutorial.1 sem.1 sql.1
PLIST_FILES= bin/niceload bin/parallel bin/sem bin/sql
PORTDOCS= niceload.html niceload.pdf niceload.texi \
parallel.html parallel.pdf parallel.texi \
parallel_tutorial.html parallel_tutorial.pdf parallel_tutorial.texi \
sem.html sem.pdf sem.texi \
sql.html sql.pdf sql.texi
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
BUILD_DEPENDS+= ${LOCALBASE}/bin/pod2texi:${PORTSDIR}/print/texinfo
.endif
post-patch:
.if empty(PORT_OPTIONS:MDOCS)
@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-docDATA||' ${WRKSRC}/src/Makefile.in
.endif
.include <bsd.port.mk>