Ticket #4336: patch-Portfile.diff

File patch-Portfile.diff, 1.9 KB (added by cssdev@…, 19 years ago)

Patches Portfile to include Farscape quotes

  • Portfile

    RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/games/fortune/Portfile,v
    retrieving revision 1.27
    diff -u -r1.27 Portfile
     
    2121                http://www.netmeister.org/apps/:netmeister \
    2222                http://www.cs.indiana.edu/~crcarter/homer/:homer \
    2323                http://www.splitbrain.org/Fortunes/simpsons/:chalkboard \
     24                http://homepage.mac.com/css/code:farscape \
    2425                http://www.pinkemostar.com/files/:
    2526
    2627distfiles       \
     
    3435                homer-quotes.tar.gz:homer \
    3536                ralph-quotes.tar.gz \
    3637                cbg-quotes.tar.gz \
    37                 fortune-simpsons-chalkboard.tgz:chalkboard
     38                fortune-simpsons-chalkboard.tgz:chalkboard \
     39                farscape-quotes.tar.gz:farscape
    3840
    3941checksums       \
    4042                ${distname}${extract.suffix} md5 99166e1c47d4b60c865a31d59d359b16 \
     
    4749                cbg-quotes.tar.gz md5 6de1139cf55bb71758ba9e3a01f05354 \
    4850                fortune-simpsons-chalkboard.tgz md5 1602ec6df3336a7e01f857b8419c8df1 \
    4951                fortune-xfiles.tgz md5 dfbe17a0b0b78e5914d0838852becb7b \
    50                 fortune-hitchhiker.tgz md5 257df9a3f63db9f2e7c27369006812a3
     52                fortune-hitchhiker.tgz md5 257df9a3f63db9f2e7c27369006812a3 \
     53                farscape-quotes.tar.gz md5 36ed384fa254918ef7199a7686260190
    5154
    5255extract.only    ${name}-${version}.tar.bz2
    5356depends_lib             lib:libcompat.1:libcompat
     
    8285set datfiles "${datfiles} calvin calvin.dat"
    8386set datfiles "${datfiles} cbg cbg.dat homer homer.dat \
    8487                  ralph ralph.dat chalkboard chalkboard.dat"
     88set datfiles "${datfiles} farscape farscape.dat"
    8589
    8690post-extract {
    8791        cd ${worksrcpath}
     
    106110        system "cp cbg cbg.dat datfiles"
    107111        system "tar xfz ${distpath}/fortune-simpsons-chalkboard.tgz"
    108112        system "cp fortune-simpsons-chalkboard/* datfiles"
     113        system "tar xfz ${distpath}/farscape-quotes.tar.gz"
     114        system "cp farscape-quotes/* datfiles"
    109115}
    110116
    111117destroot {