2005-03-20 19:17:55 +01:00
|
|
|
# New ports collection makefile for: mpeglib_artsplug
|
|
|
|
# Date created: July 09 2004
|
|
|
|
# Whom: Michael Nottebrock <lofi@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2009-12-18 12:08:30 +01:00
|
|
|
PORTNAME= akode-plugins-${PORTNAMESUFX}
|
|
|
|
PORTVERSION= 2.0.2
|
2013-06-09 21:30:58 +02:00
|
|
|
PORTREVISION= 5
|
2009-12-18 12:08:30 +01:00
|
|
|
PORTEPOCH= 1
|
|
|
|
CATEGORIES= audio kde
|
2011-07-13 23:13:52 +02:00
|
|
|
MASTER_SITES= http://www.kde-apps.org/CONTENT/content-files/ \
|
|
|
|
${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= laszlof
|
|
|
|
DISTNAME= 30375-akode-${PORTVERSION}
|
2005-03-20 19:17:55 +01:00
|
|
|
|
2011-07-13 23:13:52 +02:00
|
|
|
MAINTAINER= swhetzel@gmail.com
|
2005-03-20 19:17:55 +01:00
|
|
|
COMMENT= FLAC/Speex/Vorbis decoder plugin for akode
|
2011-07-13 23:13:52 +02:00
|
|
|
LICENSE= LGPL20
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2005-03-20 19:17:55 +01:00
|
|
|
|
|
|
|
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_//}
|
|
|
|
|
2006-01-08 20:32:36 +01:00
|
|
|
USE_AUTOTOOLS= libltdl
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2006-09-17 21:59:22 +02:00
|
|
|
USE_BZIP2= yes
|
2012-10-10 00:12:13 +02:00
|
|
|
USE_GCC= any
|
2005-03-20 19:17:55 +01:00
|
|
|
USE_GMAKE= yes
|
2006-09-17 21:59:22 +02:00
|
|
|
WRKSRC= ${WRKDIR}/akode-${PORTVERSION}
|
2007-03-13 20:13:51 +01:00
|
|
|
USE_LDCONFIG= yes
|
2005-03-20 19:17:55 +01:00
|
|
|
|
2009-12-18 12:08:30 +01:00
|
|
|
PLIST_FILES= lib/libakode_xiph_decoder.a \
|
|
|
|
lib/libakode_xiph_decoder.la \
|
|
|
|
lib/libakode_xiph_decoder.so
|
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
LDFLAGS+= -L${WRKSRC}/akode/lib/.libs
|
2006-01-08 20:32:36 +01:00
|
|
|
CONFIGURE_ARGS+=--with-extra-libs=${LOCALBASE}/lib \
|
|
|
|
--with-extra-includes=${LOCALBASE}/include
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${SETENV} TZ=UTC \
|
2006-09-17 21:59:22 +02:00
|
|
|
${TOUCH} -t 200607222217.01 ${WRKSRC}/akode/lib/akode_export.h.in
|
2006-01-08 20:32:36 +01:00
|
|
|
|
2005-03-20 19:17:55 +01:00
|
|
|
pre-configure:
|
|
|
|
@${REINPLACE_CMD} -e 's@%%SUBDIRS%%@${PLUGIN}@g' ${WRKSRC}/akode/plugins/Makefile.in
|
|
|
|
|
|
|
|
do-build:
|
2006-01-08 20:32:36 +01:00
|
|
|
cd ${WRKSRC}/akode && ${GMAKE}
|
2005-03-20 19:17:55 +01:00
|
|
|
|
|
|
|
do-install:
|
2006-01-08 20:32:36 +01:00
|
|
|
cd ${WRKSRC}/akode/plugins/${PLUGIN} && ${GMAKE} install
|
2005-03-20 19:17:55 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|