aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/libpar2/Makefile
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-06-05 19:15:06 +0800
committerwg <wg@FreeBSD.org>2013-06-05 19:15:06 +0800
commit32593878d470671235f4116d1c8aa079e9e6201d (patch)
tree77a0e7ef9ed295c6e3576fb2808b90c0305a42d7 /archivers/libpar2/Makefile
parentf3ce2003f1ac1a2dcf0c66422189f79e70c6f716 (diff)
downloadfreebsd-ports-gnome-32593878d470671235f4116d1c8aa079e9e6201d.tar.gz
freebsd-ports-gnome-32593878d470671235f4116d1c8aa079e9e6201d.tar.zst
freebsd-ports-gnome-32593878d470671235f4116d1c8aa079e9e6201d.zip
- Update to 0.3 [1]
- Remove USE_GCC (builds with clang) [1] - Add LICENSE (GPLv2) This is a new upstream, the original is dead. PR: ports/179029 Submitted by: Herbert J. Skuhra <h.skuhra@gmail.com> Approved by: culot (mentor), maintainer
Diffstat (limited to 'archivers/libpar2/Makefile')
-rw-r--r--archivers/libpar2/Makefile17
1 files changed, 5 insertions, 12 deletions
diff --git a/archivers/libpar2/Makefile b/archivers/libpar2/Makefile
index 86f51a4429d4..a642827c6fb8 100644
--- a/archivers/libpar2/Makefile
+++ b/archivers/libpar2/Makefile
@@ -2,10 +2,11 @@
# $FreeBSD$
PORTNAME= libpar2
-PORTVERSION= 0.2
-PORTREVISION= 4
+PORTVERSION= 0.3
CATEGORIES= archivers
-MASTER_SITES= SF/parchive/${PORTNAME}/${PORTVERSION}
+MASTER_SITES= http://launchpad.net/${PORTNAME}/trunk/${PORTVERSION}/+download/
+
+LICENSE= GPLv2
MAINTAINER= toxic@doobie.com
COMMENT= Library for manipulating PAR2 files, extracted from par2cmdline
@@ -14,23 +15,15 @@ LIB_DEPENDS= sigc-2.0:${PORTSDIR}/devel/libsigc++20
GNU_CONFIGURE= yes
+FETCH_ARGS= -pRr
LDFLAGS+= -L${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include
-USE_GCC= any
USE_LDCONFIG= yes
USES= pkgconfig
-OPTIONS_DEFINE= ENABLECANCEL
-OPTIONS_DEFAULT= ENABLECANCEL
-ENABLECANCEL_DESC= Enable graceful cancellation of repairs
-
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MENABLECANCEL}
-EXTRA_PATCHES= ${FILESDIR}/xpatch-addcancel-par2repairer.cpp
-.endif
-
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}