freebsd-ports/audio/xmms-faad/Makefile
Mario Sergio Fujikawa Ferreira 6fef338bcf New port xmms-faad2 version 1.1: XMMS plugin for faad
PR:		48687
Submitted by:	David Yeske <dyeske@yahoo.com>
2003-03-04 18:41:01 +00:00

44 lines
1 KiB
Makefile

# New ports collection makefile for: xmms-faad
# Date created: 23 Feb, 2002
# Whom: David Yeske <dyeske@yahoo.com>
#
# $FreeBSD$
#
PORTNAME= faad2
PORTVERSION= 1.1
CATEGORIES= audio
MASTER_SITES= http://faac.sourceforge.net/files/
PKGNAMEPREFIX= xmms-
MAINTAINER= dyeske@yahoo.com
COMMENT= XMMS plugin for faad
BUILD_DEPENDS= xmms-config:${PORTSDIR}/multimedia/xmms
LIB_DEPENDS= id3-3.8.2:${PORTSDIR}/audio/id3lib \
xmms.3:${PORTSDIR}/multimedia/xmms \
faad.0:${PORTSDIR}/audio/faad
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_REINPLACE= yes
ALL_TARGET=
WRKSRC= ${WRKDIR}/${PORTNAME}/plugins/xmms
DESCR= ${PORTSDIR}/audio/faad/pkg-descr
MD5_FILE= ${PORTSDIR}/audio/faad/distinfo
post-patch:
@${REINPLACE_CMD} -e \
's|gcc|${CC} ${CFLAGS}|; \
s|-I/usr/include/glib-1.2/||; \
s|-lfaad2|-lfaad -lstdc++|; \
s|-I/usr/lib/glib/include|-L${LOCALBASE}/lib|; \
s|-I/usr/include/gtk-1.2/|\`xmms-config --cflags\`|' \
${WRKSRC}/Makefile
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/libaac-XMMS.so ${PREFIX}/lib/xmms/Input/
.include <bsd.port.mk>