[64569] trunk/dports/math/shogun/Portfile
jameskyle at macports.org
jameskyle at macports.org
Tue Mar 9 07:49:28 PST 2010
Revision: 64569
http://trac.macports.org/changeset/64569
Author: jameskyle at macports.org
Date: 2010-03-09 07:49:27 -0800 (Tue, 09 Mar 2010)
Log Message:
-----------
Fixed build error in shogun due to shogun looking for doxygen files that do not exist. Disabled +doc variant until source can be determined.
Modified Paths:
--------------
trunk/dports/math/shogun/Portfile
Modified: trunk/dports/math/shogun/Portfile
===================================================================
--- trunk/dports/math/shogun/Portfile 2010-03-09 15:28:05 UTC (rev 64568)
+++ trunk/dports/math/shogun/Portfile 2010-03-09 15:49:27 UTC (rev 64569)
@@ -51,9 +51,10 @@
--cxx=${prefix}/bin/g++-mp-4.3 \
--includes=${python_prefix}/include/python2.6 \
--python=${python_prefix}/bin/python2.6 \
- --pydir=${python_prefix}/lib/python2.6/site-packages
+ --pydir=${python_prefix}/lib/python2.6/site-packages \
+ --disable-doxygen
-configure.cc ${prefix}/bin/gcc-mp-4.3
+configure.cc ${prefix}/bin/gcc-mp-4.3
configure.compiler macports-gcc-4.3
pre-fetch {
@@ -62,9 +63,9 @@
}
}
-proc lremove {list elem} {
- set index [lsearch -exact $list $elem]
- return [lreplace $list $index $index]
+proc lremove {list elem} {
+ set index [lsearch -exact $list $elem]
+ return [lreplace $list $index $index]
}
# Interfaces are added by a comma delimited argument list to --interfaces.
@@ -108,8 +109,8 @@
--includes=${python_prefix}/include/python2.6 \
--python=${python_prefix}/bin/python2.6 \
--pydir=${python_prefix}/lib/python2.6/site-packages
-
-
+
+
depends_lib-delete port:python26 \
port:py26-numpy
@@ -129,11 +130,13 @@
}
#variant matlab description {Build the Matlab API} {}
-variant doc description {Install the documentation for shogun} {
- depends_build-append port:texlive \
- path:bin/dot:graphviz \
- port:doxygen
-}
+# variant doc description {Install the documentation for shogun} {
+# depends_build-append port:texlive \
+# path:bin/dot:graphviz \
+# port:doxygen
+#
+# configure.args-delete --disable-doxygen
+# }
pre-extract {
# Before doing anything, verify the correct swig bindings are present for
@@ -143,13 +146,13 @@
set swig_version [exec ${prefix}/bin/swig -version]
regexp {(\d.?)+} $swig_version sversion
set sversion [string trimright $sversion \n]
-
+
} else {
set sversion 0.0.0
}
ui_debug "Found swig version ${sversion}"
if {[variant_isset python]} {
-
+
}
if {[variant_isset python] || [variant_isset python26]} {
ui_debug "Looking for swig python interface at ${prefix}/share/swig/${sversion}/python/python.swg"
@@ -161,7 +164,7 @@
}
pre-configure {
- reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/configure
+ reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/configure
reinplace "s|= $\{_libdir\}/$\{_pydir\}|= $\{_pydir\}|g" ${worksrcpath}/configure
}
post-destroot {
@@ -169,7 +172,7 @@
system "cd ${worksrcpath}/../doc && make"
file mkdir ${destroot}${prefix}/share/doc/${name}
file copy ${worksrcpath}/../doc ${destroot}${prefix}/share/doc/${name}/doc
-
+
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100309/c73d9cf5/attachment.html>
More information about the macports-changes
mailing list