aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/parallel/Makefile
blob: d2758adfee86a4e15f5f4e261d85e28a4125a124 (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
# New ports collection makefile for:   parallel
# Date created:        22 September 2010
# Whom:                Chris Howey <howeyc@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   parallel
PORTVERSION=    20120122
CATEGORIES= sysutils
MASTER_SITES=   GNU

MAINTAINER= howeyc@gmail.com
COMMENT=    GNU parallel is a shell tool for executing jobs in parallel

LICENSE=    GPLv3

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

post-patch:
    @${REINPLACE_CMD} -e '1 s|/usr/bin/perl|${PERL}|' ${WRKSRC}/src/parallel
.if defined(NOPORTDOCS)
    @${REINPLACE_CMD} -e '/^install-data-am:/ s|install-docDATA||' ${WRKSRC}/src/Makefile.in
.endif

.include <bsd.port.mk>