2012-11-23 13:43:56 +01:00
|
|
|
# Created by: Jeff Burchell <toxic@doobie.com>
|
2008-08-17 08:48:21 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libpar2
|
2013-11-18 00:12:03 +01:00
|
|
|
PORTVERSION= 0.4
|
2014-06-05 15:04:49 +02:00
|
|
|
PORTREVISION= 1
|
2008-08-17 08:48:21 +02:00
|
|
|
CATEGORIES= archivers
|
2013-06-05 13:15:06 +02:00
|
|
|
MASTER_SITES= http://launchpad.net/${PORTNAME}/trunk/${PORTVERSION}/+download/
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
2008-08-17 08:48:21 +02:00
|
|
|
|
2008-08-18 07:44:11 +02:00
|
|
|
MAINTAINER= toxic@doobie.com
|
2012-12-18 08:57:31 +01:00
|
|
|
COMMENT= Library for manipulating PAR2 files, extracted from par2cmdline
|
2008-08-17 08:48:21 +02:00
|
|
|
|
2013-11-18 00:12:03 +01:00
|
|
|
LIB_DEPENDS= libsigc-2.0.so:${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
|
2014-06-05 15:04:49 +02:00
|
|
|
USES= pkgconfig libtool
|
2008-08-17 08:48:21 +02:00
|
|
|
|
2014-02-21 14:34:56 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2012-11-23 13:43:56 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2010-05-10 08:04:30 +02:00
|
|
|
|
2013-09-04 15:47:08 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e "s/-lstdc++//g" \
|
|
|
|
${WRKSRC}/Makefile.in \
|
|
|
|
${WRKSRC}/configure
|
|
|
|
|
2008-08-17 08:48:21 +02:00
|
|
|
post-install:
|
2012-11-23 13:43:56 +01:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2013-11-18 00:12:03 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
2008-08-17 08:48:21 +02:00
|
|
|
.endif
|
|
|
|
|
2012-11-23 13:43:56 +01:00
|
|
|
.include <bsd.port.mk>
|