mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
40 lines
810 B
Makefile
40 lines
810 B
Makefile
# Created by: Jeff Burchell <toxic@doobie.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libpar2
|
|
PORTVERSION= 0.4
|
|
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
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s/-lstdc++//g" \
|
|
${WRKSRC}/Makefile.in \
|
|
${WRKSRC}/configure
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|