summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/sfxr/DESCR9
-rw-r--r--audio/sfxr/Makefile41
-rw-r--r--audio/sfxr/PLIST8
-rw-r--r--audio/sfxr/distinfo5
4 files changed, 63 insertions, 0 deletions
diff --git a/audio/sfxr/DESCR b/audio/sfxr/DESCR
new file mode 100644
index 00000000000..e2179d4b383
--- /dev/null
+++ b/audio/sfxr/DESCR
@@ -0,0 +1,9 @@
+sfxr's original purpose was to provide a simple means of getting
+basic sound effects into a game for those people who were working
+hard to get their entries done for the Ludum Dare gaming contest
+within the 48 hours and didn't have time to spend looking for
+suitable ways of doing this.
+
+The idea was that they could just hit a few buttons in this
+application and get some largely randomized effects that were custom
+in the sense that the user could accept/reject each proposed sound.
diff --git a/audio/sfxr/Makefile b/audio/sfxr/Makefile
new file mode 100644
index 00000000000..1989002b86e
--- /dev/null
+++ b/audio/sfxr/Makefile
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/03/03 22:29:34 wiz Exp $
+#
+
+DISTNAME= sfxr-sdl-1.1
+PKGNAME= ${DISTNAME:S/-sdl//}
+CATEGORIES= audio
+MASTER_SITES= http://www.drpetter.se/files/
+
+MAINTAINER= wiz@NetBSD.org
+HOMEPAGE= http://www.drpetter.se/project_sfxr.html
+COMMENT= Sound generator for 8-bit game sounds
+LICENSE= mit
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= c++
+USE_TOOLS+= gmake pkg-config
+BUILD_TARGET= sfxr
+
+SUBST_CLASSES+= prefix
+SUBST_SED.prefix= -e "s,/usr,${PREFIX},g"
+SUBST_FILES.prefix= sdlkit.h main.cpp Makefile
+SUBST_STAGE.prefix= pre-build
+SUBST_MESSAGE.prefix= Fixing installation path.
+
+INSTALLATION_DIRS= bin share/sfxr share/applications share/doc/sfxr
+INSTALLATION_DIRS+= share/icons/hicolor/48x48/apps
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/sfxr ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/*.tga ${DESTDIR}${PREFIX}/share/sfxr
+ ${INSTALL_DATA} ${WRKSRC}/*.bmp ${DESTDIR}${PREFIX}/share/sfxr
+ ${INSTALL_DATA} ${WRKSRC}/sfxr.png ${DESTDIR}${PREFIX}/share/icons/hicolor/48x48/apps
+ ${INSTALL_DATA} ${WRKSRC}/sfxr.desktop ${DESTDIR}${PREFIX}/share/applications
+ ${INSTALL_DATA} ${WRKSRC}/readme.txt ${DESTDIR}${PREFIX}/share/doc/sfxr
+
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/sfxr/PLIST b/audio/sfxr/PLIST
new file mode 100644
index 00000000000..35b54400ee9
--- /dev/null
+++ b/audio/sfxr/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/03/03 22:29:34 wiz Exp $
+bin/sfxr
+share/applications/sfxr.desktop
+share/doc/sfxr/readme.txt
+share/icons/hicolor/48x48/apps/sfxr.png
+share/sfxr/font.tga
+share/sfxr/ld48.tga
+share/sfxr/sfxr.bmp
diff --git a/audio/sfxr/distinfo b/audio/sfxr/distinfo
new file mode 100644
index 00000000000..2566da88a6a
--- /dev/null
+++ b/audio/sfxr/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/03/03 22:29:34 wiz Exp $
+
+SHA1 (sfxr-sdl-1.1.tar.gz) = 90b6df5be1bda79273b89e88be64c6ae63946638
+RMD160 (sfxr-sdl-1.1.tar.gz) = e92ad5c95d0d98d999e6bdf5fcd585d8fdd1109e
+Size (sfxr-sdl-1.1.tar.gz) = 18778 bytes