Ticket #12152: frotz.diff
File frotz.diff, 1.3 KB (added by ehainry@…, 17 years ago) |
---|
-
(a) Portfile vs. (b) frotz.Portfile.new
a b 8 8 long_description Frotz provides a portable implementation of the zcode \ 9 9 virtual machine used for all Infocom text adventures and \ 10 10 many of those written by other authors. 11 homepage http://www.cs.csubak.edu/~driffi/proj/frotz/ 12 master_sites http://www.cs.csubak.edu/~dgriffi/proj/frotz/files/frotz-2.43.tar.gz 13 checksums frotz-2.43.tar.gz md5 efe51879e012b92bb8d5f4a82e982677 11 homepage http://frotz.homeunix.org/frotz/ 12 master_sites ${homepage}files/ 13 checksums md5 efe51879e012b92bb8d5f4a82e982677 14 depends_lib port:ncurses 14 15 patchfiles patch-Makefile patch-src-common-main.c \ 15 16 patch-src-common-process.c 16 17 configure { … … 18 19 "${worksrcpath}/Makefile" 19 20 reinplace "s|MAN_PREFIX = \$(PREFIX)|MAN_PREFIX = \$(PREFIX)/share|" \ 20 21 "${worksrcpath}/Makefile" 22 reinplace "s|#LIB = -L/usr/local/lib|LIB = -L${prefix}/lib|" \ 23 "${worksrcpath}/Makefile" 24 reinplace "s|#INCL = -I/usr/local/include|INCL = -I${prefix}/include|" \ 25 "${worksrcpath}/Makefile" 21 26 } 22 27 23 destroot {28 pre-destroot { 24 29 reinplace "s|^PREFIX = ${prefix}|PREFIX = ${destroot}${prefix}|" \ 25 30 "${worksrcpath}/Makefile" 26 system "cd ${worksrcpath} && make install"27 31 } 28 32