[cig-commits] [commit] master: update the macports installation instructions. (3636c03)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Tue Mar 4 20:02:26 PST 2014


Repository : ssh://geoshell/relax

On branch  : master
Link       : https://github.com/geodynamics/relax/compare/db1b5c1faa54651a122f7782d0b1f2b0d621ce8d...3636c032c11009cef9eed4bf22bfbd4cdb1928e0

>---------------------------------------------------------------

commit 3636c032c11009cef9eed4bf22bfbd4cdb1928e0
Author: Sylvain Barbot <sbarbot at ntu.edu.sg>
Date:   Wed Mar 5 11:53:19 2014 +0800

    update the macports installation instructions.
    
    modified:   readme.txt


>---------------------------------------------------------------

3636c032c11009cef9eed4bf22bfbd4cdb1928e0
 release/ports/readme.txt | 27 ++++++++++++++++++---------
 1 file changed, 18 insertions(+), 9 deletions(-)

diff --git a/release/ports/readme.txt b/release/ports/readme.txt
index 211d473..c05d1b2 100644
--- a/release/ports/readme.txt
+++ b/release/ports/readme.txt
@@ -13,16 +13,25 @@ shasum -a 256 relax3d-1.0.4.tar.bz2
 openssl rmd160 relax3d-1.0.4.tar.bz2
 
 # copy the package.info file to fink
-sudo cp relax.info /sw/fink/dists/local/main/finkinfo/
+mkdir -p ~/ports/science/relax3d
+cp science/relax3d/Portfile ~/ports/science/relax3d
 
-# validate the package
-fink validate /sw/fink/dists/local/main/finkinfo/relax.info
+# update the repository list
+vi /opt/local/etc/macports/sources.conf
 
-# build the package
-fink -m --build-as-nobody rebuild relax
+# and insert the lines
+# 
+#   file:///Users/whoami/ports
 
-# check out the content of the package
-dpkg --contents /sw/fink/dists/local/main/binary-darwin-x86_64/relax_1.0.4-1_darwin-x86_64.deb 
+# update macports
+sudo port -v selfupdate
 
-# check the details of the fink package
-dpkg --info /sw/fink/dists/local/main/binary-darwin-x86_64/relax_1.0.4-1_darwin-x86_64.deb
+# update the portfile
+cd ~/ports
+sudo portindex
+
+# check for the package
+port search relax3d
+
+# install from the local repository
+sudo port install relax3d at 1.0.5



More information about the CIG-COMMITS mailing list