41 lines
951 B
Makefile
41 lines
951 B
Makefile
# Created by: Ganael Laplanche <ganael.laplanche@martymac.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= par2cmdline-tbb
|
|
PORTVERSION= 20100203
|
|
PORTREVISION= 8
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= http://chuchusoft.com/par2_tbb/
|
|
DISTNAME= par2cmdline-0.4-tbb-${PORTVERSION}
|
|
|
|
MAINTAINER= martymac@FreeBSD.org
|
|
COMMENT= Tools for using Parity v2 Archive files (tbb version)
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= tbb:${PORTSDIR}/devel/tbb
|
|
|
|
NO_STAGE= yes
|
|
ONLY_FOR_ARCHS= i386 amd64 ia64
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib -pthread
|
|
USE_AUTOTOOLS= aclocal automake autoconf
|
|
AUTOMAKE_ARGS= --add-missing
|
|
|
|
PORTDOCS= README
|
|
CONFLICTS= par2cmdline-[0-9]*
|
|
PLIST_FILES= bin/par2 bin/par2create bin/par2repair bin/par2verify
|
|
|
|
post-extract:
|
|
@${CHMOD} u+x ${WRKSRC}/install-sh
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|