freebsd-ports/audio/bmp-mac/Makefile
Baptiste Daroussin 3a207b3059 Support staging
Use modern lib_depends
2013-11-24 18:57:50 +00:00

34 lines
901 B
Makefile

# 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= libbeep.so:${PORTSDIR}/multimedia/beep-media-player \
libmac.so:${PORTSDIR}/audio/mac
USES= gmake pkgconfig
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} ${STAGEDIR}${PREFIX}/${PLUGDIR}
${INSTALL_LIB} ${WRKSRC}/src/.libs/${PLUGFILE} ${STAGEDIR}${PREFIX}/${PLUGDIR}/
.include <bsd.port.mk>