freebsd-ports/audio/xmms-a52dec/Makefile
Bryan Drewery 6910bf819a - Please welcome back Chris Petrik as maintainer of
these ports [1]
- Trim headers
- Remove indefinite article from COMMENT
- Convert tab to space in WWW lines

PR:		ports/175415 [1]
Submitted by:	Chris Petrik <c.petrik.sosa@gmail.com> [1]
Discussed with:	bapt
2013-03-07 03:25:10 +00:00

34 lines
811 B
Makefile

# Created by: Amar Takhar <verm@drunkmonk.net>
# $FreeBSD$
PORTNAME= xmms-a52dec
PORTVERSION= 1.0
PORTREVISION= 5
CATEGORIES= audio
MASTER_SITES= SF
MAINTAINER= c.petrik.sosa@gmail.com
COMMENT= A52 (aka AC3) decoder plugin for XMMS
LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms \
a52.0:${PORTSDIR}/audio/liba52
RUN_DEPENDS= ${LOCALBASE}/lib/xmms/Output/libOSSSurround.so:${PORTSDIR}/audio/xmms-osssurround
USE_BZIP2= yes
USE_GNOME= gtk12
CFLAGS+= `xmms-config --cflags` -L${LOCALBASE}/lib
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
CFLAGS+= -fPIC
.endif
PLIST_FILES= lib/xmms/Input/liba52dec.so
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} -shared -o liba52dec.so xmms-a52dec.c -la52
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/liba52dec.so ${PREFIX}/lib/xmms/Input/
.include <bsd.port.post.mk>