diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2008-04-19 19:32:46 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2008-04-19 19:32:46 +0000 |
commit | 2834d51011564319fe4920c466c71372d6e41515 (patch) | |
tree | 84d258b9fad179483d952f99d935da79e7381345 | |
parent | 36aceb6f3d126a9072bc4967cbc81dff0745410e (diff) | |
download | ports-2834d51011564319fe4920c466c71372d6e41515.tar.gz ports-2834d51011564319fe4920c466c71372d6e41515.zip |
Notes
-rw-r--r-- | archivers/Makefile | 1 | ||||
-rw-r--r-- | archivers/par2cmdline-tbb/Makefile | 38 | ||||
-rw-r--r-- | archivers/par2cmdline-tbb/distinfo | 3 | ||||
-rw-r--r-- | archivers/par2cmdline-tbb/pkg-descr | 9 |
4 files changed, 51 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile index 1e0081c55a01..6de14d864715 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -95,6 +95,7 @@ SUBDIR += p7zip SUBDIR += paq SUBDIR += par2cmdline + SUBDIR += par2cmdline-tbb SUBDIR += parchive SUBDIR += pbzip2 SUBDIR += pear-File_Archive diff --git a/archivers/par2cmdline-tbb/Makefile b/archivers/par2cmdline-tbb/Makefile new file mode 100644 index 000000000000..c13cb4934025 --- /dev/null +++ b/archivers/par2cmdline-tbb/Makefile @@ -0,0 +1,38 @@ +# 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> diff --git a/archivers/par2cmdline-tbb/distinfo b/archivers/par2cmdline-tbb/distinfo new file mode 100644 index 000000000000..ba6ac6511f7c --- /dev/null +++ b/archivers/par2cmdline-tbb/distinfo @@ -0,0 +1,3 @@ +MD5 (par2cmdline-0.4-tbb-20080203.tar.gz) = 1b6d98d5ee80c968aefd6424c8dedda9 +SHA256 (par2cmdline-0.4-tbb-20080203.tar.gz) = e6093b729cd78e16e60ebc349fcc6fba12a824ff60040cbf21aae1ddec978f26 +SIZE (par2cmdline-0.4-tbb-20080203.tar.gz) = 284762 diff --git a/archivers/par2cmdline-tbb/pkg-descr b/archivers/par2cmdline-tbb/pkg-descr new file mode 100644 index 000000000000..abcf524c79d0 --- /dev/null +++ b/archivers/par2cmdline-tbb/pkg-descr @@ -0,0 +1,9 @@ +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/ |