#?patch
#
# These patches add, to the OpenBSD ports(7) tree, the DooM GUS
# patches, as compiled by fraggle.
#
# (Me uses this as a backing for freepats, which is at the time of
#  writing not yet complete.)
#
# Cover your ears (j/k),
#
#         --zeurkous, Wed Oct 28 12:52:11 UTC 2020.
#
diff -Nru /var/empty/Makefile ports/audio/dgguspat/Makefile
--- /var/empty/Makefile Thu Jan  1 00:00:00 1970
+++ ports/audio/dgguspat/Makefile       Wed Oct 28 12:15:02 2020
@@ -0,0 +1,24 @@
+COMMENT=       Gravis Ultrasound patches for TiMidity
+
+MASTER_SITES=  ftp.fu-berlin.de:/pub/pc/games/idgames/music/
+DISTNAME=      dgguspat
+VER=           20130304
+PKGNAME=       ${DISTNAME}-${VER}
+EXTRACT_SUFX=  .zip
+
+CATEGORIES=    audio
+
+# unclear
+PERMIT_PACKAGE=        No
+
+# zipbomb
+EXTRACT_CASES = *.zip) \
+       cd ${WRKDIST} && unzip -q ${FULLDISTDIR}/$$archive;;
+
+pre-extract:
+       mkdir ${WRKDIST}
+
+post-extract:
+       cp ${FILESDIR}/Makefile ${WRKSRC}
+
+.include <bsd.port.mk>

diff -Nru /var/empty/distinfo ports/audio/dgguspat/distinfo
--- /var/empty/distinfo Thu Jan  1 00:00:00 1970
+++ ports/audio/dgguspat/distinfo       Wed Oct 28 11:45:23 2020
@@ -0,0 +1,2 @@
+SHA256 (dgguspat.zip) = Y+217pLAB1U9GHvO5v7XtciohtJdvAHaWr5czhT7AC8=
+SIZE (dgguspat.zip) = 5308541

diff -Nru /var/empty/files/Makefile ports/audio/dgguspat/files/Makefile
--- /var/empty/files/Makefile   Thu Jan  1 00:00:00 1970
+++ ports/audio/dgguspat/files/Makefile Wed Oct 28 11:57:56 2020
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+
+all:
+
+install:
+       ${INSTALL} -d -m 755       ${PREFIX}/share/dgguspat/
+       ${INSTALL} -c -m 644 *.pat ${PREFIX}/share/dgguspat/
+       ${INSTALL} -d -m 755       ${PREFIX}/share/examples/dgguspat/
+       ${INSTALL} -c -m 644 *.cfg ${PREFIX}/share/examples/dgguspat/
+       ${INSTALL} -d -m 755       ${PREFIX}/share/doc/dgguspat/
+       ${INSTALL} -c -m 644 *.txt ${PREFIX}/share/doc/dgguspat/

diff -Nru /var/empty/pkg/PLIST ports/audio/dgguspat/pkg/PLIST
--- /var/empty/pkg/PLIST        Thu Jan  1 00:00:00 1970
+++ ports/audio/dgguspat/pkg/PLIST      Wed Oct 28 11:58:15 2020
@@ -0,0 +1,213 @@
+@comment $OpenBSD: PLIST,v$
+share/dgguspat/
+share/dgguspat/acbass.pat
+share/dgguspat/accordn.pat
+share/dgguspat/acguitar.pat
+share/dgguspat/acpiano.pat
+share/dgguspat/agogo.pat
+share/dgguspat/agogohi.pat
+share/dgguspat/agogolo.pat
+share/dgguspat/altosax.pat
+share/dgguspat/applause.pat
+share/dgguspat/atmosphr.pat
+share/dgguspat/aurora.pat
+share/dgguspat/bagpipes.pat
+share/dgguspat/banjo.pat
+share/dgguspat/barisax.pat
+share/dgguspat/basslead.pat
+share/dgguspat/bassoon.pat
+share/dgguspat/belltree.pat
+share/dgguspat/blank.pat
+share/dgguspat/bongohi.pat
+share/dgguspat/bongolo.pat
+share/dgguspat/bottle.pat
+share/dgguspat/bowglass.pat
+share/dgguspat/britepno.pat
+share/dgguspat/c550kc_1.pat
+share/dgguspat/c550sn10.pat
+share/dgguspat/c550sn_6.pat
+share/dgguspat/c550vibs.pat
+share/dgguspat/cabasa.pat
+share/dgguspat/calliope.pat
+share/dgguspat/carillon.pat
+share/dgguspat/castinet.pat
+share/dgguspat/celeste.pat
+share/dgguspat/cello.pat
+share/dgguspat/charang.pat
+share/dgguspat/chiflead.pat
+share/dgguspat/choir.pat
+share/dgguspat/church.pat
+share/dgguspat/claps.pat
+share/dgguspat/clarinet.pat
+share/dgguspat/clave.pat
+share/dgguspat/clavinet.pat
+share/dgguspat/cleangtr.pat
+share/dgguspat/concrtna.pat
+share/dgguspat/congahi1.pat
+share/dgguspat/congahi2.pat
+share/dgguspat/congalo.pat
+share/dgguspat/contraba.pat
+share/dgguspat/cowbell.pat
+share/dgguspat/crystal.pat
+share/dgguspat/cuica1.pat
+share/dgguspat/cuica2.pat
+share/dgguspat/cymbell.pat
+share/dgguspat/cymchina.pat
+share/dgguspat/cymcrsh1.pat
+share/dgguspat/cymcrsh2.pat
+share/dgguspat/cymride1.pat
+share/dgguspat/cymride2.pat
+share/dgguspat/cymsplsh.pat
+share/dgguspat/distgtr.pat
+share/dgguspat/doo.pat
+share/dgguspat/echovox.pat
+share/dgguspat/englhorn.pat
+share/dgguspat/epiano1.pat
+share/dgguspat/epiano2.pat
+share/dgguspat/fantasia.pat
+share/dgguspat/fiddle.pat
+share/dgguspat/flute.pat
+share/dgguspat/fngrbass.pat
+share/dgguspat/frenchrn.pat
+share/dgguspat/freshair.pat
+share/dgguspat/fretless.pat
+share/dgguspat/fx-blow.pat
+share/dgguspat/fx-fret.pat
+share/dgguspat/ghostie.pat
+share/dgguspat/glocken.pat
+share/dgguspat/gtrharm.pat
+share/dgguspat/guiro1.pat
+share/dgguspat/guiro2.pat
+share/dgguspat/halopad.pat
+share/dgguspat/harmonca.pat
+share/dgguspat/harp.pat
+share/dgguspat/helicptr.pat
+share/dgguspat/highq.pat
+share/dgguspat/hihatcl.pat
+share/dgguspat/hihatop.pat
+share/dgguspat/hihatpd.pat
+share/dgguspat/hitbrass.pat
+share/dgguspat/homeorg.pat
+share/dgguspat/honky.pat
+share/dgguspat/hrpschrd.pat
+share/dgguspat/jazzgtr.pat
+share/dgguspat/jingles.pat
+share/dgguspat/jungle.pat
+share/dgguspat/kalimba.pat
+share/dgguspat/kick1.pat
+share/dgguspat/kick2.pat
+share/dgguspat/koto.pat
+share/dgguspat/lead5th.pat
+share/dgguspat/maracas.pat
+share/dgguspat/marcato.pat
+share/dgguspat/marimba.pat
+share/dgguspat/metalpad.pat
+share/dgguspat/metbell.pat
+share/dgguspat/metclick.pat
+share/dgguspat/musicbox.pat
+share/dgguspat/mutegtr.pat
+share/dgguspat/mutetrum.pat
+share/dgguspat/nyguitar.pat
+share/dgguspat/oboe.pat
+share/dgguspat/ocarina.pat
+share/dgguspat/odguitar.pat
+share/dgguspat/orchhit.pat
+share/dgguspat/percorg.pat
+share/dgguspat/piccolo.pat
+share/dgguspat/pickbass.pat
+share/dgguspat/pistol.pat
+share/dgguspat/pizzcato.pat
+share/dgguspat/polysyn.pat
+share/dgguspat/recorder.pat
+share/dgguspat/reedorg.pat
+share/dgguspat/revcym.pat
+share/dgguspat/ringwhsl.pat
+share/dgguspat/rockorg.pat
+share/dgguspat/santur.pat
+share/dgguspat/sawwave.pat
+share/dgguspat/scratch1.pat
+share/dgguspat/scratch2.pat
+share/dgguspat/seashore.pat
+share/dgguspat/shakazul.pat
+share/dgguspat/shaker.pat
+share/dgguspat/shamisen.pat
+share/dgguspat/shannai.pat
+share/dgguspat/sitar.pat
+share/dgguspat/slap.pat
+share/dgguspat/slapbas1.pat
+share/dgguspat/slapbas2.pat
+share/dgguspat/slowstr.pat
+share/dgguspat/snare1.pat
+share/dgguspat/snare2.pat
+share/dgguspat/soundtrk.pat
+share/dgguspat/sprnosax.pat
+share/dgguspat/sqrclick.pat
+share/dgguspat/sqrwave.pat
+share/dgguspat/startrak.pat
+share/dgguspat/steeldrm.pat
+share/dgguspat/stickrim.pat
+share/dgguspat/sticks.pat
+share/dgguspat/surdo1.pat
+share/dgguspat/surdo2.pat
+share/dgguspat/sweeper.pat
+share/dgguspat/synbass1.pat
+share/dgguspat/synbass2.pat
+share/dgguspat/synbras1.pat
+share/dgguspat/synbras2.pat
+share/dgguspat/synpiano.pat
+share/dgguspat/synstr1.pat
+share/dgguspat/synstr2.pat
+share/dgguspat/syntom.pat
+share/dgguspat/taiko.pat
+share/dgguspat/tamborin.pat
+share/dgguspat/telephon.pat
+share/dgguspat/tenorsax.pat
+share/dgguspat/timbaleh.pat
+share/dgguspat/timbalel.pat
+share/dgguspat/timpani.pat
+share/dgguspat/tomhi1.pat
+share/dgguspat/tomhi2.pat
+share/dgguspat/tomlo1.pat
+share/dgguspat/tomlo2.pat
+share/dgguspat/tommid1.pat
+share/dgguspat/tommid2.pat
+share/dgguspat/toms.pat
+share/dgguspat/tremstr.pat
+share/dgguspat/triangl1.pat
+share/dgguspat/triangl2.pat
+share/dgguspat/trombone.pat
+share/dgguspat/trumpet.pat
+share/dgguspat/tuba.pat
+share/dgguspat/tubebell.pat
+share/dgguspat/unicorn.pat
+share/dgguspat/vibes.pat
+share/dgguspat/vibslap.pat
+share/dgguspat/viola.pat
+share/dgguspat/violin.pat
+share/dgguspat/voices.pat
+share/dgguspat/voxlead.pat
+share/dgguspat/warmpad.pat
+share/dgguspat/whistle.pat
+share/dgguspat/whistle1.pat
+share/dgguspat/whistle2.pat
+share/dgguspat/woodblk.pat
+share/dgguspat/woodblk1.pat
+share/dgguspat/woodblk2.pat
+share/dgguspat/woodflut.pat
+share/dgguspat/xylophon.pat
+share/doc/dgguspat/
+share/doc/dgguspat/dgguspat.txt
+share/doc/pkg-readmes/${PKGSTEM}
+share/examples/dgguspat/
+share/examples/dgguspat/chris6.cfg
+share/examples/dgguspat/default.cfg
+share/examples/dgguspat/gus1mIId.cfg
+share/examples/dgguspat/ht_gus1m.cfg
+share/examples/dgguspat/jaydmx.cfg
+share/examples/dgguspat/maplerag.cfg
+share/examples/dgguspat/timid256.cfg
+share/examples/dgguspat/timid512.cfg
+share/examples/dgguspat/timid768.cfg
+share/examples/dgguspat/timid_d1.cfg
+share/examples/dgguspat/timid_d2.cfg
+share/examples/dgguspat/timidity.cfg

diff -Nru /var/empty/pkg/README ports/audio/dgguspat/pkg/README
--- /var/empty/pkg/README       Thu Jan  1 00:00:00 1970
+++ ports/audio/dgguspat/pkg/README     Wed Oct 28 12:21:13 2020
@@ -0,0 +1,13 @@
+As the porter does not use Python: the dmx2timid.py script is not
+installed (and has thus not been tested).
+
+Example configuration files have been installed in:
+
+ ${PREFIX}/share/examples/dgguspat/
+
+To use one of them, add the following to /etc/timidity.cfg:
+
+ dir ${PREFIX}/share/dgguspat/
+ source ${PREFIX}/share/examples/dgguspat/FILE
+
+A good default for FILE is "timidity.cfg".

Reply via email to