freebsd-ports/archivers/libpar2/Makefile
Adam Weinberger 41fcfb64f9 Reduce unnecessary bsd.port.options.mk inclusions by using OPTIONS helpers.
For liborange, reverse the logic, as I'm pretty sure the OPTIONS were being
used to disable the selected options.

Approved by:	portmgr (blanket)
2014-07-03 19:06:07 +00:00

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>