summaryrefslogtreecommitdiff
path: root/audio/xmms-mad/Makefile
diff options
context:
space:
mode:
authorjmcneill <jmcneill>2002-05-26 04:00:50 +0000
committerjmcneill <jmcneill>2002-05-26 04:00:50 +0000
commitd8b9f3bf375d7e9a9f5597e3f66770802679aa39 (patch)
tree48864ab26289d47d2f1d4a8fdd180c0e495bfd69 /audio/xmms-mad/Makefile
parent40d0c8fd5287279796c73ba2e9c8f2801b875360 (diff)
downloadpkgsrc-d8b9f3bf375d7e9a9f5597e3f66770802679aa39.tar.gz
Import xmms-mad-0.0.9:
xmms-mad is an input plugin for xmms that uses libmad to decode MPEG layer 1/2/3 file and streams. Current featured include: local mp3 file playback shoutchast/icecast stream playback seeking ID3 tag parsing http header parsing See http://www.superduper.net/xmms-mad/ for more information.
Diffstat (limited to 'audio/xmms-mad/Makefile')
-rw-r--r--audio/xmms-mad/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/audio/xmms-mad/Makefile b/audio/xmms-mad/Makefile
new file mode 100644
index 00000000000..9b3a8091416
--- /dev/null
+++ b/audio/xmms-mad/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/05/26 04:00:50 jmcneill Exp $
+#
+
+DISTNAME= xmms-mad-0.0.9
+CATEGORIES= audio
+MASTER_SITES= http://www.superduper.net/downloads/xmms-mad/
+
+MAINTAINER= jmcneill@netbsd.org
+HOMEPAGE= http://www.superduper.net/xmms-mad/
+COMMENT= Input plugin for XMMS that uses libmad
+
+DEPENDS+= mad>=0.14:../../audio/mad
+
+GNU_CONFIGURE= YES
+CONFIGURE_ENV+= LDFLAGS="-Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib"
+CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include"
+CPPFLAGS+= -D_POSIX_THREAD_SYSCALL_SOFT=1
+
+.include "../../mk/bsd.prefs.mk"
+
+.if (${OPSYS} == NetBSD)
+CPPFLAGS+= -DHAVE_NANOSLEEP=1
+.endif
+
+.include "../../audio/xmms/buildlink.mk"
+.include "../../mk/ossaudio.buildlink.mk"
+.include "../../mk/x11.buildlink.mk"
+.include "../../mk/bsd.pkg.mk"