[63235] trunk/dports/science
ryandesign at macports.org
ryandesign at macports.org
Sat Jan 30 04:39:28 PST 2010
Revision: 63235
http://trac.macports.org/changeset/63235
Author: ryandesign at macports.org
Date: 2010-01-30 04:39:26 -0800 (Sat, 30 Jan 2010)
Log Message:
-----------
iAIDA: new port, version 1.0.17; see #23238
Added Paths:
-----------
trunk/dports/science/iAIDA/
trunk/dports/science/iAIDA/Portfile
trunk/dports/science/iAIDA/files/
trunk/dports/science/iAIDA/files/patch-configure.diff
Added: trunk/dports/science/iAIDA/Portfile
===================================================================
--- trunk/dports/science/iAIDA/Portfile (rev 0)
+++ trunk/dports/science/iAIDA/Portfile 2010-01-30 12:39:26 UTC (rev 63235)
@@ -0,0 +1,61 @@
+# $Id$
+
+PortSystem 1.0
+
+name iAIDA
+version 1.0.17
+categories science
+maintainers pd.infn.it:cristiano.fontana
+license LGPLv3
+description An implementation in C++ of the AIDA Abstract Interfaces for Data Analysis
+long_description iAIDA is an implementation in C++ of the AIDA Abstract Interfaces for Data Analysis, a set of interfaces designed for data analysis.
+homepage http://iaida.dynalias.net/
+platforms darwin
+extract.suffix .tgz
+master_sites sourceforge:iaida
+
+checksums md5 a352ea32ad61678cda6c94e299f94ca3
+
+depends_lib port:aida \
+ port:grace \
+ port:boost \
+ port:root \
+ port:openssl \
+ port:expat \
+ port:zlib
+
+universal_variant no
+
+patchfiles patch-configure.diff
+
+post-patch {
+ foreach d {"" /examples /include /src /tests} {
+ reinplace "s:@PREFIX_DIR@:${destroot}${prefix}:g" ${worksrcpath}${d}/Makefile.in
+ }
+}
+
+configure.args --with-grace=${prefix} \
+ --with-boost=${prefix} \
+ --with-aida=${prefix}/include
+
+build.args CXX=${configure.cxx}
+
+post-build {
+ system "cd ${worksrcpath}/examples && make ${build.args}"
+ system "cd ${worksrcpath}/tests && make ${build.args}"
+
+ foreach f {examples/Makefile examples/Makefile.in tests/Makefile tests/Makefile.in tests/runTests.py tests/runTests.py.in} {
+ reinplace "s:../bin/aida-config:aida-config:g" ${worksrcpath}/${f}
+ }
+
+ foreach f {tests/runTests.py tests/runTests.py.in} {
+ reinplace "s:logFile = entry+'.log':logFile = '/tmp/'+entry+'.log':g" ${worksrcpath}/${f}
+ }
+}
+
+post-destroot {
+ xinstall -d ${destroot}${prefix}/share/${name}
+ file copy ${worksrcpath}/examples ${worksrcpath}/tests ${destroot}${prefix}/share/${name}
+
+ file copy ${worksrcpath}/src ${destroot}${prefix}/src/${name}
+}
Property changes on: trunk/dports/science/iAIDA/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/science/iAIDA/files/patch-configure.diff
===================================================================
--- trunk/dports/science/iAIDA/files/patch-configure.diff (rev 0)
+++ trunk/dports/science/iAIDA/files/patch-configure.diff 2010-01-30 12:39:26 UTC (rev 63235)
@@ -0,0 +1,13 @@
+--- configure.orig 2010-01-11 18:34:55.000000000 +0100
++++ configure 2010-01-11 18:45:00.000000000 +0100
+@@ -129,8 +129,8 @@
+ if self.boostDir :
+ self.boostDir = os.path.abspath(self.boostDir)
+ self.boostIncDir = os.path.join(self.boostDir, "include")
+- vDir = os.listdir(self.boostIncDir)[0]
+- self.boostIncDir = os.path.join(self.boostIncDir, vDir)
++ #vDir = os.listdir(self.boostIncDir)[0]
++ #self.boostIncDir = os.path.join(self.boostIncDir, vDir)
+ self.boostLibDir = os.path.join(self.boostDir, "lib")
+ if not os.path.exists(os.path.join(self.boostIncDir, "boost", "shared_ptr.hpp") ) :
+ print "\n\nFATAL ERROR: Invalid Boost directory! (no boost/shared_ptr.hpp in: "+self.boostIncDir+'\n'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100130/6334a49e/attachment-0001.html>
More information about the macports-changes
mailing list