[97373] trunk/dports/textproc/hevea
mww at macports.org
mww at macports.org
Tue Sep 4 08:04:48 PDT 2012
Revision: 97373
https://trac.macports.org/changeset/97373
Author: mww at macports.org
Date: 2012-09-04 08:04:48 -0700 (Tue, 04 Sep 2012)
Log Message:
-----------
hevea: version 2.00
Modified Paths:
--------------
trunk/dports/textproc/hevea/Portfile
Added Paths:
-----------
trunk/dports/textproc/hevea/files/
trunk/dports/textproc/hevea/files/patch-Makefile.diff
Modified: trunk/dports/textproc/hevea/Portfile
===================================================================
--- trunk/dports/textproc/hevea/Portfile 2012-09-04 15:04:31 UTC (rev 97372)
+++ trunk/dports/textproc/hevea/Portfile 2012-09-04 15:04:48 UTC (rev 97373)
@@ -3,8 +3,7 @@
PortSystem 1.0
name hevea
-version 1.10
-revision 1
+version 2.00
categories textproc www tex
platforms darwin
maintainers loria.fr:reilles
@@ -15,12 +14,19 @@
of LaTeX2e (old LaTeX style is also accepted) and\
the output language is HTML that is (hopefully)\
correct with respect to version 4.0 (transitional)
-homepage http://pauillac.inria.fr/~maranget/hevea/
-master_sites ${homepage}/distri/
-checksums sha1 d3b07ad59b815899d953d18b480faa856b77077b \
- rmd160 651e8799bc4e8ca0c893cf7668df4ff1bf15d9d7
-depends_build port:ocaml
+homepage http://hevea.inria.fr/
+master_sites ${homepage}/distri/
+checksums sha1 3de1c2e32f125c305d902fb1c066facc939405a2 \
+ rmd160 d586b1564fafc5fba47614b4f13e1303049c1d9a
+
+patchfiles patch-Makefile.diff
+
+depends_build port:ocaml
+
configure {
- reinplace "s|^PREFIX=.*|PREFIX=${prefix}|" ${worksrcpath}/Makefile
- reinplace "s|^DESTDIR=.*|DESTDIR=${destroot}|" ${worksrcpath}/Makefile
+ reinplace "s|^PREFIX=.*|PREFIX=${prefix}|" ${worksrcpath}/Makefile
+ reinplace "s|^LIBDIR=.*|LIBDIR=${prefix}/share/${name}|" ${worksrcpath}/Makefile
+ reinplace "s|^LATEXLIBDIR=.*|LATEXLIBDIR=${prefix}/share/${name}|" ${worksrcpath}/Makefile
+ reinplace "s|^DESTDIR=.*|DESTDIR=${destroot}|" ${worksrcpath}/Makefile
}
+
Added: trunk/dports/textproc/hevea/files/patch-Makefile.diff
===================================================================
--- trunk/dports/textproc/hevea/files/patch-Makefile.diff (rev 0)
+++ trunk/dports/textproc/hevea/files/patch-Makefile.diff 2012-09-04 15:04:48 UTC (rev 97373)
@@ -0,0 +1,18 @@
+--- work/hevea-2.00/Makefile 2012-09-03 16:51:27.000000000 +0200
++++ Makefile 2012-09-04 16:58:38.000000000 +0200
+@@ -3,6 +3,7 @@
+ TARGET=opt
+ # Install prefix
+ PREFIX=/usr/local
++DESTDIR=
+ # Library directory of hevea
+ LIBDIR=$(PREFIX)/lib/hevea
+ # Where to install programms
+@@ -105,6 +106,7 @@
+ echo ALLLIB=\"$(ALLLIB)\" && \
+ echo HTMLLIB=\"$(HTMLLIB)\" && \
+ echo TEXTLIB=\"$(TEXTLIB)\" && \
++ echo DESTDIR=\"$(DESTDIR)\" && \
+ echo INFOLIB=\"$(INFOLIB)\" ) > $@
+
+ clean:: config.sh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120904/40aa2006/attachment.html>
More information about the macports-changes
mailing list