aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/parallel/Makefile
blob: 42285e9448ff6e1785957b16d68b505f83742486 (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
42
# Created by: Chris Howey <howeyc@gmail.com>
# $FreeBSD$

PORTNAME=   parallel
PORTVERSION=    20131122
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

PLIST_FILES=    bin/niceload bin/parallel bin/sem bin/sql \
        man/man1/niceload.1.gz man/man1/parallel.1.gz \
        man/man1/parallel_tutorial.1.gz man/man1/sem.1.gz man/man1/sql.1.gz
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

DOCS_BUILD_DEPENDS= ${LOCALBASE}/bin/pod2texi:${PORTSDIR}/print/texinfo

.include <bsd.port.options.mk>

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>