blob: c95fbbb2f377d77ccc2c80fe32116d006be497c4 (
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
|
PORTNAME= libxspf
PORTVERSION= 1.2.0
PORTREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= SF/libspiff/Sources/${PORTVERSION}
MAINTAINER= ed@FreeBSD.org
COMMENT= XSPF parsing library
LIB_DEPENDS= libexpat.so:textproc/expat2
# We need 0.7.5, which uses pkg-config
BUILD_DEPENDS= uriparser>=0.7.5:net/uriparser
RUN_DEPENDS= uriparser>=0.7.5:net/uriparser
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-expat=${LOCALBASE} --disable-test
USES= libtool pkgconfig tar:bzip2
USE_LDCONFIG= yes
LIBS+= -L${LOCALBASE}/lib -luriparser
post-patch:
@${REINPLACE_CMD} 's|$$(libdir)/pkgconfig|$$(libdir)data/pkgconfig|' \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>
|