Ticket #2407: Portfile

File Portfile, 1.1 KB (added by reilles@…, 19 years ago)

the portfile. Works well for me

Line 
1PortSystem 1.0
2name            hevea
3version         1.07
4categories      textproc www
5maintainers     reilles@loria.fr
6description     HEVEA is a quite complete and fast LATEX to HTML translator.
7long_description HEVEA is a LaTeX to HTML translator.\
8                 The input language is a fairly complete subset\
9                 of LaTeX2e (old LaTeX style is also accepted) and\
10                 the output language is HTML that is (hopefully)\
11                 correct with respect to version 4.0 (transitional)
12master_sites    http://pauillac.inria.fr/~maranget/hevea/distri
13checksums       md5   561d7a2c10ea9e6a5b352c24d9b65998
14depends_build   bin:ocamlc:ocaml
15pre-configure {
16  reinplace "s|BINDIR=/usr/local/bin|BINDIR=${destroot}${prefix}/bin|" ${worksrcpath}/Makefile
17  reinplace "s|LIBDIR=/usr/local/lib/hevea|LIBDIR=${destroot}${prefix}/lib/hevea|" ${worksrcpath}/Makefile
18  reinplace "s|DLIBDIR=.\"\$\{LIBDIR\}.\"|DLIBDIR=\\\\\"${prefix}/lib/hevea\\\\\"|g" ${worksrcpath}/Makefile
19   reinplace "s|CPP=cpp -E -P|CPP=m4 -E -P|" ${worksrcpath}/Makefile
20}
21configure {}
22destroot.target install
23#build.env   HEVEADIR=${prefix}/lib/hevea