aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/libxspf/Makefile
blob: f1f9ae05132178d0d91c0cf6c41455f5cd89c04a (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
# 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/libspiff/Sources/${PORTVERSION}

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:22
USE_LDCONFIG=   yes

post-patch:
    @${REINPLACE_CMD} 's|$$(libdir)/pkgconfig|$$(libdir)data/pkgconfig|' \
        ${WRKSRC}/Makefile.in

.include <bsd.port.mk>