Ticket #5156: Portfile.patch
File Portfile.patch, 1.1 KB (added by reilles@…, 19 years ago) |
---|
-
Portfile
old new 3 3 PortSystem 1.0 4 4 5 5 name hevea 6 version 1.0 76 version 1.08 7 7 categories textproc www 8 8 maintainers reilles@loria.fr 9 9 description HEVEA is a quite complete and fast LATEX to HTML translator. … … 14 14 correct with respect to version 4.0 (transitional) 15 15 homepage http://pauillac.inria.fr/~maranget/hevea/ 16 16 master_sites ${homepage}/distri/ 17 checksums md5 561d7a2c10ea9e6a5b352c24d9b6599817 checksums md5 1a93c1924b817e54531abf74f0b34d4b 18 18 depends_build bin:ocamlc:ocaml 19 19 configure { 20 20 cd ${worksrcpath} 21 reinplace "s|BINDIR=/usr/local/bin|BINDIR=${destroot}${prefix}/bin|" Makefile 22 reinplace "s|LIBDIR=/usr/local/lib/hevea|LIBDIR=${destroot}${prefix}/lib/hevea|" Makefile 23 reinplace "s|DLIBDIR=.\"\$\{LIBDIR\}.\"|DLIBDIR=\\\\\"${prefix}/lib/hevea\\\\\"|g" Makefile 24 reinplace "s|CPP=cpp -E -P|CPP=m4 -E -P|" Makefile 21 reinplace "s|PREFIX=/usr/local|PREFIX=${prefix}|" Makefile 22 reinplace "s|DESTDIR=|DESTDIR=${destroot}|" Makefile 25 23 }