freebsd-ports/audio/xmms-mac/Makefile
2014-01-10 02:45:44 +00:00

38 lines
1.2 KiB
Makefile

# Created by: <arundel@h3c.de>
# $FreeBSD$
PORTNAME= mac
PORTVERSION= 0.3.1
PORTREVISION= 8
CATEGORIES= audio
MASTER_SITES= http://repository.slacky.eu/slackware-12.2/multimedia/${PKGNAMEPREFIX}${PORTNAME}/${PORTVERSION}/src/ \
http://ftp.hosteurope.de/mirror/ftp.frugalware.org/pub/frugalware/frugalware-testing/source/xlib-extra/${PKGNAMEPREFIX}${PORTNAME}/ \
http://ftp.yz.yamagata-u.ac.jp/pub/linux/plamo/Plamo-src/contrib/Sound/MAC/ \
http://www10.frugalware.org/pub/linux/frugalware/frugalware-current/source/xlib-extra/${PKGNAMEPREFIX}${PORTNAME}/ \
CENKES
PKGNAMEPREFIX= xmms-
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Native Monkey Audio Codec plugin for the XMMS1 Multimedia Player
LIB_DEPENDS= libxmms.so:${PORTSDIR}/multimedia/xmms \
libmac.so:${PORTSDIR}/audio/mac
USES= gmake
NO_STAGE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= CPPFLAGS="${CPPFLAGS}"
USE_AUTOTOOLS= autoconf
CPPFLAGS+= "-I${LOCALBASE}/include"
USE_LDCONFIG= yes
PLIST_FILES= lib/xmms/Input/libxmms-mac.so
post-patch:
@${REINPLACE_CMD} -e '/objformat=/s|=.*|=elf|' ${WRKSRC}/aclocal.m4
do-install:
${INSTALL_DATA} ${WRKSRC}/src/.libs/libxmms-mac.so ${PREFIX}/lib/xmms/Input
.include <bsd.port.mk>