[47347] trunk/dports/textproc/asciidoc

raimue at macports.org raimue at macports.org
Thu Feb 26 05:12:53 PST 2009


Revision: 47347
          http://trac.macports.org/changeset/47347
Author:   raimue at macports.org
Date:     2009-02-26 05:12:50 -0800 (Thu, 26 Feb 2009)
Log Message:
-----------
textproc/asciidoc:
Fix a2x command, was assuming GNU readlink

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

Added Paths:
-----------
    trunk/dports/textproc/asciidoc/files/
    trunk/dports/textproc/asciidoc/files/patch-a2x.diff

Modified: trunk/dports/textproc/asciidoc/Portfile
===================================================================
--- trunk/dports/textproc/asciidoc/Portfile	2009-02-26 11:25:25 UTC (rev 47346)
+++ trunk/dports/textproc/asciidoc/Portfile	2009-02-26 13:12:50 UTC (rev 47347)
@@ -4,6 +4,7 @@
 
 name				asciidoc
 version				8.3.1
+revision                        1
 categories			textproc
 maintainers			boeyms openmaintainer
 description			Formatter/translator for text files to numerous formats
@@ -25,4 +26,6 @@
                                 sha1    4d9a6c12ce1259ce70eab56782996a07709ace75 \
                                 rmd160  5d41add558443d0ecdb758de3ad088e1d6a86789
 
+patchfiles			patch-a2x.diff
+
 depends_run			port:python25 port:getopt port:docbook-xml-4.2 port:fop-0.20

Added: trunk/dports/textproc/asciidoc/files/patch-a2x.diff
===================================================================
--- trunk/dports/textproc/asciidoc/files/patch-a2x.diff	                        (rev 0)
+++ trunk/dports/textproc/asciidoc/files/patch-a2x.diff	2009-02-26 13:12:50 UTC (rev 47347)
@@ -0,0 +1,11 @@
+--- a2x.orig	2009-02-26 14:05:40.000000000 +0100
++++ a2x	2009-02-26 14:05:52.000000000 +0100
+@@ -13,7 +13,7 @@
+ if [ ! -e "$REALNAME" ]; then
+     REALNAME=$(which "$REALNAME")
+ fi
+-REALNAME="$(readlink -f "$REALNAME")"
++REALNAME="$(readlink "$REALNAME")"
+ CONF_DIR=/etc/asciidoc
+ FOP_COMMAND="fop.sh"    # FOP executable.
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090226/631427a6/attachment.html>


More information about the macports-changes mailing list