blob: e9114bf45b69ff9d40c0c89cabf121d5529e72ed (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Created by: Jeff Burchell <toxic@doobie.com>
# $FreeBSD$
PORTNAME= libpar2
PORTVERSION= 0.3
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= sigc-2.0:${PORTSDIR}/devel/libsigc++20
GNU_CONFIGURE= yes
NO_STAGE= yes
FETCH_ARGS= -pRr
LDFLAGS+= -L${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include
USE_LDCONFIG= yes
USES= pkgconfig
.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} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>
|