aboutsummaryrefslogtreecommitdiffstats
path: root/audio/akode-plugins-mpc/Makefile
blob: d77e08ce9e9fa126032ae55615c59350d792e918 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# New ports collection makefile for:    mpeglib_artsplug
# Date created:             July 09 2004
# Whom:                 Michael Nottebrock <lofi@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   akode-plugins-${PORTNAMESUFX}
PORTVERSION=    ${KDE_VERSION}
CATEGORIES= audio kde
MASTER_SITES=   ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
PKGNAMEPREFIX=  kdemultimedia-
DISTNAME=   kdemultimedia-${PORTVERSION}
DIST_SUBDIR=    KDE

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_//}

USE_KDELIBS_VER=3
PREFIX=     ${KDE_PREFIX}

USE_BZIP2=  yes
GNU_CONFIGURE=  yes
USE_GMAKE=  yes
WRKSRC=     ${WRKDIR}/kdemultimedia-${PORTVERSION}
INSTALLS_SHLIB= yes

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 "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.mk>