[45155] trunk/dports/graphics/graphviz-devel
ryandesign at macports.org
ryandesign at macports.org
Fri Jan 9 00:54:01 PST 2009
Revision: 45155
http://trac.macports.org/changeset/45155
Author: ryandesign at macports.org
Date: 2009-01-09 00:54:01 -0800 (Fri, 09 Jan 2009)
Log Message:
-----------
graphviz-devel: merge r45084 and r45153 from graphviz; see #17392
Modified Paths:
--------------
trunk/dports/graphics/graphviz-devel/Portfile
Property Changed:
----------------
trunk/dports/graphics/graphviz-devel/
Property changes on: trunk/dports/graphics/graphviz-devel
___________________________________________________________________
Modified: svn:mergeinfo
- /trunk/dports/graphics/graphviz:40607
+ /trunk/dports/graphics/graphviz:40607,45084-45153
Modified: trunk/dports/graphics/graphviz-devel/Portfile
===================================================================
--- trunk/dports/graphics/graphviz-devel/Portfile 2009-01-09 08:52:34 UTC (rev 45154)
+++ trunk/dports/graphics/graphviz-devel/Portfile 2009-01-09 08:54:01 UTC (rev 45155)
@@ -89,6 +89,7 @@
--without-ipsepcola \
--without-rsvg \
--with-pangocairo \
+ --without-glitz \
--with-freetype2 \
--with-fontconfig \
--without-gdk-pixbuf \
@@ -117,6 +118,13 @@
--disable-ruby \
--disable-tcl
+platform macosx {
+ if {${os.major} > 8} {
+ configure.args-delete --without-quartz
+ configure.args-append --with-quartz
+ }
+}
+
variant guile description {Include Guile language bindings} {
depends_lib-append \
port:guile
@@ -139,6 +147,9 @@
--disable-lua
configure.args-append \
--enable-lua
+ post-patch {
+ reinplace "s|/usr/lib\$LIBPOSTFIX/lua|${prefix}/lib\$LIBPOSTFIX/lua|g" ${worksrcpath}/configure
+ }
}
variant ocaml description {Include Objective Caml language bindings} {
@@ -151,11 +162,13 @@
--disable-ocaml
configure.args-append \
--enable-ocaml
+ configure.cppflags-append \
+ -I${prefix}/lib/ocaml
}
variant perl description {Include PERL 5 language bindings} {
depends_lib-append \
- path:bin/perl:perl5.8
+ path:bin/perl:perl5
depends_build-append \
port:swig
configure.args-delete \
@@ -163,11 +176,12 @@
--disable-perl
configure.args-append \
--enable-perl
+ configure.perl ${prefix}/bin/perl
}
-variant php description {Include PHP 4 language bindings} {
+variant php description {Include PHP language bindings} {
depends_lib-append \
- port:php4
+ port:php5
depends_build-append \
port:swig
configure.args-delete \
@@ -175,9 +189,14 @@
--disable-php
configure.args-append \
--enable-php
+ post-patch {
+ reinplace "s|/usr/include/php|${prefix}/include/php|g" ${worksrcpath}/configure
+ reinplace "s|/usr/lib\${LIBPOSTFIX}/php|${prefix}/lib\${LIBPOSTFIX}/php|g" ${worksrcpath}/configure
+ reinplace "s|/usr/share/php|${prefix}/share/php|g" ${worksrcpath}/configure
+ }
}
-variant python description {Include Python 2.4 language bindings} {
+variant python24 description {Include Python 2.4 language bindings} conflicts python25 python26 {
depends_lib-append \
port:python24
depends_build-append \
@@ -187,8 +206,45 @@
--disable-python
configure.args-append \
--enable-python
+ configure.python ${prefix}/bin/python2.4
+ # The configure script asks python where to install
+ # This doesn't work for 2.4 and 2.5 (see #16334)
+ post-patch {
+ reinplace "s|PYTHON_INSTALL_DIR=.*|PYTHON_INSTALL_DIR=${prefix}/lib/python2.4|" ${worksrcpath}/configure
+ }
}
+variant python25 description {Include Python 2.5 language bindings} conflicts python24 python26 {
+ depends_lib-append \
+ port:python25
+ depends_build-append \
+ port:swig
+ configure.args-delete \
+ --disable-swig \
+ --disable-python
+ configure.args-append \
+ --enable-python
+ configure.python ${prefix}/bin/python2.5
+ # The configure script asks python where to install
+ # This doesn't work for 2.4 and 2.5 (see #16334)
+ post-patch {
+ reinplace "s|PYTHON_INSTALL_DIR=.*|PYTHON_INSTALL_DIR=${prefix}/lib/python2.5|" ${worksrcpath}/configure
+ }
+}
+
+variant python26 description {Include Python 2.6 language bindings} conflicts python24 python25 {
+ depends_lib-append \
+ port:python26
+ depends_build-append \
+ port:swig
+ configure.args-delete \
+ --disable-swig \
+ --disable-python
+ configure.args-append \
+ --enable-python
+ configure.python ${prefix}/bin/python2.6
+}
+
variant ruby description {Include Ruby language bindings} {
depends_lib-append \
port:ruby
@@ -213,6 +269,16 @@
--enable-tcl
}
+variant java description {Include Java language bindings} {
+ depends_build-append \
+ port:swig
+ configure.args-delete \
+ --disable-swig \
+ --disable-java
+ configure.args-append \
+ --enable-java
+}
+
variant smyrna description {Include the Smyrna large graph viewer} {
configure.args-delete \
--without-smyrna \
@@ -227,9 +293,56 @@
depends_lib-append \
port:gtk2 \
port:gtkglext \
- port:libglade2
+ port:libglade2 \
+ port:gts
}
+variant r description {Include R language bindings} {
+ depends_build-append \
+ port:swig
+ configure.args-delete \
+ --disable-swig \
+ --disable-r
+ configure.args-append \
+ --enable-r
+}
+
+variant rsvg description {enable the rsvg plugin} {
+ depends_lib-append \
+ port:librsvg
+ configure.args-delete \
+ --without-rsvg
+ configure.args-append \
+ --with-rsvg
+}
+
+variant gdk_pixbuf description {enable the gdk_pixbuf plugin} {
+ depends_lib-append \
+ port:gtk2
+ configure.args-delete \
+ --without-gdk-pixbuf
+ configure.args-append \
+ --with-gdk-pixbuf
+}
+
+variant glitz description {enable the incomplete glitz plugin} {
+ depends_lib-append \
+ port:glitz
+ configure.args-delete \
+ --without-glitz
+ configure.args-append \
+ --with-glitz
+}
+
+variant ming description {enable the incomplete ming plugin} {
+ depends_lib-append \
+ port:ming
+ configure.args-delete \
+ --without-ming
+ configure.args-append \
+ --with-ming
+}
+
variant no_pangocairo description {Remove pangocairo support (no antialiased bitmapped output; no PDF output)} {
depends_lib-delete \
port:cairo \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090109/5cf8859a/attachment.html>
More information about the macports-changes
mailing list