freebsd-ports/multimedia/libxspf/Makefile
Ed Schouten 0a44fa2a44 Add libxspf, which is basically the new version of libspiff.
Because this new version is incompatible with libxspf (big API rename),
keep libspiff in the tree. Applications still need some time to migrate
to libxspf.

This port is heavily based on the libspiff port. The only change is the
addition of pkg-config support.
2009-03-07 11:33:09 +00:00

35 lines
799 B
Makefile

# New ports collection makefile for: libxspf
# Date Created: 7 March 2009
# Whom: Ed Schouten <ed@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libxspf
PORTVERSION= 1.2.0
CATEGORIES= multimedia
MASTER_SITES= SF
MASTER_SITE_SUBDIR=libspiff
MAINTAINER= ed@FreeBSD.org
COMMENT= An XSPF parsing library
LIB_DEPENDS= expat.6:${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
USE_BZIP2= yes
USE_GNOME= pkgconfig
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
post-patch:
@${REINPLACE_CMD} 's|$$(libdir)/pkgconfig|$$(libdir)data/pkgconfig|' \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>