aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/par2cmdline-tbb/Makefile
blob: 488fe036cd7ea2d4a3eb9d89398d2b31cb677ba4 (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
# New ports collection makefile for:    par2cmdline-tbb
# Whom:                                 Ganael Laplanche <ganael.laplanche@martymac.com>
# Date created:                         27 December 2007
#
# $FreeBSD$
#

PORTNAME=   par2cmdline-tbb
PORTVERSION=    20100203
CATEGORIES= archivers
MASTER_SITES=   http://chuchusoft.com/par2_tbb/
DISTNAME=   par2cmdline-0.4-tbb-${PORTVERSION}

MAINTAINER= ganael.laplanche@martymac.com
COMMENT=    Tools for using Parity v2 Archive files (tbb version)

BUILD_DEPENDS=  ${LOCALBASE}/lib/libtbb.so:${PORTSDIR}/devel/tbb

ONLY_FOR_ARCHS= i386 amd64 ia64
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
USE_AUTOTOOLS=  aclocal:110 automake:110 autoconf:262
USE_GCC=    4.2+

PORTDOCS=   README
CONFLICTS=  par2cmdline-[0-9]*
PLIST_FILES=    bin/par2 bin/par2create bin/par2repair bin/par2verify

post-extract:
    @${CHMOD} u+x ${WRKSRC}/install-sh

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>