Ticket #52956: freepats.diff

File freepats.diff, 1.7 KB (added by RJVB (René Bertin), 8 years ago)
  • audio/freepats/Portfile

    diff --git a/audio/freepats/Portfile b/audio/freepats/Portfile
    index c93ba93..3492ce2 100644
    a b use_bzip2 yes 
    2323checksums           rmd160  276fcf5ee008decb3640f22fe753639de072bbf9 \
    2424                    sha256  0261ea1057b232183fa472432d5cedb0dca33698a5319328cdf193d4b2193c8a
    2525
     26worksrcdir          ${name}
     27
     28patchfiles-append   patch-add-dir.diff
     29
    2630use_configure       no
    2731build               {}
    2832destroot {
    2933    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
    3037    ## theoretically perhaps copy or move the files to doc
    3138    # set destdocdir ${destroot}${prefix}/share/doc/${name}
    3239    # xinstall -d -m 0755 ${destdocdir}
  • new file audio/freepats/files/patch-add-dir.diff

    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