5a6ef308e0
- Pet portlint Approved by: maintainer Obtained from: NetBSD pkgsrc [1] [1] http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/audio/akode/patches/patch-ad?rev=1.2&content-type=text/x-cvsweb-markup
52 lines
1.2 KiB
Makefile
52 lines
1.2 KiB
Makefile
# New ports collection makefile for: mpeglib_artsplug
|
|
# Date created: Jan 14 2008
|
|
# Whom: Michael Nottebrock <lofi@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= akode
|
|
PORTVERSION= 2.0.2
|
|
PORTEPOCH= 1
|
|
CATEGORIES= audio kde
|
|
MASTER_SITES= ${MASTER_SITE_GENTOO}
|
|
MASTER_SITE_SUBDIR=distfiles
|
|
PKGNAMESUFFIX= -plugins-${PORTNAMESUFX}
|
|
DISTNAME= 30375-akode-${PORTVERSION}.tar.bz2
|
|
EXTRACT_SUFX= # none
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= FFMPEG decoder plugin for akode
|
|
|
|
LIB_DEPENDS= avcodec:${PORTSDIR}/multimedia/ffmpeg
|
|
|
|
CONFLICTS= kdemultimedia-3.[1-3]*
|
|
|
|
PLUGIN= ffmpeg_decoder
|
|
PORTNAMESUFX= ${PLUGIN:S/_sink//:S/_decoder//:S/src_//}
|
|
|
|
USE_AUTOTOOLS= libltdl
|
|
USE_AUTOTOOLS= libtool:22
|
|
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>
|