2002-08-11 23:07:25 +02:00
|
|
|
# New ports collection makefile for: xmms-a52dec
|
|
|
|
# Date created: 24 July 2002
|
|
|
|
# Whom: Amar Takhar <verm@drunkmonk.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xmms-a52dec
|
|
|
|
PORTVERSION= 1.0
|
2008-06-06 15:08:29 +02:00
|
|
|
PORTREVISION= 5
|
2002-08-11 23:07:25 +02:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= xmms-a52dec
|
|
|
|
|
2004-12-18 22:46:46 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 12:08:38 +01:00
|
|
|
COMMENT= A52 (aka AC3) decoder plugin for XMMS
|
2002-08-11 23:07:25 +02:00
|
|
|
|
2003-09-08 02:10:16 +02:00
|
|
|
LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms \
|
2002-08-11 23:07:25 +02:00
|
|
|
a52.0:${PORTSDIR}/audio/liba52
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/xmms/Output/libOSSSurround.so:${PORTSDIR}/audio/xmms-osssurround
|
2002-08-11 23:07:25 +02:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
2002-08-31 02:13:25 +02:00
|
|
|
USE_GNOME= gtk12
|
2005-03-20 19:37:26 +01:00
|
|
|
CFLAGS+= `xmms-config --cflags` -L${LOCALBASE}/lib
|
2002-08-11 23:07:25 +02:00
|
|
|
|
2004-02-20 15:56:32 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "amd64"
|
2005-04-21 17:10:21 +02:00
|
|
|
CFLAGS+= -fPIC
|
2004-02-20 15:56:32 +01:00
|
|
|
.endif
|
|
|
|
|
2005-03-23 14:36:56 +01:00
|
|
|
PLIST_FILES= lib/xmms/Input/liba52dec.so
|
2005-03-20 19:37:26 +01:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC} && ${CC} ${CFLAGS} -shared -o liba52dec.so xmms-a52dec.c -la52
|
|
|
|
|
2002-08-11 23:07:25 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/liba52dec.so ${PREFIX}/lib/xmms/Input/
|
|
|
|
|
2004-02-20 15:56:32 +01:00
|
|
|
.include <bsd.port.post.mk>
|