Ticket #12459: dopewars-1.5.12.patch
File dopewars-1.5.12.patch, 1.3 KB (added by simon@…, 17 years ago) |
---|
-
Portfile
2 2 3 3 PortSystem 1.0 4 4 name dopewars 5 version 1.5.1 05 version 1.5.12 6 6 categories games 7 7 maintainers nomaintainer@macports.org 8 8 description Rewrite of a game originally based on \"Drug Wars\" … … 16 16 17 17 master_sites sourceforge 18 18 19 checksums md5 99f07eac91f1f272f43d16ba81205c66 19 checksums md5 debf749de9053dc2fb2e74c37ae06206 \ 20 sha1 ad46a38e225680e591b078eeec563d47b96684bc \ 21 rmd160 66c86bceb67657a9fb2ef7944b1a069dafab8ae0 20 22 21 depends_lib lib:libgtk.2:gtk2 lib:libesd.0:esound23 depends_lib port:gtk2 port:esound 22 24 23 25 post-patch { reinplace "s| \$\(dopewars_DEPENDENCIES\)||g" ${worksrcpath}/src/Makefile.in 24 26 reinplace "s|need_relink=yes|need_relink=no|g" ${worksrcpath}/ltmain.sh 25 27 reinplace "s|LIBADD =|LIBADD = -module -avoid-version|g" ${worksrcpath}/src/plugins/Makefile.in } 26 28 27 configure.env LDFLAGS="-L${prefix}/lib" \28 CPPFLAGS="-I${prefix}/include"29 30 29 configure.args --enable-nls --enable-networking --without-sdl --with-pic \ 31 30 --enable-gui-client --enable-plugins --enable-shared \ 32 31 --enable-static --mandir=${prefix}/share/man 33 32 34 platform darwin 6 { depends_lib-append lib:libdl:dlcompat } 33 platform darwin 6 { 34 depends_lib-append port:dlcompat 35 }