diff options
Diffstat (limited to 'audio/trommler')
-rw-r--r-- | audio/trommler/Makefile | 50 | ||||
-rw-r--r-- | audio/trommler/distinfo | 1 | ||||
-rw-r--r-- | audio/trommler/files/patch-gui.c | 12 | ||||
-rw-r--r-- | audio/trommler/pkg-descr | 14 | ||||
-rw-r--r-- | audio/trommler/pkg-plist | 26 |
5 files changed, 103 insertions, 0 deletions
diff --git a/audio/trommler/Makefile b/audio/trommler/Makefile new file mode 100644 index 0000000..8832406 --- /dev/null +++ b/audio/trommler/Makefile @@ -0,0 +1,50 @@ +# New ports collection makefile for: trommler +# Date created: 17 Apr 2003 +# Whom: David Yeske <dyeske@yahoo.com> +# +# $FreeBSD$ +# + +PORTNAME= trommler +PORTVERSION= 3.4 +CATEGORIES= audio +MASTER_SITES= http://muth.org/Robert/Trommler/ +DISTNAME= trommler.3.4 + +MAINTAINER= dyeske@yahoo.com +COMMENT= A GTK based drum machine + +WRKSRC= ${WRKDIR}/Trommler + +USE_X_PREFIX= yes +USE_GNOME= gtk12 +USE_GMAKE= yes +USE_REINPLACE= yes + +post-patch: +#the third Makefile edit replaces the contents +#of a comment so CC can be respected + @${REINPLACE_CMD} -e \ + 's|-O9|${CFLAGS}|; \ + s|-Werror||; \ + s|^# Makefile|CC=${CC}|' \ + ${WRKSRC}/Makefile + + @${REINPLACE_CMD} -e \ + 's|"/Drums"|"${PREFIX}/share/trommler/Drums"|' \ + ${WRKSRC}/gui.c + +pre-build: +#remove stale linux binaries + @${RM} ${WRKSRC}/playsample ${WRKSRC}/wav2smp + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/playsample ${PREFIX}/bin + @${INSTALL_PROGRAM} ${WRKSRC}/trommler ${PREFIX}/bin + @${INSTALL_PROGRAM} ${WRKSRC}/wav2smp ${PREFIX}/bin + @${MKDIR} ${PREFIX}/share/trommler/Drums + @${MKDIR} ${PREFIX}/share/trommler/Songs + @${INSTALL_DATA} ${WRKSRC}/Drums/*.smp ${PREFIX}/share/trommler/Drums + @${INSTALL_DATA} ${WRKSRC}/Songs/*.sng ${PREFIX}/share/trommler/Songs + +.include <bsd.port.mk> diff --git a/audio/trommler/distinfo b/audio/trommler/distinfo new file mode 100644 index 0000000..c6d4ad2 --- /dev/null +++ b/audio/trommler/distinfo @@ -0,0 +1 @@ +MD5 (trommler.3.4.tar.gz) = 16e5b3d5fcf9c019ffef9a26bedc4203 diff --git a/audio/trommler/files/patch-gui.c b/audio/trommler/files/patch-gui.c new file mode 100644 index 0000000..cb1928a --- /dev/null +++ b/audio/trommler/files/patch-gui.c @@ -0,0 +1,12 @@ +$FreeBSD$ + +--- gui.c.orig Thu Feb 20 15:43:08 2003 ++++ gui.c Thu Feb 20 15:43:21 2003 +@@ -2261,7 +2261,6 @@ + } + else + { +- getcwd(Global.DrumDir,sizeof(Global.DrumDir)); + strncat(Global.DrumDir,"/Drums",sizeof(Global.DrumDir) ); + } + diff --git a/audio/trommler/pkg-descr b/audio/trommler/pkg-descr new file mode 100644 index 0000000..49588bf --- /dev/null +++ b/audio/trommler/pkg-descr @@ -0,0 +1,14 @@ +Trommler is a GTK based drum machine with the following +features: + +- Use of 16 bit 44100kHz mono drum samples +- Realtime audio output using the /dev/dsp device +- Audio output to file +- Variable number of beats per patter +- Volume adjustment of drum samples +- Stereo panning of (mono) drum samples + +WWW: http://muth.org/Robert/Trommler/ + +- David +dyeske@yahoo.com diff --git a/audio/trommler/pkg-plist b/audio/trommler/pkg-plist new file mode 100644 index 0000000..421edee --- /dev/null +++ b/audio/trommler/pkg-plist @@ -0,0 +1,26 @@ +bin/playsample +bin/trommler +bin/wav2smp +share/trommler/Drums/bassdrum.1.smp +share/trommler/Drums/bassdrum.2.smp +share/trommler/Drums/bassdrum.3.smp +share/trommler/Drums/bongo.high.smp +share/trommler/Drums/bongo.low.smp +share/trommler/Drums/bongo.slap.smp +share/trommler/Drums/claves.smp +share/trommler/Drums/conga.closed.smp +share/trommler/Drums/conga.open.high.smp +share/trommler/Drums/conga.open.low.smp +share/trommler/Drums/conga.slap.smp +share/trommler/Drums/cowbell.smp +share/trommler/Drums/guiro.long.smp +share/trommler/Drums/guiro.short.smp +share/trommler/Drums/maracas.smp +share/trommler/Drums/snare.high.smp +share/trommler/Drums/snare.low.smp +share/trommler/Drums/timbales.smp +share/trommler/Drums/vibra.slap.smp +share/trommler/Songs/rumba.sng +@dirrm share/trommler/Drums +@dirrm share/trommler/Songs +@dirrm share/trommler |