aboutsummaryrefslogtreecommitdiff
path: root/audio/xmms-gbsplay
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-06-28 18:13:39 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-06-28 18:13:39 +0000
commitc6719ae48702211bea19a7118862ffda47ddfa47 (patch)
tree9fde061e0f812ee67e85d43a1e3557365ce25d52 /audio/xmms-gbsplay
parent2f82a3e98c775c6f50195840de33710fed649f39 (diff)
downloadports-c6719ae48702211bea19a7118862ffda47ddfa47.tar.gz
ports-c6719ae48702211bea19a7118862ffda47ddfa47.zip
Notes
Diffstat (limited to 'audio/xmms-gbsplay')
-rw-r--r--audio/xmms-gbsplay/Makefile48
-rw-r--r--audio/xmms-gbsplay/pkg-descr8
2 files changed, 56 insertions, 0 deletions
diff --git a/audio/xmms-gbsplay/Makefile b/audio/xmms-gbsplay/Makefile
new file mode 100644
index 000000000000..e24a49273964
--- /dev/null
+++ b/audio/xmms-gbsplay/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: xmms-gbsplay
+# Date created: 25 Jun 2005
+# Whom: Emanuel Haupt <ehaupt@critical.ch>
+#
+# $FreeBSD$
+#
+
+PKGNAMEPREFIX= xmms-
+
+COMMENT= A XMMS plugin for playing Nintendo Game Boy(TM) audio
+
+MASTERDIR= ${.CURDIR}/../gbsplay
+
+BUILD_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
+RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms \
+ gbsplay:${PORTSDIR}/audio/gbsplay
+
+USE_X_PREFIX= yes
+USE_REINPLACE= yes
+USE_GNOME= glib12
+
+CONFIGURE_ARGS= --disable-nas
+
+DESCR= ${.CURDIR}/pkg-descr
+PLIST= ${.CURDIR}/pkg-plist
+
+PLIST_FILES= lib/xmms/Input/gbsxmms.so
+
+post-extract:
+ @${RM} -f ${WRKSRC}/po/subdir.mk
+
+gbsplay-post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|`which xmms-config`||; \
+ s|\(xmms-config\)|${X11BASE}/bin/\1|g; \
+ s|`which glib-config`||; \
+ s|glib-config|${GLIB_CONFIG}|g; \
+ /LOCALE_PREFIX/ s|$$localedir|${LOCALBASE}/share/locale|' \
+ ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e \
+ 's|^objs += $$(objs_gbsplay) $$(objs_gbsinfo)||; \
+ s|^dsts += gbsplay gbsinfo||; \
+ /^default:/ s|$$(mans)||' ${WRKSRC}/Makefile
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/gbsxmms.so ${PREFIX}/lib/xmms/Input
+
+.include "${MASTERDIR}/Makefile"
diff --git a/audio/xmms-gbsplay/pkg-descr b/audio/xmms-gbsplay/pkg-descr
new file mode 100644
index 000000000000..2071586abdbd
--- /dev/null
+++ b/audio/xmms-gbsplay/pkg-descr
@@ -0,0 +1,8 @@
+xmms-gbsplay is a XMMS input plugin which emulates the sound hardware of the
+Nintendo Game Boy(TM). It is able to play the sounds from a Game Boy(TM)
+module dump (.GBS format) in XMMS.
+
+WWW: http://gbsplay.berlios.de/
+
+- ehaupt
+ehaupt@critical.ch