Modified: trunk/dports/textproc/texml/Portfile (32259 => 32282)
--- trunk/dports/python/py-texml/Portfile 2007-12-23 10:50:38 UTC (rev 32259)
+++ trunk/dports/textproc/texml/Portfile 2007-12-23 17:10:13 UTC (rev 32282)
@@ -1,46 +1,18 @@
# $Id$
-PortSystem 1.0
-PortGroup python24 1.0
-name py-texml
-version 1.20
-revision 1
-categories-append textproc
-maintainers nomaintainer
-description XML vocabulary for TeX
-long_description \
- TeXML is an XML vocabulary for TeX. The processor transforms TeXML \
- markup into the TeX markup, escaping special and out-of-encoding \
- characters. The intended audience is developers who automatically \
- generate TeX files.
+PortSystem 1.0
+PortGroup python24 1.0
-platforms darwin
+name texml
+version 2.0.1
+categories textproc
+maintainers xmlhack.ru:olpa
+platforms darwin
-homepage http://getfo.sourceforge.net/texml/
-master_sites sourceforge:getfo
-distname texml.${version}-unix
-worksrcdir texml.${version}
+description XML syntax for TeX
+long_description TeXML is an XML vocabulary for TeX. The processor transforms the TeXML markup into the TeX markup, escaping special and out-of-encoding characters. The intended audience is developers who automatically generate (La)TeX or ConTeXt files.
-checksums md5 b13ac128ec70173fa41d972816c23150
+homepage http://getfo.org/texml/
+master_sites sourceforge:getfo
-post-patch {
- reinplace "s|#!/usr/bin/python|#!${prefix}/bin/python|" \
- ${worksrcpath}/bin/texml.py
-}
-
-build {}
-
-destroot {
- xinstall -m 755 -d ${destroot}${prefix}/share/${name}
- eval file copy [glob ${worksrcpath}/bin/*] \
- ${destroot}${prefix}/share/${name}
- system "ln -s ${prefix}/share/${name}/texml.py \
- ${destroot}${prefix}/bin/texml.py"
- file copy ${worksrcpath}/dtd ${destroot}${prefix}/share/${name}
- file copy ${worksrcpath}/tests ${destroot}${prefix}/share/${name}
- xinstall -m 644 -W ${worksrcpath} ChangeLog.txt license.txt readme.txt \
- ${destroot}${prefix}/share/doc/${name}
- eval file copy [glob ${worksrcpath}/docs/*] \
- ${destroot}${prefix}/share/doc/${name}
-}
-
+checksums md5 cf223ea44d41fb46be92707215c45472