[44248] trunk/dports/textproc/asciidoc/Portfile
devans at macports.org
devans at macports.org
Tue Dec 23 15:03:49 PST 2008
Revision: 44248
http://trac.macports.org/changeset/44248
Author: devans at macports.org
Date: 2008-12-23 15:03:49 -0800 (Tue, 23 Dec 2008)
Log Message:
-----------
asciidoc: update to version 8.3.1, now uses autoconf generated configure and Makefiles.
Modified Paths:
--------------
trunk/dports/textproc/asciidoc/Portfile
Modified: trunk/dports/textproc/asciidoc/Portfile
===================================================================
--- trunk/dports/textproc/asciidoc/Portfile 2008-12-23 22:51:48 UTC (rev 44247)
+++ trunk/dports/textproc/asciidoc/Portfile 2008-12-23 23:03:49 UTC (rev 44248)
@@ -3,7 +3,7 @@
PortSystem 1.0
name asciidoc
-version 8.2.7
+version 8.3.1
categories textproc
maintainers boeyms openmaintainer
description Formatter/translator for text files to numerous formats
@@ -21,61 +21,8 @@
homepage http://www.methods.co.nz/asciidoc/
master_sites sourceforge
-checksums md5 f631c10bcf7216eaf6bc804c84ebb8e1 \
- sha1 ec784654f01f3aa71af6453c8985839010759fab \
- rmd160 d9b19b5bd90a7ee26b3d63ba8b5f6ce60841e62c
+checksums md5 3e8ea3eab6a6bd89f8fd49fb6d14bfb5 \
+ sha1 4d9a6c12ce1259ce70eab56782996a07709ace75 \
+ rmd160 5d41add558443d0ecdb758de3ad088e1d6a86789
depends_run port:python25 port:getopt port:docbook-xml-4.2 port:fop-0.20
-use_configure no
-
-build {}
-
-destroot {
- xinstall -d \
- ${destroot}${prefix}/share/${name} \
- ${destroot}${prefix}/etc/${name}/images/
-
- xinstall -W ${worksrcpath} -m 755 asciidoc.py ${destroot}${prefix}/bin/${name}
- xinstall -W ${worksrcpath} -m 755 a2x ${destroot}${prefix}/bin/a2x
-
- eval file copy \
- [glob -d ${worksrcpath} *.conf] \
- ${worksrcpath}/docbook-xsl \
- ${worksrcpath}/filters \
- ${worksrcpath}/javascripts \
- ${worksrcpath}/stylesheets \
- ${destroot}${prefix}/etc/${name}/
- file copy ${worksrcpath}/images/icons ${destroot}${prefix}/etc/${name}/images/
-
- # Note, doc and examples (per porthier(7)) should be in their own subdir
- # of ${prefix}/share, but asciidoc has quite a few symlinks in the
- # examples, so they go under ${prefix}/share/${name} to keep things working
- file copy \
- ${worksrcpath}/doc \
- ${worksrcpath}/examples \
- ${worksrcpath}/images \
- ${worksrcpath}/javascripts \
- ${worksrcpath}/stylesheets \
- ${destroot}${prefix}/share/${name}
- xinstall -W ${worksrcpath} \
- BUGS \
- BUGS.txt \
- CHANGELOG \
- CHANGELOG.txt \
- COPYING \
- COPYRIGHT \
- README \
- README.txt \
- ${destroot}${prefix}/share/${name}
- xinstall -W ${worksrcpath} \
- doc/${name}.1 \
- doc/a2x.1 \
- ${destroot}${prefix}/share/man/man1
-
- reinplace "s|^#!/usr/bin/env python|#!${prefix}/bin/python2.4|" \
- ${destroot}${prefix}/bin/${name} \
- ${destroot}${prefix}/etc/${name}/filters/code-filter.py
- reinplace "s|/etc/${name}|${prefix}/etc/${name}|" \
- ${destroot}${prefix}/bin/${name} ${destroot}${prefix}/bin/a2x
-}
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081223/4e786f1b/attachment.html>
More information about the macports-changes
mailing list