Revision: 144327 https://trac.macports.org/changeset/144327 Author: dstrubbe@macports.org Date: 2016-01-06 10:39:00 -0800 (Wed, 06 Jan 2016) Log Message: ----------- molden: Update, with some required tweaks to the makefile patch. Add some comments about stealth updates. Modified Paths: -------------- trunk/dports/science/molden/Portfile trunk/dports/science/molden/files/patch-makefile.diff Modified: trunk/dports/science/molden/Portfile =================================================================== --- trunk/dports/science/molden/Portfile 2016-01-06 18:25:55 UTC (rev 144326) +++ trunk/dports/science/molden/Portfile 2016-01-06 18:39:00 UTC (rev 144327) @@ -10,7 +10,7 @@ PortGroup compilers 1.0 name molden -version 5.4-20151211134500 +version 5.4-20160105102400 set version_number [lindex [split ${version} -] 0] set branch [join [lrange [split ${version_number} .] 0 1] .] categories science graphics chemistry @@ -22,8 +22,11 @@ dist_subdir ${name}/${version} master_sites ftp://ftp.cmbi.ru.nl/pub/molgraph/molden/ -checksums rmd160 24de5a26229bb955d64f1aa279de30e37b424828 \ - sha256 4b298b816f6f91b68e2a1a0149d8bc10d1c9fe7e497ed51cbbb9258119ba5b9e +# This project regularly makes "stealth updates". The version (with date) +# as well as checksums should be updated each time this happens. +# See https://trac.macports.org/wiki/PortfileRecipes#stealth-updates +checksums rmd160 c77f2142e04fb0d5daf2ee2d684862de71169932 \ + sha256 dbcbb1612673a41bf88acf51bf258493d595c85c11e386485f66da26cd01c25b description Molecular graphics visualisation tool long_description Molden is a package for displaying Molecular Density from \ Modified: trunk/dports/science/molden/files/patch-makefile.diff =================================================================== --- trunk/dports/science/molden/files/patch-makefile.diff 2016-01-06 18:25:55 UTC (rev 144326) +++ trunk/dports/science/molden/files/patch-makefile.diff 2016-01-06 18:39:00 UTC (rev 144327) @@ -9,10 +9,10 @@ ARCH := $(shell getconf LONG_BIT) AFLAG= -m$(ARCH) EXTEN= -@@ -31,10 +31,10 @@ - os := $(shell head -n 1 /etc/issue | cut -d" " -f1) +@@ -33,10 +33,10 @@ ifeq ($(os), Ubuntu) EXTEN = exten + EXTENZ = exten2 - LIBSG = -L/usr/X11R6/lib -lGLU -lGL -lX11 -lm + LIBSG = -L@PREFIX@/lib -lGLU -lGL -lX11 -lm endif @@ -22,7 +22,7 @@ endif choosefc := 'yes' -@@ -88,19 +88,12 @@ +@@ -90,19 +90,12 @@ ifeq ($(uname), Linux) FFLAGS = -g ${AFLAG} @@ -45,7 +45,7 @@ ifeq ($(os), FreeBSD) CFLAGS = ${CFLAGS} -DFREEBSD endif -@@ -111,11 +104,11 @@ +@@ -113,11 +106,11 @@ # Mac OS X g77 # CC=cc @@ -60,7 +60,7 @@ LDR = ${FC} endif -@@ -246,7 +239,7 @@ +@@ -248,7 +241,7 @@ # and the full opengl version of molden 'gmolden', (does not need glut) # (make gmolden) #
participants (1)
-
dstrubbe@macports.org