1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/audio/akode-plugins-xiph/Makefile
Christian Weisgerber fc6f899691 Update to FLAC 1.2.1. This version includes two and a half years
worth of changes and an altered API.

Bump the revision of all ports that depend on libFLAC and adapt to
the new API where necessary.  Some patches from Debian, Gentoo,
OpenBSD, and upstream repositories.

PR:	119476
2008-04-07 20:37:23 +00:00

56 lines
1.3 KiB
Makefile

# New ports collection makefile for: mpeglib_artsplug
# Date created: July 09 2004
# Whom: Michael Nottebrock <lofi@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= akode-plugins-${PORTNAMESUFX}
PORTVERSION= 2.0.2
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= audio kde
MASTER_SITES= ${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR=distfiles
DISTNAME= 30375-akode-${PORTVERSION}.tar.bz2
EXTRACT_SUFX= # none
MAINTAINER= kde@FreeBSD.org
COMMENT= FLAC/Speex/Vorbis decoder plugin for akode
LIB_DEPENDS= FLAC:${PORTSDIR}/audio/flac \
ogg:${PORTSDIR}/audio/libogg \
speex:${PORTSDIR}/audio/speex \
vorbis:${PORTSDIR}/audio/libvorbis
CONFLICTS= kdemultimedia-3.[1-3]*
PLUGIN= xiph_decoder
PORTNAMESUFX= ${PLUGIN:S/_sink//:S/_decoder//:S/src_//}
USE_AUTOTOOLS= libltdl
USE_AUTOTOOLS= libtool:15
USE_BZIP2= yes
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/akode-${PORTVERSION}
USE_LDCONFIG= yes
CONFIGURE_ENV+= LDFLAGS=-L${WRKSRC}/akode/lib/.libs
CONFIGURE_ARGS+=--with-extra-libs=${LOCALBASE}/lib \
--with-extra-includes=${LOCALBASE}/include
post-patch:
@${SETENV} TZ=UTC \
${TOUCH} -t 200607222217.01 ${WRKSRC}/akode/lib/akode_export.h.in
pre-configure:
@${REINPLACE_CMD} -e 's@%%SUBDIRS%%@${PLUGIN}@g' ${WRKSRC}/akode/plugins/Makefile.in
do-build:
cd ${WRKSRC}/akode && ${GMAKE}
do-install:
cd ${WRKSRC}/akode/plugins/${PLUGIN} && ${GMAKE} install
.include <bsd.port.mk>