[43258] trunk/dports/textproc/sablotron/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Sun Dec 7 12:45:33 PST 2008


Revision: 43258
          http://trac.macports.org/changeset/43258
Author:   mcalhoun at macports.org
Date:     2008-12-07 12:45:32 -0800 (Sun, 07 Dec 2008)
Log Message:
-----------
sablotron: php4 needs to know if javasciprt is installed or not, so always have it installed.
Partial fix of #14795.

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

Modified: trunk/dports/textproc/sablotron/Portfile
===================================================================
--- trunk/dports/textproc/sablotron/Portfile	2008-12-07 20:38:29 UTC (rev 43257)
+++ trunk/dports/textproc/sablotron/Portfile	2008-12-07 20:45:32 UTC (rev 43258)
@@ -3,6 +3,7 @@
 PortSystem          1.0
 name                sablotron
 version             1.0.3
+revision            1
 categories          textproc
 maintainers         nomaintainer
 description         XSLT, DOM and XPath processor 
@@ -19,13 +20,14 @@
 worksrcdir          Sablot-${version}
 master_sites        http://download-1.gingerall.cz/download/sablot/
 checksums	    md5 72654c4b832e7562f8240ea675577f5e
-depends_lib         port:libiconv port:expat
+depends_lib         port:libiconv port:expat port:spidermonkey
 
 # Unfortunately, we have to set an internal configure script variable to stop
 # it auto-detecting whether or not to build the API documentation; no configure
 # switch is provided.
 configure.env       BUILD_APIDOCS=no
-configure.args      --mandir=${prefix}/share/man
+configure.args      --mandir=${prefix}/share/man --enable-javascript
+configure.cppflags-append   -I${prefix}/include/js
 
 platform darwin 6   { depends_lib-append lib:libdl:dlcompat }
 				
@@ -44,9 +46,3 @@
     configure.args-append   --enable-debugger --with-readline
     configure.env-append    SABLOT_GPL=1
 }
-variant javascript description {Enable JavaScript support} {
-    depends_lib-append      port:spidermonkey
-    configure.args-append   --enable-javascript
-    # Need to help the configure script find the spidermonkey headers
-    configure.cppflags-append   -I${prefix}/include/js
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081207/e071945d/attachment.html>


More information about the macports-changes mailing list