[107626] users/mojca
mojca at macports.org
mojca at macports.org
Wed Jul 3 02:21:42 PDT 2013
Revision: 107626
https://trac.macports.org/changeset/107626
Author: mojca at macports.org
Date: 2013-07-03 02:21:42 -0700 (Wed, 03 Jul 2013)
Log Message:
-----------
geant4-data: do not destroot files during configure - move them during destroot phase; some notes
Modified Paths:
--------------
users/mojca/notes/Gate.txt
users/mojca/notes/Geant4.txt
users/mojca/ports/science/geant4-data/Portfile
Modified: users/mojca/notes/Gate.txt
===================================================================
--- users/mojca/notes/Gate.txt 2013-07-03 07:44:38 UTC (rev 107625)
+++ users/mojca/notes/Gate.txt 2013-07-03 09:21:42 UTC (rev 107626)
@@ -15,3 +15,4 @@
TODO:
- copy license/LICENSE.txt
+- copy examples & benchmarks
Modified: users/mojca/notes/Geant4.txt
===================================================================
--- users/mojca/notes/Geant4.txt 2013-07-03 07:44:38 UTC (rev 107625)
+++ users/mojca/notes/Geant4.txt 2013-07-03 09:21:42 UTC (rev 107626)
@@ -29,6 +29,9 @@
/opt/local/lib/libQtCore.4.dylib (compatibility version 4.8.0, current version 4.8.2)
- What is /opt/local/lib/Geant4/Geant4.10.0/Geant4-10.0.0/Darwin-clang doing there?
- Try to move /opt/local/lib/Geant4/Geant4.10.0/Geant4-10.0.0 to a better place
+ according to http://www.cmake.org/Wiki/CMake/Tutorials/Packaging it should be
+ /opt/local/lib/Geant4/Geant4.10.0/Geant4-10.0.0, so maybe one should not change path to
+ /opt/local/lib/Geant4/Geant4.10.0 after all
- Try to move /opt/local/share/Geant4/Geant4-10.0.0/geant4make/config to a better place
- Check if /opt/local/share/Geant4/Geant4-10.0.0/geant4make/geant4make.sh works
- Fix scripts in /opt/local/libexec/Geant4/Geant4.10.0
@@ -40,7 +43,7 @@
Options:
- DATAROOTDIR: Geant automatically adds /Geant4-9.6.2 (any way to prevent this?)
- INCLUDEDIR: /opt/local/include/Geant4/Geant4.9.6/Geant4 (any way to prevent double Geant4?)
-- CMake file are under /opt/local/lib/Geant4/Geant4.10.0/Geant4-9.6.2/*.cmake
+- CMake file are under /opt/local/lib/Geant4/Geant4.10.0/Geant4-9.6.2/*.cmake (there should be no Geant4/Geant4.10.0)
- CMAKE_INSTALL_BINDIR: this installs binaries to a non-default location;
- port select could be used to get the default installation, but all three scripts in bindir need patching to properly detect their location
Modified: users/mojca/ports/science/geant4-data/Portfile
===================================================================
--- users/mojca/ports/science/geant4-data/Portfile 2013-07-03 07:44:38 UTC (rev 107625)
+++ users/mojca/ports/science/geant4-data/Portfile 2013-07-03 09:21:42 UTC (rev 107626)
@@ -42,13 +42,12 @@
distfiles ${data.filename}.${data.version}${extract.suffix}
checksums md5 ${data.md5}
distname ${data.distname}${data.version}
- extract.dir ${destroot}${geant.datadir}
- pre-extract {
- xinstall -m 755 -d ${destroot}${geant.datadir}
- }
use_configure no
build {}
- destroot {}
+ destroot {
+ xinstall -m 755 -d ${destroot}${geant.datadir}
+ file rename ${workpath}/${distname} ${destroot}${geant.datadir}
+ }
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130703/4b220c61/attachment.html>
More information about the macports-changes
mailing list