# Created by: Jeff Burchell # $FreeBSD$ PORTNAME= libpar2 PORTVERSION= 0.4 PORTREVISION= 1 CATEGORIES= archivers MASTER_SITES= http://launchpad.net/${PORTNAME}/trunk/${PORTVERSION}/+download/ LICENSE= GPLv2 MAINTAINER= toxic@doobie.com COMMENT= Library for manipulating PAR2 files, extracted from par2cmdline LIB_DEPENDS= libsigc-2.0.so:devel/libsigc++20 GNU_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib CPPFLAGS+= -I${LOCALBASE}/include USE_LDCONFIG= yes USES= pkgconfig libtool OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e "s/-lstdc++//g" \ ${WRKSRC}/Makefile.in \ ${WRKSRC}/configure post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include