blob: 339c09e0ee63d3fdf4c40479d5c749cc544c73ca (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Created by: Chris Howey <howeyc@gmail.com>
# $FreeBSD$
PORTNAME= parallel
PORTVERSION= 20130822
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}"
USES= perl5
GNU_CONFIGURE= yes
USE_BZIP2= yes
MAN1= parallel.1 parallel_tutorial.1 sem.1 sql.1 niceload.1
PLIST_FILES= bin/parallel bin/sem bin/sql bin/niceload
PORTDOCS= parallel.html parallel_tutorial.html sem.html sql.html niceload.html \
parallel.texi parallel_tutorial.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>
|