freebsd-ports/archivers/par2cmdline-tbb/Makefile
Thierry Thomas 2834d51011 Parity v2 Archive create/verify/recover
tbb version of the par2cmdline tool.

par2cmdline is a program for creating and using PAR2 files to detect
damage in data files and repair them if necessary. It can be used with
any kind of file. Par files are especially popular on Usenet.

WWW: http://chuchusoft.com/par2_tbb/

PR:		ports/120462
Submitted by:	Ganael Laplanche <ganael.laplanche at martymac.com>
2008-04-19 19:32:46 +00:00

38 lines
1.1 KiB
Makefile

# New ports collection makefile for: par2cmdline-tbb
# Whom: Ganael Laplanche <ganael.laplanche@martymac.com>
# Date created: 27 December 2007
#
# $FreeBSD$
#
PORTNAME= par2cmdline-tbb
PORTVERSION= 20080203
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 \
${NONEXISTENT}:${PORTSDIR}/devel/tbb:extract
USE_AUTOTOOLS= autoconf:261 automake:16
PORTDOCS= README
CONFLICTS= par2cmdline-[0-9]*
PLIST_FILES= bin/par2 bin/par2create bin/par2repair bin/par2verify
TBBWRKSRC= `(cd ${PORTSDIR}/devel/tbb && ${MAKE} -V WRKSRC)`
post-configure:
@${CP} ${TBBWRKSRC}/src/tbb/tbb_misc.h ${WRKSRC}/tbb_misc.h
@${REINPLACE_CMD} -e 's|#include "tbb/tbb_misc\.h"|#include "tbb_misc.h"|' ${WRKSRC}/par2cmdline.h
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>