aboutsummaryrefslogtreecommitdiffstats
path: root/audio/bmp-musepack/Makefile
blob: 5168af1c3a531d676360d4c7068eaa96ca01df74 (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
# New ports collection makefile for:    bmp-musepack
# Date Created:     12 February 2007
# Whom:         Zhen REN <bg1tpt@gmail.com>
#
# $FreeBSD$

PORTNAME=   musepack
PORTVERSION=    1.2
PORTREVISION=   7
CATEGORIES= audio
MASTER_SITES=   http://files.musepack.net/linux/plugins/
PKGNAMEPREFIX=  bmp-
DISTNAME=   ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}

MAINTAINER= bg1tpt@gmail.com
COMMENT=    Musepack decoder for beep-media-player

LIB_DEPENDS=    beep.2:${PORTSDIR}/multimedia/beep-media-player \
        mpcdec:${PORTSDIR}/audio/libmpcdec \
        tag:${PORTSDIR}/audio/taglib

USE_BZIP2=  yes
USE_GMAKE=  yes
CPPFLAGS+=  "-I${LOCALBASE}/include"
GNU_CONFIGURE=  yes
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
USE_AUTOTOOLS=  autoconf:262 libtool:22
PLUGDIR=    lib/bmp/Input
PLUGFILE=   libbmp-mpc.so
PLIST_FILES=    ${PLUGDIR}/${PLUGFILE}

do-install:
    ${MKDIR} ${PREFIX}/${PLUGDIR}
    ${INSTALL_PROGRAM} ${WRKSRC}/src/.libs/libmpc.so ${PREFIX}/${PLUGDIR}/${PLUGFILE}

.include <bsd.port.mk>