freebsd-ports/multimedia/libxspf/Makefile
Dmitry Marakasov b9e64cf2d8 - Switch to USES=libtool, drop .la files
- Convert USE_BZIP2 to USES
- Use new LIB_DEPENDS syntax

Approved by:	portmgr blanket
2014-07-03 12:04:46 +00:00

31 lines
775 B
Makefile

# Created by: Ed Schouten <ed@FreeBSD.org>
# $FreeBSD$
PORTNAME= libxspf
PORTVERSION= 1.2.0
PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= SF/libspiff/Sources/${PORTVERSION}
MAINTAINER= ed@FreeBSD.org
COMMENT= An XSPF parsing library
LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
# We need 0.7.5, which uses pkg-config
BUILD_DEPENDS= uriparser>=0.7.5:${PORTSDIR}/net/uriparser
RUN_DEPENDS= uriparser>=0.7.5:${PORTSDIR}/net/uriparser
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-expat=${LOCALBASE} --disable-test
USES= libtool pkgconfig tar:bzip2
GNU_CONFIGURE= yes
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>