aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2008-04-20 03:32:46 +0800
committerthierry <thierry@FreeBSD.org>2008-04-20 03:32:46 +0800
commit0325a8c3561b0c1b515174c16797968149bfd876 (patch)
tree073962d0845367c0682c01dc4bddb13c43e6472e /archivers
parent79bd65cb50baf6d6b2cb9fa1adb932af82c4bd5b (diff)
downloadfreebsd-ports-gnome-0325a8c3561b0c1b515174c16797968149bfd876.tar.gz
freebsd-ports-gnome-0325a8c3561b0c1b515174c16797968149bfd876.tar.zst
freebsd-ports-gnome-0325a8c3561b0c1b515174c16797968149bfd876.zip
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>
Diffstat (limited to 'archivers')
-rw-r--r--archivers/Makefile1
-rw-r--r--archivers/par2cmdline-tbb/Makefile38
-rw-r--r--archivers/par2cmdline-tbb/distinfo3
-rw-r--r--archivers/par2cmdline-tbb/pkg-descr9
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/