summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/Makefile1
-rw-r--r--audio/xmms-sexypsf/Makefile56
-rw-r--r--audio/xmms-sexypsf/distinfo2
-rw-r--r--audio/xmms-sexypsf/pkg-descr14
-rw-r--r--audio/xmms-sexypsf/pkg-message3
5 files changed, 76 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 052afc89ffde..1fac49d7041d 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -540,6 +540,7 @@
SUBDIR += xmms-quix3dn
SUBDIR += xmms-real-random
SUBDIR += xmms-scrobbler
+ SUBDIR += xmms-sexypsf
SUBDIR += xmms-shn
SUBDIR += xmms-sid
SUBDIR += xmms-sndfile
diff --git a/audio/xmms-sexypsf/Makefile b/audio/xmms-sexypsf/Makefile
new file mode 100644
index 000000000000..c732f857a5c7
--- /dev/null
+++ b/audio/xmms-sexypsf/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for: xmms-sexypsf
+# Date created: 10 Jul 2005
+# Whom: Emanuel Haupt <ehaupt@critical.ch>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xmms-sexypsf
+PORTVERSION= 0.4.7
+CATEGORIES= audio
+MASTER_SITES= http://projects.raphnet.net/sexypsf/
+DISTNAME= sexypsf-${PORTVERSION}
+
+MAINTAINER= ehaupt@critical.ch
+COMMENT= XMMS plugin for playing .psf files
+
+BUILD_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_GNOME= gtk12
+
+WRKSRC= ${WRKDIR}/sexypsf
+
+CFLAGS+= -I${WRKSRC}
+DEFINES= -DSPSFVERSION=\""${PORTVERSION}\"" -DPSS_STYLE=1
+
+PORTDOCS= ChangeLog README psf_format.txt spu.txt spu2regs.txt \
+ system.txt
+SOURCES= PsxBios PsxCounters PsxDma Spu PsxHw PsxMem Misc \
+ R3000A PsxInterpreter PsxHLE spu/spu xmms/xmms
+
+PLIST_FILES= lib/xmms/Input/libsexypsf.so
+
+do-build:
+.for f in ${SOURCES}
+ ${CC} ${CFLAGS} ${DEFINES} `gtk-config --cflags` -c -o ${WRKSRC}/${f}.o ${WRKSRC}/${f}.c
+.endfor
+ ${CC} ${CFLAGS} ${DEFINES} `gtk-config --cflags` ${SOURCES:S/$/.o/:S/^/${WRKSRC}\//} \
+ -o ${WRKSRC}/libsexypsf.so -shared -lz
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/libsexypsf.so ${PREFIX}/lib/xmms/Input/libsexypsf.so
+
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/Docs/${f} ${DOCSDIR}
+.endfor
+.endif
+
+post-install:
+ @${CAT} pkg-message
+
+.include <bsd.port.mk>
diff --git a/audio/xmms-sexypsf/distinfo b/audio/xmms-sexypsf/distinfo
new file mode 100644
index 000000000000..3731206a8043
--- /dev/null
+++ b/audio/xmms-sexypsf/distinfo
@@ -0,0 +1,2 @@
+MD5 (sexypsf-0.4.7.tar.bz2) = 89bc4d8a2ab66641282657ab3631bc29
+SIZE (sexypsf-0.4.7.tar.bz2) = 83001
diff --git a/audio/xmms-sexypsf/pkg-descr b/audio/xmms-sexypsf/pkg-descr
new file mode 100644
index 000000000000..e41a8614642f
--- /dev/null
+++ b/audio/xmms-sexypsf/pkg-descr
@@ -0,0 +1,14 @@
+Sexypsf is an XMMS plugin for playing .psf files.
+
+The PSF format brings the functionality of NSF, SID, SPC, and GBS to next-
+generation consoles. PSF utilizes the original music driver code from each
+game to replay sequenced music in a perfectly authentic, and size-efficient,
+way.
+
+The general idea is that a PSF file contains a zlib-compressed program which,
+if executed on the real console, would simply play the music.
+
+WWW: http://projects.raphnet.net/
+
+- ehaupt
+ehaupt@critical.ch
diff --git a/audio/xmms-sexypsf/pkg-message b/audio/xmms-sexypsf/pkg-message
new file mode 100644
index 000000000000..1fbee9a188a4
--- /dev/null
+++ b/audio/xmms-sexypsf/pkg-message
@@ -0,0 +1,3 @@
+===============================================================================
+A huge .psf file collection can be found at: http://www.zophar.net/psf/
+===============================================================================