summaryrefslogtreecommitdiffstats
path: root/audio/xmms-faad/Makefile
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2003-03-04 18:41:01 +0000
committerlioux <lioux@FreeBSD.org>2003-03-04 18:41:01 +0000
commitb4d2584f403ab05e909de7c43d3504e05da68a80 (patch)
tree9d57a4fe319c198a0fef525235b7e2f612df523e /audio/xmms-faad/Makefile
parent7d8a38e72f5606239cc1f5962e8348d4d65fa8dc (diff)
downloadFreeBSD-ports-b4d2584f403ab05e909de7c43d3504e05da68a80.zip
FreeBSD-ports-b4d2584f403ab05e909de7c43d3504e05da68a80.tar.gz
New port xmms-faad2 version 1.1: XMMS plugin for faad
PR: 48687 Submitted by: David Yeske <dyeske@yahoo.com>
Diffstat (limited to 'audio/xmms-faad/Makefile')
-rw-r--r--audio/xmms-faad/Makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/audio/xmms-faad/Makefile b/audio/xmms-faad/Makefile
new file mode 100644
index 0000000..b229ff0
--- /dev/null
+++ b/audio/xmms-faad/Makefile
@@ -0,0 +1,44 @@
+# 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>
OpenPOWER on IntegriCloud