41fcfb64f9
For liborange, reverse the logic, as I'm pretty sure the OPTIONS were being used to disable the selected options. Approved by: portmgr (blanket)
36 lines
769 B
Makefile
36 lines
769 B
Makefile
# Created by: Jeff Burchell <toxic@doobie.com>
|
|
# $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:${PORTSDIR}/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 <bsd.port.mk>
|