1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/audio/akode-plugins-mpc/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +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
PORTEPOCH= 1
CATEGORIES= audio kde
MASTER_SITES= http://www.kde-apps.org/CONTENT/content-files/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= laszlof
DISTNAME= 30375-akode-${PORTVERSION}
MAINTAINER= swhetzel@gmail.com
COMMENT= Musepack decoder plugin for akode
LICENSE= LGPL20
LICENSE_FILE= ${WRKSRC}/COPYING
CONFLICTS= kdemultimedia-3.[1-3]*
PLUGIN= mpc_decoder
PORTNAMESUFX= ${PLUGIN:S/_sink//:S/_decoder//:S/src_//}
USE_AUTOTOOLS= libltdl
USE_AUTOTOOLS= libtool
USE_BZIP2= yes
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/akode-${PORTVERSION}
USE_LDCONFIG= yes
PLIST_FILES= lib/libakode_mpc_decoder.a \
lib/libakode_mpc_decoder.la \
lib/libakode_mpc_decoder.so
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>