diff --git a/audio/freepats/Portfile b/audio/freepats/Portfile
index c93ba93..3492ce2 100644
a
|
b
|
use_bzip2 yes |
23 | 23 | checksums rmd160 276fcf5ee008decb3640f22fe753639de072bbf9 \ |
24 | 24 | sha256 0261ea1057b232183fa472432d5cedb0dca33698a5319328cdf193d4b2193c8a |
25 | 25 | |
| 26 | worksrcdir ${name} |
| 27 | |
| 28 | patchfiles-append patch-add-dir.diff |
| 29 | |
26 | 30 | use_configure no |
27 | 31 | build {} |
28 | 32 | destroot { |
29 | 33 | copy ${workpath}/freepats ${destroot}${prefix}/share |
| 34 | reinplace "s|@PREFIX@|${prefix}|g" \ |
| 35 | ${destroot}${prefix}/share/freepats/crude.cfg \ |
| 36 | ${destroot}${prefix}/share/freepats/freepats.cfg |
30 | 37 | ## theoretically perhaps copy or move the files to doc |
31 | 38 | # set destdocdir ${destroot}${prefix}/share/doc/${name} |
32 | 39 | # xinstall -d -m 0755 ${destdocdir} |
diff --git a/audio/freepats/files/patch-add-dir.diff b/audio/freepats/files/patch-add-dir.diff
new file mode 100644
index 0000000..eeda7c7
-
|
+
|
|
| 1 | --- orig.crude.cfg 2006-02-19 10:29:42.000000000 +0100 |
| 2 | +++ crude.cfg 2016-11-25 17:44:54.000000000 +0100 |
| 3 | @@ -7,6 +7,7 @@ |
| 4 | |
| 5 | # THIS CONFIGURATION FILE USES SUBSTITUTES IN THE INCOMPLETE TONE BANK! |
| 6 | |
| 7 | +dir @PREFIX@/share/freepats |
| 8 | |
| 9 | # Bank 0: Melodic 0-based patches |
| 10 | bank 0 |
| 11 | --- orig.freepats.cfg 2006-02-19 10:22:40.000000000 +0100 |
| 12 | +++ freepats.cfg 2016-11-25 17:45:02.000000000 +0100 |
| 13 | @@ -1,6 +1,8 @@ |
| 14 | # Automatically generated on Sun Feb 19 19:22:39 EST 2006 |
| 15 | # by http://freepats.opensrc.org/mkcfg.sh.txt |
| 16 | |
| 17 | +dir @PREFIX@/share/freepats |
| 18 | + |
| 19 | drumset 0 |
| 20 | |
| 21 | 25 Drum_000/025_Snare_Roll.pat |