[42076] trunk/dports/textproc/lout/Portfile

nox at macports.org nox at macports.org
Fri Nov 14 11:06:43 PST 2008


Revision: 42076
          http://trac.macports.org/changeset/42076
Author:   nox at macports.org
Date:     2008-11-14 11:06:42 -0800 (Fri, 14 Nov 2008)
Log Message:
-----------
lout (closes #17140):
 * Updated to 3.38.
 * Enabled PDF compression.
 * Enabled collation support.
 * Enabled stat() use for automatic object rebuilding.
 * Enabled parallel build.
 * Added doc and manpages installation.
 * Fixed mtree violation, files are now installed in `$prefix/share/lout` instead of `$prefix/lout.lib`.

Modified Paths:
--------------
    trunk/dports/textproc/lout/Portfile

Modified: trunk/dports/textproc/lout/Portfile
===================================================================
--- trunk/dports/textproc/lout/Portfile	2008-11-14 16:51:28 UTC (rev 42075)
+++ trunk/dports/textproc/lout/Portfile	2008-11-14 19:06:42 UTC (rev 42076)
@@ -1,8 +1,9 @@
 # $Id$
+
 PortSystem 1.0
 
 name            lout
-version         3.36
+version         3.38
 categories      textproc
 platforms       darwin freebsd
 maintainers     gmail.com:ggreif
@@ -13,15 +14,39 @@
     printouts in one step.
 
 homepage        http://lout.sourceforge.net/
-master_sites    sourceforge \
+master_sites    http://www.ctan.org/tex-archive/support/lout/ \
                 ftp://ftp.it.usyd.edu.au/jeff/lout/
-checksums       md5 9fb418e5db4cb242f7ab1c6e8c59a1c2 \
-                sha1 f3c566a438b66688d13d20b9608ca30cf7b84288 \
-                rmd160 ccf64b1eb730e061d1c0437741d9cd94d5ff7d61
 
+checksums       md5     388ed456cfcb493ca706677688ec5dde \
+                sha1    2c4aec500dc27a00298f8265b9249d74d97e5466 \
+                rmd160  8835b223f67b383bdbb1d4105a28e002745d4dbb
+
+depends_build   port:zlib
+
 use_configure   no
 
-build.args      PREFIX=${prefix}
+use_parallel_build  yes
+build.args          PREFIX=${prefix} \
+                    LOUTLIBDIR=${prefix}/share/lout \
+                    PDF_COMPRESSION=1 \
+                    ZLIB=${prefix}/lib/libz.a \
+                    ZLIBPATH=-I${prefix}/include \
+                    USESTAT=1 \
+                    COLLATE=1
 
-destroot.env    LOUTLIB=${destroot}${prefix}/lout.lib 
-destroot.args   PREFIX=${destroot}${prefix}
+set docdir          ${prefix}/share/doc/${name}-${version}
+
+destroot.target     allinstall
+destroot.destdir    PREFIX=${destroot}${prefix}
+destroot.args       LOUTLIBDIR=${destroot}${prefix}/share/lout \
+                    LOUTLIB=${destroot}${prefix}/share/lout \
+                    MANDIR=${destroot}${prefix}/share/man/man1 \
+                    LOUTDOCDIR=${destroot}${docdir}
+
+pre-destroot {
+    xinstall -d ${destroot}${docdir}
+}
+
+livecheck.check     regex
+livecheck.url       ${master_sites}
+livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081114/e8a3c175/attachment.html>


More information about the macports-changes mailing list