aboutsummaryrefslogtreecommitdiffstats
path: root/audio/bmp-mac/Makefile
blob: 4f657a273c0b3dd09f50e634ecc776c75f26ed98 (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
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$

PORTNAME=   mac
PORTVERSION=    0.1.1
PORTREVISION=   9
CATEGORIES= audio
MASTER_SITES=   CENKES
PKGNAMEPREFIX=  bmp-
DISTNAME=   ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Monkey's Audio Codec non-win32 port

LIB_DEPENDS=    beep.2:${PORTSDIR}/multimedia/beep-media-player \
        mac.2:${PORTSDIR}/audio/mac

USES=       gmake
GNU_CONFIGURE=  yes
USE_AUTOTOOLS=  autoconf libtool
CPPFLAGS+=  "-I${LOCALBASE}/include"
PLUGDIR=    lib/bmp/Input
PLUGFILE=   lib${PKGNAMEPREFIX}${PORTNAME}.so
PLIST_FILES=    ${PLUGDIR}/${PLUGFILE}

post-patch:
    @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
        's|-D.*_DISABLE_DEPRECATED||g'

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

.include <bsd.port.mk>