2008-08-17 08:48:21 +02:00
|
|
|
# New ports collection makefile for: libpar2
|
|
|
|
# Date created: 16 Aug 2008
|
|
|
|
# Whom: Jeff Burchell <toxic@doobie.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libpar2
|
|
|
|
PORTVERSION= 0.2
|
2010-05-10 08:04:30 +02:00
|
|
|
PORTREVISION= 3
|
2008-08-17 08:48:21 +02:00
|
|
|
CATEGORIES= archivers
|
2009-08-22 02:13:26 +02:00
|
|
|
MASTER_SITES= SF/parchive/${PORTNAME}/${PORTVERSION}
|
2008-08-17 08:48:21 +02:00
|
|
|
|
2008-08-18 07:44:11 +02:00
|
|
|
MAINTAINER= toxic@doobie.com
|
|
|
|
COMMENT= A library for manipulating par2 files, extracted from par2cmdline
|
2008-08-17 08:48:21 +02:00
|
|
|
|
2008-08-18 07:44:11 +02:00
|
|
|
LIB_DEPENDS= sigc-2.0:${PORTSDIR}/devel/libsigc++20
|
2008-08-17 08:48:21 +02:00
|
|
|
|
2008-08-18 07:44:11 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2008-08-17 08:48:21 +02:00
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2008-08-17 08:48:21 +02:00
|
|
|
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
2010-05-10 08:04:30 +02:00
|
|
|
OPTIONS= ENABLECANCEL "Enable graceful cancellation of repairs" On
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_ENABLECANCEL)
|
|
|
|
EXTRA_PATCHES+= ${FILESDIR}/xpatch-addcancel-par2repairer.cpp
|
|
|
|
.endif
|
|
|
|
|
2008-08-17 08:48:21 +02:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
2010-05-10 08:04:30 +02:00
|
|
|
.include <bsd.port.post.mk>
|