Ticket #30740: udiff-portfile-0.6.8-to-0.6.10.txt

File udiff-portfile-0.6.8-to-0.6.10.txt, 1.7 KB (added by Christoph.Ender@…, 13 years ago)

Unified diff for fizmo portfile, patches from current version 0.6.8 to new version 0.6.10.

Line 
1--- portfile-0.6.8      2011-05-21 17:29:21.000000000 +0200
2+++ portfile-0.6.10     2011-08-13 13:25:45.000000000 +0200
3@@ -3,7 +3,7 @@
4 PortSystem          1.0
5 
6 name                fizmo
7-version             0.6.8
8+version             0.6.10
9 categories          games
10 maintainers         spellbreaker.org:Christoph.Ender
11 description         Console-based Z-Machine interpreter for Infocom games.
12@@ -24,9 +24,8 @@
13 platforms           darwin linux
14 master_sites        http://spellbreaker.org/~chrender/fizmo/source/
15 
16-checksums           md5 ba6799b3a6bfe378fb79ddc7ad84a394 \
17-                    sha1 52fca14c4500d48367621661333b262d18b60b72 \
18-                    rmd160 f7fd35dfeb0b68a559e827101906a4273bac7bcf
19+checksums           sha1 858a8e1f7f2fcc01b5bc9a42459f6ae4ce166b6b \
20+                    rmd160 78c96833c95621831e871f4a36b3c1c0f3f198ff
21 
22 depends_lib         port:ncurses \
23                     port:libsdl_sound \
24@@ -35,7 +34,10 @@
25 
26 post-patch {
27    reinplace "s|/opt/local|${prefix}|g" ${worksrcpath}/config.macports.mk
28-   reinplace "s|/usr/include/libxml2|${prefix}/include/libxml2|g" ${worksrcpath}/config.macports.mk
29+   reinplace "s|NCURSESW_INC_DIR = /usr/include|NCURSESW_INC_DIR = \$(DEFAULT_PREFIX)/include|g" ${worksrcpath}/config.macports.mk
30+   reinplace "s|NCURSESW_LIB_DIR = /usr/lib|NCURSESW_LIB_DIR = \$(DEFAULT_PREFIX)/lib|g" ${worksrcpath}/config.macports.mk
31+   reinplace "s|LIBXML2_INC_DIR = /usr/include/libxml2|LIBXML2_INC_DIR = \$(DEFAULT_PREFIX)/include/libxml2|g" ${worksrcpath}/config.macports.mk
32+   reinplace "s|LIBXML2_LIB_DIR = /usr/lib|LIBXML2_LIB_DIR = \$(DEFAULT_PREFIX)/lib|g" ${worksrcpath}/config.macports.mk
33 }
34 use_configure       no
35 build.args          CONFIG_FILE=config.macports.mk