freebsd-ports/audio/akode-plugins-mpc/Makefile

51 lines
1.2 KiB
Makefile
Raw Normal View History

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$
#
PORTNAME= akode-plugins-${PORTNAMESUFX}
2008-03-13 18:40:59 +01:00
PORTVERSION= 2.0.2
PORTEPOCH= 1
CATEGORIES= audio kde
MASTER_SITES= ${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR=distfiles
DISTNAME= 30375-akode-${PORTVERSION}.tar.bz2
2006-01-08 20:32:36 +01:00
EXTRACT_SUFX= # none
2005-03-20 19:17:55 +01:00
MAINTAINER= kde@FreeBSD.org
COMMENT= Musepack decoder plugin for akode
CONFLICTS= kdemultimedia-3.[1-3]*
PLUGIN= mpc_decoder
PORTNAMESUFX= ${PLUGIN:S/_sink//:S/_decoder//:S/src_//}
2006-01-08 20:32:36 +01:00
USE_AUTOTOOLS= libltdl
2006-03-30 22:30:29 +02:00
USE_AUTOTOOLS= libtool:15
USE_BZIP2= yes
2005-03-20 19:17:55 +01:00
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/akode-${PORTVERSION}
2007-03-13 20:13:51 +01:00
USE_LDCONFIG= yes
2005-03-20 19:17:55 +01:00
2006-03-30 22:30:29 +02:00
CONFIGURE_ENV+= 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 \
${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>