mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
0de5371cd9
downloads).
54 lines
1.2 KiB
Makefile
54 lines
1.2 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
|
|
PORTEPOCH= 1
|
|
CATEGORIES= audio kde
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL} \
|
|
http://www.kde-apps.org/content/
|
|
MASTER_SITE_SUBDIR=lofi
|
|
DISTNAME= 'download.php?content=30375'
|
|
EXTRACT_SUFX= # none
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= MPEG audio decoder plugin for akode
|
|
|
|
LIB_DEPENDS= mad:${PORTSDIR}/audio/libmad
|
|
|
|
CONFLICTS= kdemultimedia-3.[1-3]*
|
|
|
|
FETCH_CMD= /usr/bin/fetch
|
|
|
|
PLUGIN= mpeg_decoder
|
|
PORTNAMESUFX= ${PLUGIN:S/_sink//:S/_decoder//:S/src_//}
|
|
|
|
USE_AUTOTOOLS= libltdl
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_REINPLACE= yes
|
|
WRKSRC= ${WRKDIR}/akode-2.0
|
|
INSTALLS_SHLIB= yes
|
|
|
|
CONFIGURE_ARGS+=--with-extra-libs=${LOCALBASE}/lib \
|
|
--with-extra-includes=${LOCALBASE}/include
|
|
|
|
post-patch:
|
|
@${SETENV} TZ=UTC \
|
|
${TOUCH} -t 200511231529.06 ${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>
|