[68945] trunk/dports/textproc/xmlroff/Portfile

jmr at macports.org jmr at macports.org
Fri Jun 18 08:20:23 PDT 2010


Revision: 68945
          http://trac.macports.org/changeset/68945
Author:   jmr at macports.org
Date:     2010-06-18 08:20:23 -0700 (Fri, 18 Jun 2010)
Log Message:
-----------
xmlroff: fix scope of variable

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

Modified: trunk/dports/textproc/xmlroff/Portfile
===================================================================
--- trunk/dports/textproc/xmlroff/Portfile	2010-06-18 15:18:13 UTC (rev 68944)
+++ trunk/dports/textproc/xmlroff/Portfile	2010-06-18 15:20:23 UTC (rev 68945)
@@ -31,6 +31,10 @@
 				lib:libpangoxsl-1:pangoxsl
 
 configure.ldflags-append	"-framework CoreFoundation"
+
+# Specify catalog to add (catalog for xmlroff's libfo library)
+set libfocatalog ${prefix}/share/xml/libfo-${version}/catalog.xml
+
 post-activate {
     # xmlcatmgr as installed by MacPorts defaults to using
     # ${prefix}/etc/xml/docbook (for XML) and ${prefix}/etc/xml/docbook (for
@@ -39,9 +43,6 @@
     # ${prefix}/bin in their PATH.
     set catalog.xml ${prefix}/etc/xml/catalog
 
-    # Specify catalog to add (catalog for xmlroff's libfo library)
-    set libfocatalog ${prefix}/share/xml/libfo-${version}/catalog.xml
-
     # Make the directory if it doesn't exist
     if {![file exists ${prefix}/etc/xml]} {
         xinstall -m 755 -d ${prefix}/etc/xml 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100618/31c0a98a/attachment.html>


More information about the macports-changes mailing list