summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-05-18 07:22:51 +0000
committerJustin Lecher <jlec@gentoo.org>2010-05-18 07:22:51 +0000
commit6ea9a75bb3515477a10f3e437e6b82eac1b27d7f (patch)
treeb833cf1a5056270a5d13d36df56df39308dccaa8 /sci-chemistry
parentFix Spanish translation wrt bug #319703 (diff)
downloadhistorical-6ea9a75bb3515477a10f3e437e6b82eac1b27d7f.tar.gz
historical-6ea9a75bb3515477a10f3e437e6b82eac1b27d7f.tar.bz2
historical-6ea9a75bb3515477a10f3e437e6b82eac1b27d7f.zip
Fix for new python ABIs, #316187; building netcdf plugin, #306893, thanks Kamil Kisiel for the patch; LDFLAGS are respected now; EAPI=3 and basic fixes for prefix, usability has to be tested
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/vmd/ChangeLog10
-rw-r--r--sci-chemistry/vmd/Manifest12
-rw-r--r--sci-chemistry/vmd/files/vmd-1.8.7-config.patch976
-rw-r--r--sci-chemistry/vmd/files/vmd-1.8.7-gentoo.patch1204
-rw-r--r--sci-chemistry/vmd/vmd-1.8.7-r1.ebuild171
5 files changed, 2354 insertions, 19 deletions
diff --git a/sci-chemistry/vmd/ChangeLog b/sci-chemistry/vmd/ChangeLog
index b3eb6550c216..ad9cdc020285 100644
--- a/sci-chemistry/vmd/ChangeLog
+++ b/sci-chemistry/vmd/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sci-chemistry/vmd
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/vmd/ChangeLog,v 1.27 2010/02/23 18:00:14 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/vmd/ChangeLog,v 1.28 2010/05/18 07:22:51 jlec Exp $
+
+*vmd-1.8.7-r1 (18 May 2010)
+
+ 18 May 2010; Justin Lecher <jlec@gentoo.org> +vmd-1.8.7-r1.ebuild,
+ files/vmd-1.8.7-config.patch, +files/vmd-1.8.7-gentoo.patch:
+ Fix for new python ABIs, #316187; building netcdf plugin, #306893, thanks
+ Kamil Kisiel for the patch; LDFLAGS are respected now; EAPI=3 and basic
+ fixes for prefix, usability has to be tested
23 Feb 2010; Alexey Shvetsov <alexxy@gentoo.org> vmd-1.8.6-r1.ebuild,
vmd-1.8.7.ebuild, metadata.xml:
diff --git a/sci-chemistry/vmd/Manifest b/sci-chemistry/vmd/Manifest
index f056f3226616..1fb9a2c6b882 100644
--- a/sci-chemistry/vmd/Manifest
+++ b/sci-chemistry/vmd/Manifest
@@ -6,7 +6,8 @@ AUX vmd-1.8.6-config-gentoo.patch 4666 RMD160 1fb149ab58292f42abbe4d658aff0334d3
AUX vmd-1.8.6-fix-crash-on-tcl8.5.patch 1355 RMD160 19f86942aabda74eb5726346b84012b6509b67f1 SHA1 921c554d9a6e296251ce01e22f5bf03c7bcc8841 SHA256 98bcd0c524f0392a12149c5d6ab15cff489edf1092315a74110f655de482ca4e
AUX vmd-1.8.6-python-2.5.patch 860 RMD160 4f9f83800e0f5083fcd32a016404c909da4042a6 SHA1 bb401cccbb18428cc0fdce5cf4b5fd3a910a9cea SHA256 652e5dbb44d2c14c13886e9e7bc2677287bfdd520e7489547cffc2331b39d7ec
AUX vmd-1.8.6-tcltk8.5.patch 2348 RMD160 d1661e1effd1ab35def56cbd53601801427f96a0 SHA1 b7b7fd68cb6e9c8fea12c4544179daaada5dd36b SHA256 d1e39f5d67af22281ccf1bf56e1360778e03d1b1ea6c6c184a0d269f49edee2c
-AUX vmd-1.8.7-config.patch 5960 RMD160 3cc9368c09525328a2fde0b9322e55b60f86d675 SHA1 22af045aa42113ecddb8245387d3e60cb133570a SHA256 a838a8ef8be710c2ed5cec9d0ad47055e47cbc649b9187ba8b7d551e342ad39a
+AUX vmd-1.8.7-config.patch 32688 RMD160 4c00624d91dfdb3890bdce34bd14a58391c76f06 SHA1 14a5354e708e5e675a2d8ebb08ebd0703a6bb89b SHA256 12025c25a7093211a8b75fbc24f5013071ddcaed22fe2fc03ed073dc8d86d4f0
+AUX vmd-1.8.7-gentoo.patch 39209 RMD160 3078ba58c691684cd342c7ea3fbf8e0d23f77399 SHA1 ed0cbb1fabe9a5fc67a00c3d4cedc18681f107b2 SHA256 afb312f5b1066b82f8aa17bdd88bded7beec99f67cd8646906f4d04af2eccd37
AUX vmd-1.8.7-use-bash-startup.patch 717 RMD160 f061a9e4c90115b3eab42d754e66f62240b3fb69 SHA1 73001ba99f97ce484610593b50bafcbed7943889 SHA256 3f9a8c9f8f0f461b8dd3985d71265c942e655e56e1745b75c25f547821d4228c
AUX vmd.desktop 296 RMD160 83dbf38b9b90b42b1b913a8a4a572d5570e55f2e SHA1 077d414e2a1ba3fcbdac02559b9efdfeb26fa9dd SHA256 5008ea2c950955f416061a14c35a2b2146df29df290b7f5b1e2f3c48d7ce7d8d
AUX vmd.png 8365 RMD160 faea1a2dba00d47b39c06d303a18420a89489e10 SHA1 61ee9b247b540540d99d69fbebe685464a2eb105 SHA256 d83f568615ad954f582d986975997186fdacfd8f79c30f49d6aaf07ba2eb6aa7
@@ -14,13 +15,14 @@ DIST vmd-1.8.6.src.tar.gz 18045341 RMD160 66f8ee5a0313000ea8dd3cb79881fd26a2836a
DIST vmd-1.8.7.src.tar.gz 23853864 RMD160 1c4751552d7b3f376f91a4b28ee9d4a028ded01a SHA1 409b6f8959d551f581991073f98885b47c21c25c SHA256 72fe2fb7eff4c805a886ea929c7e143a3a1be57cc817b5d1719d29e591d80316
EBUILD vmd-1.8.6-r1.ebuild 4386 RMD160 5e23cb4d0be86df7327d711ed47c984b81a4fb57 SHA1 1ceaf844c5def28b411a7743008abfe11243c5a1 SHA256 ee63e4ef92723828a5825d9ad70981baafa06db7b0db64b7a1dcd8e8fecd7783
EBUILD vmd-1.8.6.ebuild 4299 RMD160 1e4bee161856b5996bbd1b61de1d5575c030804e SHA1 1a943a032e8699ea41b7aa135a2550e05fbfc77a SHA256 d5f4d08855fc4095bfd58099aae3a3e56c1db064e06bf9569f8ef71334f4734a
+EBUILD vmd-1.8.7-r1.ebuild 5238 RMD160 feb7f67d9c91066e0b726a7e900735ee7541bc1c SHA1 87fcf840c2a18d96b57cc869e614a53acc432fb0 SHA256 3cf1b7434843be40ff012fcf641eeabbd3f65d58330ff5f7d9fdcae7186ddcd4
EBUILD vmd-1.8.7.ebuild 4773 RMD160 cd5e31abe7ce16e474dfdaf1e1bcef4f3fa07ea8 SHA1 0dc141b0c90856be4bcca21dc0243965f6639a54 SHA256 5c117c17a4843591e2b2049e93bd09cad497e3f27da7cc24539b693d947a5782
-MISC ChangeLog 5088 RMD160 a134bdb211bf8e305d626f9ee6f07be0e8acc8bf SHA1 5a6f73e447c66749b4eca1c900dac42418b53a2e SHA256 32aca6373b64638c4ed06ed944ff0c50d6ddf37a3bf6ea666a7c678826e3e546
+MISC ChangeLog 5445 RMD160 e6430c0af370aed70321a98ac56ae1400aa79c24 SHA1 70ccb402d82f649ff38a672b94d5319d65b42cd5 SHA256 6290b5ca0fbeee4fcbb4796ffd9b53128c021e24bd6b0cd2a7efd385ab60f163
MISC metadata.xml 470 RMD160 8db746301d113b2039240036dd0c4c58c2a231c8 SHA1 56e25a98a48d31c6dfdc877326621dcb07b9c290 SHA256 28ba86d2d3878f8c4e8f584cc8ef2d0e464f73492d0a09bea2d22ead10682cd8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
-iEYEARECAAYFAkuEF8gACgkQ5BmOA85PVLjFAgCglXChmyCh2ZxI2/fM3gEfF9Bf
-eq0AoKkYpVpWCko3VYrHxMhhaoWetzYd
-=DCCm
+iEYEARECAAYFAkvyQFAACgkQgAnW8HDreRYO3wCfTaEygdU4atGqtfh9V2jSqp3p
+X8cAn2O5XVD+O4q6Dt2cC57AIb785Mi4
+=pFEe
-----END PGP SIGNATURE-----
diff --git a/sci-chemistry/vmd/files/vmd-1.8.7-config.patch b/sci-chemistry/vmd/files/vmd-1.8.7-config.patch
index 7850e9f32b6b..57d1bd9f6376 100644
--- a/sci-chemistry/vmd/files/vmd-1.8.7-config.patch
+++ b/sci-chemistry/vmd/files/vmd-1.8.7-config.patch
@@ -1,6 +1,923 @@
-diff -Naur vmd-1.8.7/configure vmd-1.8.7.new/configure
---- vmd-1.8.7/configure 2009-08-01 03:19:34.000000000 -0400
-+++ vmd-1.8.7.new/configure 2009-08-07 09:12:43.000000000 -0400
+diff --git a/plugins/Makefile b/plugins/Makefile
+index e2e5e5e..f2eabaf 100755
+--- a/plugins/Makefile
++++ b/plugins/Makefile
+@@ -4,7 +4,6 @@
+ ## Theoretical and Computational Biophysics Group
+ ##
+
+-.SILENT:
+
+ default: make-arch-help
+
+diff --git a/plugins/Makefile.newmultiseq b/plugins/Makefile.newmultiseq
+index c271b44..d00522c 100644
+--- a/plugins/Makefile.newmultiseq
++++ b/plugins/Makefile.newmultiseq
+@@ -4,7 +4,6 @@
+ ## Theoretical and Computational Biophysics Group
+ ##
+
+-.SILENT:
+
+ default: make-arch-help
+
+diff --git a/plugins/Makefile.orig b/plugins/Makefile.orig
+index e6406fd..6208576 100644
+--- a/plugins/Makefile.orig
++++ b/plugins/Makefile.orig
+@@ -4,7 +4,6 @@
+ ## Theoretical and Computational Biophysics Group
+ ##
+
+-.SILENT:
+
+ default: make-arch-help
+
+diff --git a/plugins/Makefile.rej b/plugins/Makefile.rej
+index 1b6ea67..d13aca1 100644
+--- a/plugins/Makefile.rej
++++ b/plugins/Makefile.rej
+@@ -3,7 +3,6 @@
+ # Makefile for molecule file readers
+ # $Id: vmd-1.8.7-config.patch,v 1.3 2010/05/18 07:22:51 jlec Exp $
+
+-- .SILENT:
+
+ .SUFFIXES:
+
+@@ -17,7 +16,6 @@
+ # Makefile for molecule file readers
+ # $Id: vmd-1.8.7-config.patch,v 1.3 2010/05/18 07:22:51 jlec Exp $
+
+-+ .SILENT:
+
+ .SUFFIXES:
+
+diff --git a/plugins/aligntool/Makefile b/plugins/aligntool/Makefile
+index 8155a6d..e4df74c 100644
+--- a/plugins/aligntool/Makefile
++++ b/plugins/aligntool/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = aligntool.tcl cealign.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/apbsrun/Makefile b/plugins/apbsrun/Makefile
+index aca0b4e..b86ee59 100644
+--- a/plugins/apbsrun/Makefile
++++ b/plugins/apbsrun/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = apbsrun.tcl pkgIndex.tcl radii.dat
+ VMVERSION = 1.3
+diff --git a/plugins/atomedit/Makefile b/plugins/atomedit/Makefile
+index 558606c..05d7f90 100644
+--- a/plugins/atomedit/Makefile
++++ b/plugins/atomedit/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = atomedit.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/autoimd/Makefile b/plugins/autoimd/Makefile
+index 9d432e4..7f0a802 100644
+--- a/plugins/autoimd/Makefile
++++ b/plugins/autoimd/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ AUTOIMDFILES = autoimd.tcl autoimd-settings.tcl autoimd-api.tcl autoimd-gui.tcl pkgIndex.tcl autoimd-template.namd doc/ug.pdf namdrun.tcl
+ AUTOIMDVERSION = 1.6
+diff --git a/plugins/autoionize/Makefile b/plugins/autoionize/Makefile
+index c74ad01..b392d3f 100644
+--- a/plugins/autoionize/Makefile
++++ b/plugins/autoionize/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = autoionize.tcl autoionizegui.tcl pkgIndex.tcl ions.top
+ VMVERSION = 1.2
+diff --git a/plugins/bignum/Makefile b/plugins/bignum/Makefile
+index 9c90f17..c35322d 100644
+--- a/plugins/bignum/Makefile
++++ b/plugins/bignum/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = bignum.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/biocore/Makefile b/plugins/biocore/Makefile
+index 887b592..d2919dd 100644
+--- a/plugins/biocore/Makefile
++++ b/plugins/biocore/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = biocore.tcl biocorechat.tcl biocorelogin.tcl biocorepubsync.tcl pkgIndex.tcl locked.gif unlocked.gif biocoreHelper.tcl biocoreutil.tcl
+
+diff --git a/plugins/catdcd/Makefile b/plugins/catdcd/Makefile
+index 7a8f0f8..ce75e33 100644
+--- a/plugins/catdcd/Makefile
++++ b/plugins/catdcd/Makefile
+@@ -1,6 +1,5 @@
+ # Makefile for catdcd
+
+-.SILENT:
+
+ .SUFFIXES:
+
+diff --git a/plugins/cgtools/Makefile b/plugins/cgtools/Makefile
+index adca18b..84bf723 100644
+--- a/plugins/cgtools/Makefile
++++ b/plugins/cgtools/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = cggui.tcl cgtools.tcl cgnetworking.tcl pkgIndex.tcl \
+ protein.cgc water.cgc rbcg-2007.par rbcg-2007.top
+diff --git a/plugins/cionize/.#Makefile.specialbuilds.1.1 b/plugins/cionize/.#Makefile.specialbuilds.1.1
+index 4672932..181ba85 100644
+--- a/plugins/cionize/.#Makefile.specialbuilds.1.1
++++ b/plugins/cionize/.#Makefile.specialbuilds.1.1
+@@ -1,6 +1,5 @@
+ # Makefile for cionize
+
+-#.SILENT:
+
+ .SUFFIXES:
+
+diff --git a/plugins/cionize/Makefile b/plugins/cionize/Makefile
+index c5fe136..f24fe29 100644
+--- a/plugins/cionize/Makefile
++++ b/plugins/cionize/Makefile
+@@ -1,6 +1,5 @@
+ # Makefile for cionize
+
+-#.SILENT:
+
+ .SUFFIXES:
+
+diff --git a/plugins/cionize/Makefile.mine b/plugins/cionize/Makefile.mine
+index 5ee841a..1588837 100644
+--- a/plugins/cionize/Makefile.mine
++++ b/plugins/cionize/Makefile.mine
+@@ -1,6 +1,5 @@
+ # Makefile for cionize
+
+-#.SILENT:
+
+ .SUFFIXES:
+
+diff --git a/plugins/cionize/Makefile.mine.old b/plugins/cionize/Makefile.mine.old
+index 48714b6..0dc4085 100644
+--- a/plugins/cionize/Makefile.mine.old
++++ b/plugins/cionize/Makefile.mine.old
+@@ -1,6 +1,5 @@
+ # Makefile for cionize
+
+-#.SILENT:
+
+ .SUFFIXES:
+
+diff --git a/plugins/cionize/Makefile.specialbuilds b/plugins/cionize/Makefile.specialbuilds
+index a529758..f85bcfe 100644
+--- a/plugins/cionize/Makefile.specialbuilds
++++ b/plugins/cionize/Makefile.specialbuilds
+@@ -1,6 +1,5 @@
+ # Makefile for cionize
+
+-#.SILENT:
+
+ .SUFFIXES:
+
+diff --git a/plugins/cionize/mcudahacks/Makefile.specialbuilds b/plugins/cionize/mcudahacks/Makefile.specialbuilds
+index e93cad2..dc7b632 100644
+--- a/plugins/cionize/mcudahacks/Makefile.specialbuilds
++++ b/plugins/cionize/mcudahacks/Makefile.specialbuilds
+@@ -1,6 +1,5 @@
+ # Makefile for cionize
+
+-#.SILENT:
+
+ .SUFFIXES:
+
+diff --git a/plugins/cliptool/Makefile b/plugins/cliptool/Makefile
+index 9c41370..679abbe 100644
+--- a/plugins/cliptool/Makefile
++++ b/plugins/cliptool/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = cliptool.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/clonerep/Makefile b/plugins/clonerep/Makefile
+index e8a4949..e101e56 100755
+--- a/plugins/clonerep/Makefile
++++ b/plugins/clonerep/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = clonerep.tcl pkgIndex.tcl
+ VMVERSION = 1.1
+diff --git a/plugins/clustalw/Makefile b/plugins/clustalw/Makefile
+index 6329f64..265bb85 100644
+--- a/plugins/clustalw/Makefile
++++ b/plugins/clustalw/Makefile
+@@ -1,6 +1,5 @@
+ # Makefile for clustalw
+
+-.SILENT:
+
+ .SUFFIXES:
+
+diff --git a/plugins/cluster/Makefile b/plugins/cluster/Makefile
+index 99d347e..a083e57 100644
+--- a/plugins/cluster/Makefile
++++ b/plugins/cluster/Makefile
+@@ -1,6 +1,5 @@
+ # Makefile for psfgen
+
+-.SILENT:
+
+ .SUFFIXES:
+
+diff --git a/plugins/colorscalebar/Makefile b/plugins/colorscalebar/Makefile
+index 1413898..f58074a 100644
+--- a/plugins/colorscalebar/Makefile
++++ b/plugins/colorscalebar/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = colorscalebar.tcl pkgIndex.tcl
+ VMVERSION = 1.2
+diff --git a/plugins/contactmap/Makefile b/plugins/contactmap/Makefile
+index 36f6b18..3336e41 100644
+--- a/plugins/contactmap/Makefile
++++ b/plugins/contactmap/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = contactmap.tcl pkgIndex.tcl
+ VMVERSION = 1.1
+diff --git a/plugins/dataimport/Makefile b/plugins/dataimport/Makefile
+index e63ebca..71b59fb 100644
+--- a/plugins/dataimport/Makefile
++++ b/plugins/dataimport/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = dataimport.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/demomaster/Makefile b/plugins/demomaster/Makefile
+index 6264d76..27a3d20 100644
+--- a/plugins/demomaster/Makefile
++++ b/plugins/demomaster/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = demomaster.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/dipwatch/Makefile b/plugins/dipwatch/Makefile
+index 7d36042..4af35c7 100755
+--- a/plugins/dipwatch/Makefile
++++ b/plugins/dipwatch/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = dipwatch.tcl pkgIndex.tcl
+ VMVERSION = 1.2
+diff --git a/plugins/doc/Makefile b/plugins/doc/Makefile
+index ed1ce9d..07ff534 100644
+--- a/plugins/doc/Makefile
++++ b/plugins/doc/Makefile
+@@ -1,7 +1,6 @@
+ #
+ # Plugin documentation Makefile
+ #
+-.SILENT:
+
+ ECHO = echo
+ DELETEDIR = rm -rf
+diff --git a/plugins/dowser/Makefile b/plugins/dowser/Makefile
+index 1795db3..d00cacc 100644
+--- a/plugins/dowser/Makefile
++++ b/plugins/dowser/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = dowser.tcl dowser_gui.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/exectool/Makefile b/plugins/exectool/Makefile
+index afa024d..6ba1889 100644
+--- a/plugins/exectool/Makefile
++++ b/plugins/exectool/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = exectool.tcl jobmanager.tcl pkgIndex.tcl
+ VMVERSION = 1.2
+diff --git a/plugins/extendedpdb/Makefile b/plugins/extendedpdb/Makefile
+index 9061aa1..5a5fb8f 100644
+--- a/plugins/extendedpdb/Makefile
++++ b/plugins/extendedpdb/Makefile
+@@ -1,4 +1,3 @@
+-#.SILENT:
+
+ VMFILES = extendedpdb.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/fmtool/Makefile b/plugins/fmtool/Makefile
+index 76a9e69..a3f320d 100644
+--- a/plugins/fmtool/Makefile
++++ b/plugins/fmtool/Makefile
+@@ -1,6 +1,5 @@
+ # Makefile for fmtool
+
+-.SILENT:
+
+ .SUFFIXES:
+
+diff --git a/plugins/gofrgui/Makefile b/plugins/gofrgui/Makefile
+index e192f02..7251884 100644
+--- a/plugins/gofrgui/Makefile
++++ b/plugins/gofrgui/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = gofrgui.tcl pkgIndex.tcl
+ VMVERSION = 1.1
+diff --git a/plugins/hbonds/Makefile b/plugins/hbonds/Makefile
+index 6bee92d..45f1fe3 100644
+--- a/plugins/hbonds/Makefile
++++ b/plugins/hbonds/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = hbonds.tcl pkgIndex.tcl
+ VMVERSION = 1.1
+diff --git a/plugins/idatm/Makefile b/plugins/idatm/Makefile
+index e23ca1c..4280b6a 100644
+--- a/plugins/idatm/Makefile
++++ b/plugins/idatm/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = idatm.tcl pkgIndex.tcl
+ VMVERSION = 0.1
+diff --git a/plugins/ilstools/Makefile b/plugins/ilstools/Makefile
+index e145c30..7cc9d1b 100644
+--- a/plugins/ilstools/Makefile
++++ b/plugins/ilstools/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ COPYFILES = ilstools.tcl pkgIndex.tcl oxygen.xyz nitricoxide.xyz \
+ carbonmonoxide.xyz carbondioxide.xyz ethene.xyz methane.xyz \
+diff --git a/plugins/imdmenu/Makefile b/plugins/imdmenu/Makefile
+index dca0e25..277f386 100644
+--- a/plugins/imdmenu/Makefile
++++ b/plugins/imdmenu/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ IMDMENUFILES = imdmenu.tcl pkgIndex.tcl
+ IMDMENUVERSION = 1.0
+diff --git a/plugins/inorganicbuilder/Makefile b/plugins/inorganicbuilder/Makefile
+index 8e0439a..4af2b0f 100755
+--- a/plugins/inorganicbuilder/Makefile
++++ b/plugins/inorganicbuilder/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = inorganicbuilder.tcl pkgIndex.tcl
+ VMVERSION = 0.1
+diff --git a/plugins/irspecgui/Makefile b/plugins/irspecgui/Makefile
+index 754ebc8..e86b09a 100755
+--- a/plugins/irspecgui/Makefile
++++ b/plugins/irspecgui/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = irspecgui.tcl pkgIndex.tcl
+ VMVERSION = 1.1
+diff --git a/plugins/jmvexport/Makefile b/plugins/jmvexport/Makefile
+index 7f45260..9eb996b 100644
+--- a/plugins/jmvexport/Makefile
++++ b/plugins/jmvexport/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = jmvexport.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/libbiokit/Makefile b/plugins/libbiokit/Makefile
+index 7a66d08..ba709a7 100644
+--- a/plugins/libbiokit/Makefile
++++ b/plugins/libbiokit/Makefile
+@@ -1,6 +1,5 @@
+ # Makefile for libbiokit
+
+-.SILENT:
+
+ .SUFFIXES:
+
+diff --git a/plugins/membrane/Makefile b/plugins/membrane/Makefile
+index f92c426..38a9c06 100644
+--- a/plugins/membrane/Makefile
++++ b/plugins/membrane/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = membrane.tcl pkgIndex.tcl \
+ popc_box.pdb popc_box.psf \
+diff --git a/plugins/mergestructs/Makefile b/plugins/mergestructs/Makefile
+index d6a4225..66ba9b2 100644
+--- a/plugins/mergestructs/Makefile
++++ b/plugins/mergestructs/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = mergestructs.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/molefacture/Makefile b/plugins/molefacture/Makefile
+index 96e70dc..8d10ef4 100644
+--- a/plugins/molefacture/Makefile
++++ b/plugins/molefacture/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = molefacture.tcl molefacture_builder.tcl \
+ molefacture_edit.tcl molefacture_geometry.tcl molefacture_gui.tcl \
+diff --git a/plugins/molfile_plugin/Makefile b/plugins/molfile_plugin/Makefile
+index 18fb6dc..f17bdda 100644
+--- a/plugins/molfile_plugin/Makefile
++++ b/plugins/molfile_plugin/Makefile
+@@ -1,7 +1,6 @@
+ # Makefile for molecule file readers
+ # $Id: vmd-1.8.7-config.patch,v 1.3 2010/05/18 07:22:51 jlec Exp $
+
+-.SILENT:
+
+ .SUFFIXES:
+
+diff --git a/plugins/molfile_plugin/src/cifplugin/Makefile b/plugins/molfile_plugin/src/cifplugin/Makefile
+index 1dfa768..88f4b7b 100644
+--- a/plugins/molfile_plugin/src/cifplugin/Makefile
++++ b/plugins/molfile_plugin/src/cifplugin/Makefile
+@@ -1,6 +1,5 @@
+ # Makefile for molecule file readers
+
+-.SILENT:
+
+ .SUFFIXES:
+
+diff --git a/plugins/moltoptools/Makefile b/plugins/moltoptools/Makefile
+index 3599cb7..8d80ec2 100644
+--- a/plugins/moltoptools/Makefile
++++ b/plugins/moltoptools/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = moltoptools.tcl pkgIndex.tcl
+ VMVERSION = 0.1
+diff --git a/plugins/multimolanim/Makefile b/plugins/multimolanim/Makefile
+index 09b4cb1..39b3139 100755
+--- a/plugins/multimolanim/Makefile
++++ b/plugins/multimolanim/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = multimolanim.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/multiplot/Makefile b/plugins/multiplot/Makefile
+index 520bf3e..a5b7bc5 100644
+--- a/plugins/multiplot/Makefile
++++ b/plugins/multiplot/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = multiplot.tcl pkgIndex.tcl
+ VMVERSION = 1.4
+diff --git a/plugins/multitext/Makefile b/plugins/multitext/Makefile
+index cc98bde..453c0da 100644
+--- a/plugins/multitext/Makefile
++++ b/plugins/multitext/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = multitext.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/namdenergy/Makefile b/plugins/namdenergy/Makefile
+index 9d4c11c..229f6cc 100644
+--- a/plugins/namdenergy/Makefile
++++ b/plugins/namdenergy/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = namdenergy.tcl pkgIndex.tcl
+ VMVERSION = 1.2
+diff --git a/plugins/namdgui/Makefile b/plugins/namdgui/Makefile
+index 2e25b19..c03d87b 100644
+--- a/plugins/namdgui/Makefile
++++ b/plugins/namdgui/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = namdgui.tcl namdgui_tclforces.tcl pkgIndex.tcl
+ VMVERSION = 1.2
+diff --git a/plugins/namdplot/Makefile b/plugins/namdplot/Makefile
+index e155387..88969e6 100644
+--- a/plugins/namdplot/Makefile
++++ b/plugins/namdplot/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = namdplot.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/namdserver/Makefile b/plugins/namdserver/Makefile
+index 378d203..84dcb24 100644
+--- a/plugins/namdserver/Makefile
++++ b/plugins/namdserver/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = namdserver.tcl pkgIndex.tcl
+ VMVERSION = 1.1
+diff --git a/plugins/nanotube/Makefile b/plugins/nanotube/Makefile
+index 6662cd5..deaf55c 100644
+--- a/plugins/nanotube/Makefile
++++ b/plugins/nanotube/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = nanotube.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/navfly/Makefile b/plugins/navfly/Makefile
+index 82d913b..0194be8 100644
+--- a/plugins/navfly/Makefile
++++ b/plugins/navfly/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = navfly.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/navigate/Makefile b/plugins/navigate/Makefile
+index 6d48c3e..cf18738 100644
+--- a/plugins/navigate/Makefile
++++ b/plugins/navigate/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ COPYFILES = navigate.tcl pkgIndex.tcl
+ DIR = $(PLUGINDIR)/noarch/tcl/navigate1.0
+diff --git a/plugins/nlenergy/Makefile b/plugins/nlenergy/Makefile
+index 8c028ca..3c295fd 100644
+--- a/plugins/nlenergy/Makefile
++++ b/plugins/nlenergy/Makefile
+@@ -1,6 +1,5 @@
+ # Makefile for nlenergy
+
+-.SILENT:
+
+ .SUFFIXES:
+
+diff --git a/plugins/optimization/Makefile b/plugins/optimization/Makefile
+index e38a9dc..4188e7f 100644
+--- a/plugins/optimization/Makefile
++++ b/plugins/optimization/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = optimization.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/palettetool/Makefile b/plugins/palettetool/Makefile
+index 6317657..166d423 100644
+--- a/plugins/palettetool/Makefile
++++ b/plugins/palettetool/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = palettetool.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/paratool/Makefile b/plugins/paratool/Makefile
+index 8f24cc1..cbf1618 100644
+--- a/plugins/paratool/Makefile
++++ b/plugins/paratool/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = paratool.tcl paratool_atomedit.tcl paratool_aux.tcl \
+ paratool_respcharges.tcl paratool_charmmcharges.tcl \
+diff --git a/plugins/pbctools/Makefile b/plugins/pbctools/Makefile
+index 164c456..bcf6851 100755
+--- a/plugins/pbctools/Makefile
++++ b/plugins/pbctools/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = pbcbox.tcl pbcgui.tcl pbcjoin.tcl pbcset.tcl pbctools.tcl \
+ pbcunwrap.tcl pbcwrap.tcl pkgIndex.tcl
+diff --git a/plugins/pdbtool/Makefile b/plugins/pdbtool/Makefile
+index c05579d..3f120c5 100644
+--- a/plugins/pdbtool/Makefile
++++ b/plugins/pdbtool/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = pdbtool.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/pmepot/Makefile b/plugins/pmepot/Makefile
+index 1858d13..fa6ac36 100644
+--- a/plugins/pmepot/Makefile
++++ b/plugins/pmepot/Makefile
+@@ -1,6 +1,5 @@
+ # Makefile for PME potential library
+
+-.SILENT:
+
+ .SUFFIXES:
+
+diff --git a/plugins/psfgen/Makefile b/plugins/psfgen/Makefile
+index d9c7c85..0d9b80e 100644
+--- a/plugins/psfgen/Makefile
++++ b/plugins/psfgen/Makefile
+@@ -1,6 +1,5 @@
+ # Makefile for psfgen
+
+-.SILENT:
+
+ .SUFFIXES:
+
+diff --git a/plugins/psfgen/Makefile.pluginio b/plugins/psfgen/Makefile.pluginio
+index 29444f2..28a6213 100644
+--- a/plugins/psfgen/Makefile.pluginio
++++ b/plugins/psfgen/Makefile.pluginio
+@@ -5,7 +5,6 @@
+ # them itself, but at the moment this is a good short-term development
+ # path until we write something better.
+
+-.SILENT:
+
+ .SUFFIXES:
+
+diff --git a/plugins/qmtool/Makefile b/plugins/qmtool/Makefile
+index a8aafff..2a45307 100644
+--- a/plugins/qmtool/Makefile
++++ b/plugins/qmtool/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = qmtool.tcl qmtool_analysis.tcl qmtool_atomedit.tcl \
+ qmtool_aux.tcl qmtool_charges.tcl qmtool_intcoor.tcl \
+diff --git a/plugins/ramaplot/Makefile b/plugins/ramaplot/Makefile
+index 29a1f23..be6e86a 100644
+--- a/plugins/ramaplot/Makefile
++++ b/plugins/ramaplot/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ FILES = ramaplot.tcl pkgIndex.tcl
+ VERSION = 1.1
+diff --git a/plugins/readcharmmpar/Makefile b/plugins/readcharmmpar/Makefile
+index fffb98e..d257edd 100644
+--- a/plugins/readcharmmpar/Makefile
++++ b/plugins/readcharmmpar/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = readcharmmpar.tcl par_all27_prot_lipid_na.inp pkgIndex.tcl par_amber2charmm.inp
+ VMVERSION = 1.1
+diff --git a/plugins/readcharmmtop/Makefile b/plugins/readcharmmtop/Makefile
+index 88c7ab5..c8cb771 100644
+--- a/plugins/readcharmmtop/Makefile
++++ b/plugins/readcharmmtop/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = readcharmmtop.tcl pkgIndex.tcl top_all27_prot_lipid_na.inp top_all27_hybrid.inp top_amber2charmm.inp
+ VMVERSION = 1.0
+diff --git a/plugins/resptool/Makefile b/plugins/resptool/Makefile
+index 1f20b70..80e01eb 100644
+--- a/plugins/resptool/Makefile
++++ b/plugins/resptool/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = resptool.tcl pkgIndex.tcl
+ VMVERSION = 1.1
+diff --git a/plugins/rmsd/Makefile b/plugins/rmsd/Makefile
+index 23df59b..c328322 100644
+--- a/plugins/rmsd/Makefile
++++ b/plugins/rmsd/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = rmsd.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/rmsdtt/Makefile b/plugins/rmsdtt/Makefile
+index c914531..62b14fd 100644
+--- a/plugins/rmsdtt/Makefile
++++ b/plugins/rmsdtt/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = rmsdtt.tcl pkgIndex.tcl
+ VMVERSION = 2.0
+diff --git a/plugins/rnaview/Makefile b/plugins/rnaview/Makefile
+index f020ca0..9ab6914 100644
+--- a/plugins/rnaview/Makefile
++++ b/plugins/rnaview/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = rnaview.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/ruler/Makefile b/plugins/ruler/Makefile
+index 146cc4c..a7864d1 100644
+--- a/plugins/ruler/Makefile
++++ b/plugins/ruler/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = ruler.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/runante/Makefile b/plugins/runante/Makefile
+index 0410d50..a8fbe81 100644
+--- a/plugins/runante/Makefile
++++ b/plugins/runante/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = runante.tcl pkgIndex.tcl
+ VMVERSION = 0.1
+diff --git a/plugins/saltbr/Makefile b/plugins/saltbr/Makefile
+index 7e4234a..f5358e2 100644
+--- a/plugins/saltbr/Makefile
++++ b/plugins/saltbr/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = saltbr.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/solvate/Makefile b/plugins/solvate/Makefile
+index b1c5d92..7dfcd9b 100644
+--- a/plugins/solvate/Makefile
++++ b/plugins/solvate/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ SOLVFILES = wat.top wat.pdb wat.psf solvate.tcl pkgIndex.tcl
+ SOLVVERSION = 1.3
+diff --git a/plugins/ssrestraints/Makefile b/plugins/ssrestraints/Makefile
+index 81b79d8..dca38e7 100644
+--- a/plugins/ssrestraints/Makefile
++++ b/plugins/ssrestraints/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = ssrestraints.tcl ssrestraints_stride.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/stamp/Makefile b/plugins/stamp/Makefile
+index f0fb515..715be81 100644
+--- a/plugins/stamp/Makefile
++++ b/plugins/stamp/Makefile
+@@ -1,6 +1,5 @@
+ # Makefile for stamp
+
+-.SILENT:
+
+ .SUFFIXES:
+
+diff --git a/plugins/stingtool/Makefile b/plugins/stingtool/Makefile
+index d7b84fe..477a97c 100644
+--- a/plugins/stingtool/Makefile
++++ b/plugins/stingtool/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = stingtool.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/symmetrytool/Makefile b/plugins/symmetrytool/Makefile
+index 43adc25..6898a43 100644
+--- a/plugins/symmetrytool/Makefile
++++ b/plugins/symmetrytool/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = symmetry.tcl pkgIndex.tcl
+ VMVERSION = 1.2
+diff --git a/plugins/textview/Makefile b/plugins/textview/Makefile
+index 5e35a4a..ba98391 100644
+--- a/plugins/textview/Makefile
++++ b/plugins/textview/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = textview.tcl pkgIndex.tcl
+ VMVERSION = 1.1
+diff --git a/plugins/timeline/Makefile b/plugins/timeline/Makefile
+index 3b9e7ac..a09c572 100644
+--- a/plugins/timeline/Makefile
++++ b/plugins/timeline/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = timeline.tcl pkgIndex.tcl
+ VMVERSION = 2.0
+diff --git a/plugins/topotools/Makefile b/plugins/topotools/Makefile
+index a8af827..beb4b54 100644
+--- a/plugins/topotools/Makefile
++++ b/plugins/topotools/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = pkgIndex.tcl README topotools.tcl topoatoms.tcl \
+ topobonds.tcl topoangles.tcl topodihedrals.tcl topoimpropers.tcl \
+diff --git a/plugins/trunctraj/Makefile b/plugins/trunctraj/Makefile
+index 624b3e6..991b4e1 100644
+--- a/plugins/trunctraj/Makefile
++++ b/plugins/trunctraj/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = trunctraj.tcl pkgIndex.tcl
+ VMVERSION = 1.5
+diff --git a/plugins/updater/Makefile b/plugins/updater/Makefile
+index 4e29538..3122421 100644
+--- a/plugins/updater/Makefile
++++ b/plugins/updater/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = updater.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/utilities/Makefile b/plugins/utilities/Makefile
+index df1ccf4..c18c048 100644
+--- a/plugins/utilities/Makefile
++++ b/plugins/utilities/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = utilities.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/vdna/Makefile b/plugins/vdna/Makefile
+index f994198..dd2d57b 100644
+--- a/plugins/vdna/Makefile
++++ b/plugins/vdna/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = vdna.tcl pkgIndex.tcl
+ VMVERSION = 2.0
+diff --git a/plugins/viewmaster/Makefile b/plugins/viewmaster/Makefile
+index c5d1625..8d25c7e 100644
+--- a/plugins/viewmaster/Makefile
++++ b/plugins/viewmaster/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = viewmaster.tcl pkgIndex.tcl
+ VMVERSION = 2.2
+diff --git a/plugins/vmdmovie/Makefile b/plugins/vmdmovie/Makefile
+index 10af8e2..cacc294 100644
+--- a/plugins/vmdmovie/Makefile
++++ b/plugins/vmdmovie/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = vmdmovie.tcl pkgIndex.tcl
+ VMVERSION = 1.7
+diff --git a/plugins/vmdtkcon/Makefile b/plugins/vmdtkcon/Makefile
+index 5f6a05d..04de94f 100644
+--- a/plugins/vmdtkcon/Makefile
++++ b/plugins/vmdtkcon/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ TKCONFILES = vmdtkcon.tcl tkcon-modified.tcl pkgIndex.tcl tkcon-2.3 README
+ DIR = $(PLUGINDIR)/noarch/tcl/vmdtkcon1.1
+diff --git a/plugins/volmapgui/Makefile b/plugins/volmapgui/Makefile
+index 9ece112..57ec111 100644
+--- a/plugins/volmapgui/Makefile
++++ b/plugins/volmapgui/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ COPYFILES = volmapgui.tcl pkgIndex.tcl
+ DIR = $(PLUGINDIR)/noarch/tcl/volmapgui1.1
+diff --git a/plugins/zoomseq/Makefile b/plugins/zoomseq/Makefile
+index aa95b41..66ee516 100644
+--- a/plugins/zoomseq/Makefile
++++ b/plugins/zoomseq/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = zoomseq.tcl pkgIndex.tcl
+ VMVERSION = 1.1
+diff --git a/vmd-1.8.7/configure b/vmd-1.8.7/configure
+index f01944a..051e04a 100755
+--- a/vmd-1.8.7/configure
++++ b/vmd-1.8.7/configure
@@ -13,10 +13,10 @@
$install_name = "vmd";
@@ -14,7 +931,7 @@ diff -Naur vmd-1.8.7/configure vmd-1.8.7.new/configure
# optionally override hard-coded defaults above with environment variables
-@@ -128,29 +128,6 @@
+@@ -128,29 +128,6 @@ if ($ENV{VMDINSTALLLIBRARYDIR}) {
# Configure script code begins here
############################################################################
@@ -44,7 +961,7 @@ diff -Naur vmd-1.8.7/configure vmd-1.8.7.new/configure
#################### Parse command line options ###########
# list of allowed architectures
@archlist=('IRIX6', 'IRIX6_64', 'FREEBSD', 'HPUX11', 'AIX4', 'AIX5', 'AIX5_64', 'AIX6_64', 'LINUX', 'LINUXALPHA', 'LINUXAMD64', 'LINUXIA64', 'LINUXPPC', 'LINUXPPC64', 'MACOSX', 'MACOSXX86', 'MACOSXX86_64', 'TRU64', 'SOLARIS2', 'SOLARIS2_64', 'SOLARISX86', 'SOLARISX86_64', 'WIN32', 'WIN64');
-@@ -435,7 +412,7 @@
+@@ -435,7 +412,7 @@ chop($arch_no_math_float);
################ Plugin options
#
@@ -53,7 +970,7 @@ diff -Naur vmd-1.8.7/configure vmd-1.8.7.new/configure
$plugin_include = "-I$plugin_dir/include";
$plugin_library = "";
$plugin_libs = "";
-@@ -448,7 +425,7 @@
+@@ -448,7 +425,7 @@ $plugin_defines = "";
@plugin_extra = ();
if ($config_staticplugin) {
@@ -62,7 +979,7 @@ diff -Naur vmd-1.8.7/configure vmd-1.8.7.new/configure
$plugin_include .= " -I$molfile_dir";
$plugin_library .= " -L$molfile_dir";
$plugin_libs .= " -lmolfile_plugin";
-@@ -550,8 +527,8 @@
+@@ -550,8 +527,8 @@ $fltkopengl_defines = "-DVMDOPENGL -DVMDFLTKOPENGL -DVMDGRAPHICS";
################ FLTK GUI
$fltk_defines = "-DVMDGUI -DVMDFLTK";
$fltk_dir = "$vmd_library_dir/fltk";
@@ -73,7 +990,7 @@ diff -Naur vmd-1.8.7/configure vmd-1.8.7.new/configure
$fltk_libs = "-lfltk -lX11";
#@fltk_cc = ('forms_ui.c');
@fltk_cu = ();
-@@ -612,8 +589,8 @@
+@@ -612,8 +589,8 @@ $tcl_include = "-I$stock_tcl_include_dir";
if ($config_tk) { $tcl_include .= " -I$stock_tk_include_dir"; }
$tcl_library = "-L$stock_tcl_library_dir";
if ($config_tk) { $tcl_library .= " -L$stock_tk_library_dir"; }
@@ -84,7 +1001,7 @@ diff -Naur vmd-1.8.7/configure vmd-1.8.7.new/configure
@tcl_cc = ();
@tcl_cu = ();
-@@ -938,8 +915,8 @@
+@@ -938,8 +915,8 @@ $cuda_libs = "-Wl,-rpath -Wl,\$\$ORIGIN/ -lcudart";
#######################
$netcdf_defines = "";
$netcdf_dir = "$vmd_library_dir/netcdf";
@@ -95,7 +1012,7 @@ diff -Naur vmd-1.8.7/configure vmd-1.8.7.new/configure
$netcdf_libs = "-lnetcdf";
@netcdf_cc = ();
@netcdf_cu = ();
-@@ -1007,9 +984,9 @@
+@@ -1007,9 +984,9 @@ $pthreads_libs = "-lpthread";
$python_defines = "-DVMDPYTHON";
$python_dir = "$vmd_library_dir/python";
$numpy_dir = "$vmd_library_dir/numpy";
@@ -108,7 +1025,7 @@ diff -Naur vmd-1.8.7/configure vmd-1.8.7.new/configure
@python_h = ('PythonTextInterp.h',
'VMDTkinterMenu.h',
'py_commands.h',
-@@ -1621,8 +1598,8 @@
+@@ -1621,8 +1598,8 @@ if ($config_arch eq "LINUX") {
# XFree 4.0 Direct Rendering Interface and GLX
$opengl_dir = "/usr/X11R6";
@@ -119,7 +1036,7 @@ diff -Naur vmd-1.8.7/configure vmd-1.8.7.new/configure
$opengl_libs = "-lGL -lGLU";
# $opengl_libs = "-L/usr/X11R6/lib -lGL -lGLU -lXext -lX11";
-@@ -1650,15 +1627,15 @@
+@@ -1650,15 +1627,15 @@ if ($config_arch eq "LINUX") {
$arch_lopts .= "-i-static ";
} else {
# compling with GCC
@@ -132,11 +1049,44 @@ diff -Naur vmd-1.8.7/configure vmd-1.8.7.new/configure
+ $arch_shld = "gentoo-g++ -shared";
$arch_shlibname = "so";
$arch_shcppopts = "-fPIC";
- $arch_shldopts = "";
+- $arch_shldopts = "";
- $arch_opt_flag = "-m32 -fno-for-scope -Wno-deprecated -Wall -O3";
- $arch_copts = "-m32 -Wall -O3";
++ $arch_shldopts = "gentoo-ldflags";
+ $arch_opt_flag = "gentoo-cflags";
+ $arch_copts = "gentoo-cflags";
if ($config_static) {
$arch_lopts = "-static";
+@@ -1768,7 +1745,7 @@ if ($config_arch eq "LINUXAMD64") {
+ $arch_template_repository = "foobar";
+ $arch_shlibname = "so";
+ $arch_shcppopts = "-fPIC";
+- $arch_shldopts = "";
++ $arch_shldopts = "gentoo-ldflags";
+
+ if ($config_static) {
+ # link everything statically (this won't work due to libGL issues)
+@@ -2804,8 +2781,7 @@ install:
+ -\$(COPY) ../data/.vmdrc ../data/.vmdsensors ../data/vmd_completion.dat "$install_library_dir"
+ \$(CD) $vmd_bin_dir ; \\
+ if [ -f run_vmd_tmp ]; then \$(DELETE) run_vmd_tmp; fi ; \\
+- if [ ! -x "/bin/csh" ]; then \\
+- \$(ECHO) "Info: /bin/csh shell not found, installing Bourne shell startup script instead" ; \\
++ if [ -x "/bin/bash" ]; then \\
+ \$(ECHO) '#!/bin/sh' >> run_vmd_tmp ; \\
+ \$(ECHO) 'defaultvmddir="$install_library_dir"' >> run_vmd_tmp ; \\
+ \$(ECHO) 'vmdbasename=vmd' >> run_vmd_tmp ; \\
+diff --git a/vmd-1.8.7/src/Makefile b/vmd-1.8.7/src/Makefile
+index 971a8c1..fe4c635 100755
+--- a/vmd-1.8.7/src/Makefile
++++ b/vmd-1.8.7/src/Makefile
+@@ -432,7 +432,7 @@ vmd_WIN32: y.tab.h $(VMD_OBJS)
+ if [ ! -r ./ ]; then \
+ ln -s ../src/ ./ ; \
+ fi; \
+- $(CCPP) $(CPPFLAGS) -I../src -o $@ $(VMD_OBJS) $(LOADLIBES) ;
++ $(CCPP) $(LDFLAGS) $(CPPFLAGS) -I../src -o $@ $(VMD_OBJS) $(LOADLIBES) ;
+ $(COMPILERC) $(RCFLAGS)
+
+ install:
diff --git a/sci-chemistry/vmd/files/vmd-1.8.7-gentoo.patch b/sci-chemistry/vmd/files/vmd-1.8.7-gentoo.patch
new file mode 100644
index 000000000000..c80ed09be17b
--- /dev/null
+++ b/sci-chemistry/vmd/files/vmd-1.8.7-gentoo.patch
@@ -0,0 +1,1204 @@
+diff --git a/plugins/Makefile b/plugins/Makefile
+index e2e5e5e..f2eabaf 100755
+--- a/plugins/Makefile
++++ b/plugins/Makefile
+@@ -4,7 +4,6 @@
+ ## Theoretical and Computational Biophysics Group
+ ##
+
+-.SILENT:
+
+ default: make-arch-help
+
+diff --git a/plugins/Makefile.newmultiseq b/plugins/Makefile.newmultiseq
+index c271b44..d00522c 100644
+--- a/plugins/Makefile.newmultiseq
++++ b/plugins/Makefile.newmultiseq
+@@ -4,7 +4,6 @@
+ ## Theoretical and Computational Biophysics Group
+ ##
+
+-.SILENT:
+
+ default: make-arch-help
+
+diff --git a/plugins/Makefile.orig b/plugins/Makefile.orig
+index e6406fd..6208576 100644
+--- a/plugins/Makefile.orig
++++ b/plugins/Makefile.orig
+@@ -4,7 +4,6 @@
+ ## Theoretical and Computational Biophysics Group
+ ##
+
+-.SILENT:
+
+ default: make-arch-help
+
+diff --git a/plugins/Makefile.rej b/plugins/Makefile.rej
+index 1b6ea67..d13aca1 100644
+--- a/plugins/Makefile.rej
++++ b/plugins/Makefile.rej
+@@ -3,7 +3,6 @@
+ # Makefile for molecule file readers
+ # $Id: vmd-1.8.7-gentoo.patch,v 1.1 2010/05/18 07:22:51 jlec Exp $
+
+-- .SILENT:
+
+ .SUFFIXES:
+
+@@ -17,7 +16,6 @@
+ # Makefile for molecule file readers
+ # $Id: vmd-1.8.7-gentoo.patch,v 1.1 2010/05/18 07:22:51 jlec Exp $
+
+-+ .SILENT:
+
+ .SUFFIXES:
+
+diff --git a/plugins/aligntool/Makefile b/plugins/aligntool/Makefile
+index 8155a6d..e4df74c 100644
+--- a/plugins/aligntool/Makefile
++++ b/plugins/aligntool/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = aligntool.tcl cealign.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/apbsrun/Makefile b/plugins/apbsrun/Makefile
+index aca0b4e..b86ee59 100644
+--- a/plugins/apbsrun/Makefile
++++ b/plugins/apbsrun/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = apbsrun.tcl pkgIndex.tcl radii.dat
+ VMVERSION = 1.3
+diff --git a/plugins/atomedit/Makefile b/plugins/atomedit/Makefile
+index 558606c..05d7f90 100644
+--- a/plugins/atomedit/Makefile
++++ b/plugins/atomedit/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = atomedit.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/autoimd/Makefile b/plugins/autoimd/Makefile
+index 9d432e4..7f0a802 100644
+--- a/plugins/autoimd/Makefile
++++ b/plugins/autoimd/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ AUTOIMDFILES = autoimd.tcl autoimd-settings.tcl autoimd-api.tcl autoimd-gui.tcl pkgIndex.tcl autoimd-template.namd doc/ug.pdf namdrun.tcl
+ AUTOIMDVERSION = 1.6
+diff --git a/plugins/autoionize/Makefile b/plugins/autoionize/Makefile
+index c74ad01..b392d3f 100644
+--- a/plugins/autoionize/Makefile
++++ b/plugins/autoionize/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = autoionize.tcl autoionizegui.tcl pkgIndex.tcl ions.top
+ VMVERSION = 1.2
+diff --git a/plugins/bignum/Makefile b/plugins/bignum/Makefile
+index 9c90f17..c35322d 100644
+--- a/plugins/bignum/Makefile
++++ b/plugins/bignum/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = bignum.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/biocore/Makefile b/plugins/biocore/Makefile
+index 887b592..d2919dd 100644
+--- a/plugins/biocore/Makefile
++++ b/plugins/biocore/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = biocore.tcl biocorechat.tcl biocorelogin.tcl biocorepubsync.tcl pkgIndex.tcl locked.gif unlocked.gif biocoreHelper.tcl biocoreutil.tcl
+
+diff --git a/plugins/catdcd/Makefile b/plugins/catdcd/Makefile
+index 7a8f0f8..bbc4c01 100644
+--- a/plugins/catdcd/Makefile
++++ b/plugins/catdcd/Makefile
+@@ -1,6 +1,5 @@
+ # Makefile for catdcd
+
+-.SILENT:
+
+ .SUFFIXES:
+
+@@ -45,8 +44,8 @@ ${ARCHDIR}/catdcd.exe : ${CATDCDOBJS} ${COMPILEDIR}/lib_${ARCH}/molfile/libmolfi
+ LINK ${CATDCDOBJS} /OUT:${ARCHDIR}/catdcd.exe /LIBPATH:${COMPILEDIR}/lib_${ARCH}/molfile libmolfile_plugin.lib ${TCLLIB} ${TCLLDFLAGS} ${NETCDFLIB} ${NETCDFLDFLAGS}
+
+ # all other platforms
+-${ARCHDIR}/catdcd : ${CATDCDOBJS} ${COMPILEDIR}/lib_${ARCH}/molfile/libmolfile_plugin.a
+- ${CXX} ${CXXFLAGS} ${CATDCDOBJS} -o ${ARCHDIR}/catdcd -L${COMPILEDIR}/lib_${ARCH}/molfile -lmolfile_plugin ${TCLLIB} ${TCLLDFLAGS} ${NETCDFLIB} ${NETCDFLDFLAGS} -lm
++${ARCHDIR}/catdcd : ${CATDCDOBJS} ${COMPILEDIR}/lib_${ARCH}/molfile/libmolfile_plugin.a ${COMPILEDIR}/lib_${ARCH}/molfile/libmolfile_plugin.h
++ ${CXX} ${LDFLAGS} ${CXXFLAGS} ${CATDCDOBJS} -o ${ARCHDIR}/catdcd -L${COMPILEDIR}/lib_${ARCH}/molfile -lmolfile_plugin ${TCLLIB} ${TCLLDFLAGS} ${NETCDFLIB} ${NETCDFLDFLAGS} -lm
+
+ ${ARCHDIR}/hash.o: hash.h hash.c
+ ${CXX} ${CXXFLAGS} ${INCDIR} -c ${SRCDIR}/hash.c $(COPTO)${ARCHDIR}/hash.o
+diff --git a/plugins/cgtools/Makefile b/plugins/cgtools/Makefile
+index adca18b..84bf723 100644
+--- a/plugins/cgtools/Makefile
++++ b/plugins/cgtools/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = cggui.tcl cgtools.tcl cgnetworking.tcl pkgIndex.tcl \
+ protein.cgc water.cgc rbcg-2007.par rbcg-2007.top
+diff --git a/plugins/cionize/.#Makefile.specialbuilds.1.1 b/plugins/cionize/.#Makefile.specialbuilds.1.1
+index 4672932..181ba85 100644
+--- a/plugins/cionize/.#Makefile.specialbuilds.1.1
++++ b/plugins/cionize/.#Makefile.specialbuilds.1.1
+@@ -1,6 +1,5 @@
+ # Makefile for cionize
+
+-#.SILENT:
+
+ .SUFFIXES:
+
+diff --git a/plugins/cionize/Makefile b/plugins/cionize/Makefile
+index c5fe136..b72116f 100644
+--- a/plugins/cionize/Makefile
++++ b/plugins/cionize/Makefile
+@@ -1,6 +1,5 @@
+ # Makefile for cionize
+
+-#.SILENT:
+
+ .SUFFIXES:
+
+@@ -52,8 +51,8 @@ ${ARCHDIR}/cionize.exe : ${IONIZEOBJS} ${MGPOTOBJS} ${ARCHDIR}/cionize.o ${COMPI
+ LINK ${IONIZEOBJS} ${MGPOTOBJS} /OUT:${ARCHDIR}/cionize.exe /LIBPATH:${COMPILEDIR}/lib_${ARCH}/molfile libmolfile_plugin.lib ${TCLLIB} ${TCLLDFLAGS} ${NETCDFLIB} ${NETCDFLDFLAGS}
+
+ # all other platforms
+-${ARCHDIR}/cionize: ${IONIZEOBJS} ${MGPOTOBJS} ${ARCHDIR}/cionize.o ${COMPILEDIR}/lib_${ARCH}/molfile/libmolfile_plugin.a
+- ${CXX} ${CXXFLAGS} ${ARCHDIR}/cionize.o ${IONIZEOBJS} ${MGPOTOBJS} -o ${ARCHDIR}/cionize -L${COMPILEDIR}/lib_${ARCH}/molfile -lmolfile_plugin ${TCLLIB} ${TCLLDFLAGS} ${NETCDFLIB} ${NETCDFLDFLAGS} -lm
++${ARCHDIR}/cionize: ${IONIZEOBJS} ${MGPOTOBJS} ${ARCHDIR}/cionize.o ${COMPILEDIR}/lib_${ARCH}/molfile/libmolfile_plugin.a ${COMPILEDIR}/lib_${ARCH}/molfile/libmolfile_plugin.h
++ ${CXX} ${LDFLAGS} ${CXXFLAGS} ${ARCHDIR}/cionize.o ${IONIZEOBJS} ${MGPOTOBJS} -o ${ARCHDIR}/cionize -L${COMPILEDIR}/lib_${ARCH}/molfile -lmolfile_plugin ${TCLLIB} ${TCLLDFLAGS} ${NETCDFLIB} ${NETCDFLDFLAGS} -lm
+
+ ${ARCHDIR}/hash.o: hash.h hash.c
+ ${CC} ${CCFLAGS} ${INCDIR} -c ${SRCDIR}/hash.c $(COPTO)${ARCHDIR}/hash.o
+diff --git a/plugins/cionize/Makefile.mine b/plugins/cionize/Makefile.mine
+index 5ee841a..1588837 100644
+--- a/plugins/cionize/Makefile.mine
++++ b/plugins/cionize/Makefile.mine
+@@ -1,6 +1,5 @@
+ # Makefile for cionize
+
+-#.SILENT:
+
+ .SUFFIXES:
+
+diff --git a/plugins/cionize/Makefile.mine.old b/plugins/cionize/Makefile.mine.old
+index 48714b6..0dc4085 100644
+--- a/plugins/cionize/Makefile.mine.old
++++ b/plugins/cionize/Makefile.mine.old
+@@ -1,6 +1,5 @@
+ # Makefile for cionize
+
+-#.SILENT:
+
+ .SUFFIXES:
+
+diff --git a/plugins/cionize/Makefile.specialbuilds b/plugins/cionize/Makefile.specialbuilds
+index a529758..f85bcfe 100644
+--- a/plugins/cionize/Makefile.specialbuilds
++++ b/plugins/cionize/Makefile.specialbuilds
+@@ -1,6 +1,5 @@
+ # Makefile for cionize
+
+-#.SILENT:
+
+ .SUFFIXES:
+
+diff --git a/plugins/cionize/mcudahacks/Makefile.specialbuilds b/plugins/cionize/mcudahacks/Makefile.specialbuilds
+index e93cad2..dc7b632 100644
+--- a/plugins/cionize/mcudahacks/Makefile.specialbuilds
++++ b/plugins/cionize/mcudahacks/Makefile.specialbuilds
+@@ -1,6 +1,5 @@
+ # Makefile for cionize
+
+-#.SILENT:
+
+ .SUFFIXES:
+
+diff --git a/plugins/cliptool/Makefile b/plugins/cliptool/Makefile
+index 9c41370..679abbe 100644
+--- a/plugins/cliptool/Makefile
++++ b/plugins/cliptool/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = cliptool.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/clonerep/Makefile b/plugins/clonerep/Makefile
+index e8a4949..e101e56 100755
+--- a/plugins/clonerep/Makefile
++++ b/plugins/clonerep/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = clonerep.tcl pkgIndex.tcl
+ VMVERSION = 1.1
+diff --git a/plugins/clustalw/Makefile b/plugins/clustalw/Makefile
+index 6329f64..c343b1c 100644
+--- a/plugins/clustalw/Makefile
++++ b/plugins/clustalw/Makefile
+@@ -1,6 +1,5 @@
+ # Makefile for clustalw
+
+-.SILENT:
+
+ .SUFFIXES:
+
+@@ -66,7 +65,7 @@ OBJS = ${ARCHDIR}/alnscore.o \
+ ${ARCHDIR}/clustalw.exe: ${OBJS}
+ LINK ${OBJS} /OUT:${ARCHDIR}/clustalw.exe
+ ${ARCHDIR}/clustalw: ${OBJS}
+- ${CC} ${CCFLAGS} ${OBJS} -o ${ARCHDIR}/clustalw -lm
++ ${CC} ${LDFLAGS} ${CCFLAGS} ${OBJS} -o ${ARCHDIR}/clustalw -lm
+
+
+ # Objects.
+diff --git a/plugins/cluster/Makefile b/plugins/cluster/Makefile
+index 99d347e..dc542f1 100644
+--- a/plugins/cluster/Makefile
++++ b/plugins/cluster/Makefile
+@@ -1,6 +1,5 @@
+ # Makefile for psfgen
+
+-.SILENT:
+
+ .SUFFIXES:
+
+@@ -48,7 +47,7 @@ ${ARCHDIR}/cluster.exe : ${OBJS}
+
+ # all other platforms
+ ${ARCHDIR}/cluster : ${OBJS}
+- ${CXX} ${CXXFLAGS} ${OBJS} -o ${ARCHDIR}/cluster -lm
++ ${CXX} ${LDFLAGS} ${CXXFLAGS} ${OBJS} -o ${ARCHDIR}/cluster -lm
+
+ ${ARCHDIR}/cluster.o: ${SRCDIR}/cluster.c
+ ${CXX} ${CXXFLAGS} ${INCDIR} -c ${SRCDIR}/cluster.c $(COPTO)${ARCHDIR}/cluster.o
+diff --git a/plugins/colorscalebar/Makefile b/plugins/colorscalebar/Makefile
+index 1413898..f58074a 100644
+--- a/plugins/colorscalebar/Makefile
++++ b/plugins/colorscalebar/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = colorscalebar.tcl pkgIndex.tcl
+ VMVERSION = 1.2
+diff --git a/plugins/contactmap/Makefile b/plugins/contactmap/Makefile
+index 36f6b18..3336e41 100644
+--- a/plugins/contactmap/Makefile
++++ b/plugins/contactmap/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = contactmap.tcl pkgIndex.tcl
+ VMVERSION = 1.1
+diff --git a/plugins/dataimport/Makefile b/plugins/dataimport/Makefile
+index e63ebca..71b59fb 100644
+--- a/plugins/dataimport/Makefile
++++ b/plugins/dataimport/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = dataimport.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/demomaster/Makefile b/plugins/demomaster/Makefile
+index 6264d76..27a3d20 100644
+--- a/plugins/demomaster/Makefile
++++ b/plugins/demomaster/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = demomaster.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/dipwatch/Makefile b/plugins/dipwatch/Makefile
+index 7d36042..4af35c7 100755
+--- a/plugins/dipwatch/Makefile
++++ b/plugins/dipwatch/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = dipwatch.tcl pkgIndex.tcl
+ VMVERSION = 1.2
+diff --git a/plugins/doc/Makefile b/plugins/doc/Makefile
+index ed1ce9d..07ff534 100644
+--- a/plugins/doc/Makefile
++++ b/plugins/doc/Makefile
+@@ -1,7 +1,6 @@
+ #
+ # Plugin documentation Makefile
+ #
+-.SILENT:
+
+ ECHO = echo
+ DELETEDIR = rm -rf
+diff --git a/plugins/dowser/Makefile b/plugins/dowser/Makefile
+index 1795db3..d00cacc 100644
+--- a/plugins/dowser/Makefile
++++ b/plugins/dowser/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = dowser.tcl dowser_gui.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/exectool/Makefile b/plugins/exectool/Makefile
+index afa024d..6ba1889 100644
+--- a/plugins/exectool/Makefile
++++ b/plugins/exectool/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = exectool.tcl jobmanager.tcl pkgIndex.tcl
+ VMVERSION = 1.2
+diff --git a/plugins/extendedpdb/Makefile b/plugins/extendedpdb/Makefile
+index 9061aa1..5a5fb8f 100644
+--- a/plugins/extendedpdb/Makefile
++++ b/plugins/extendedpdb/Makefile
+@@ -1,4 +1,3 @@
+-#.SILENT:
+
+ VMFILES = extendedpdb.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/fmtool/Makefile b/plugins/fmtool/Makefile
+index 76a9e69..a3f320d 100644
+--- a/plugins/fmtool/Makefile
++++ b/plugins/fmtool/Makefile
+@@ -1,6 +1,5 @@
+ # Makefile for fmtool
+
+-.SILENT:
+
+ .SUFFIXES:
+
+diff --git a/plugins/gofrgui/Makefile b/plugins/gofrgui/Makefile
+index e192f02..7251884 100644
+--- a/plugins/gofrgui/Makefile
++++ b/plugins/gofrgui/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = gofrgui.tcl pkgIndex.tcl
+ VMVERSION = 1.1
+diff --git a/plugins/hbonds/Makefile b/plugins/hbonds/Makefile
+index 6bee92d..45f1fe3 100644
+--- a/plugins/hbonds/Makefile
++++ b/plugins/hbonds/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = hbonds.tcl pkgIndex.tcl
+ VMVERSION = 1.1
+diff --git a/plugins/idatm/Makefile b/plugins/idatm/Makefile
+index e23ca1c..4280b6a 100644
+--- a/plugins/idatm/Makefile
++++ b/plugins/idatm/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = idatm.tcl pkgIndex.tcl
+ VMVERSION = 0.1
+diff --git a/plugins/ilstools/Makefile b/plugins/ilstools/Makefile
+index e145c30..7cc9d1b 100644
+--- a/plugins/ilstools/Makefile
++++ b/plugins/ilstools/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ COPYFILES = ilstools.tcl pkgIndex.tcl oxygen.xyz nitricoxide.xyz \
+ carbonmonoxide.xyz carbondioxide.xyz ethene.xyz methane.xyz \
+diff --git a/plugins/imdmenu/Makefile b/plugins/imdmenu/Makefile
+index dca0e25..277f386 100644
+--- a/plugins/imdmenu/Makefile
++++ b/plugins/imdmenu/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ IMDMENUFILES = imdmenu.tcl pkgIndex.tcl
+ IMDMENUVERSION = 1.0
+diff --git a/plugins/inorganicbuilder/Makefile b/plugins/inorganicbuilder/Makefile
+index 8e0439a..4af2b0f 100755
+--- a/plugins/inorganicbuilder/Makefile
++++ b/plugins/inorganicbuilder/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = inorganicbuilder.tcl pkgIndex.tcl
+ VMVERSION = 0.1
+diff --git a/plugins/irspecgui/Makefile b/plugins/irspecgui/Makefile
+index 754ebc8..e86b09a 100755
+--- a/plugins/irspecgui/Makefile
++++ b/plugins/irspecgui/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = irspecgui.tcl pkgIndex.tcl
+ VMVERSION = 1.1
+diff --git a/plugins/jmvexport/Makefile b/plugins/jmvexport/Makefile
+index 7f45260..9eb996b 100644
+--- a/plugins/jmvexport/Makefile
++++ b/plugins/jmvexport/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = jmvexport.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/libbiokit/Makefile b/plugins/libbiokit/Makefile
+index 7a66d08..12e1fd3 100644
+--- a/plugins/libbiokit/Makefile
++++ b/plugins/libbiokit/Makefile
+@@ -1,6 +1,5 @@
+ # Makefile for libbiokit
+
+-.SILENT:
+
+ .SUFFIXES:
+
+@@ -111,7 +110,7 @@ ${INTERFACESRCDIR}/tcl_libbiokit_wrap.cpp : ${INTERFACESRCDIR}/tcl_libbiokit.i
+ ${ARCHDIR}/percid.exe: ${ARCHDIR}/percid.o ${OBJS}
+ LINK ${ARCHDIR}/percid.o ${OBJS} /OUT:${ARCHDIR}/percid.exe
+ ${ARCHDIR}/percid: ${ARCHDIR}/percid.o ${OBJS}
+- ${CXX} ${CXXFLAGS} ${ARCHDIR}/percid.o ${OBJS} -o ${ARCHDIR}/percid -lm
++ ${CXX} ${LDFLAGS} ${CXXFLAGS} ${ARCHDIR}/percid.o ${OBJS} -o ${ARCHDIR}/percid -lm
+ ${ARCHDIR}/percid.o: ${UTILSRCDIR}/percid.cpp
+ ${CXX} ${CXXFLAGS} ${INCDIR} -c ${UTILSRCDIR}/percid.cpp $(COPTO)${ARCHDIR}/percid.o
+
+@@ -119,7 +118,7 @@ ${ARCHDIR}/percid.o: ${UTILSRCDIR}/percid.cpp
+ ${ARCHDIR}/qpair.exe: ${ARCHDIR}/qPair.o ${OBJS}
+ LINK ${ARCHDIR}/qPair.o ${OBJS} /OUT:${ARCHDIR}/qpair.exe
+ ${ARCHDIR}/qpair: ${ARCHDIR}/qPair.o ${OBJS}
+- ${CXX} ${CXXFLAGS} ${ARCHDIR}/qPair.o ${OBJS} -o ${ARCHDIR}/qpair -lm
++ ${CXX} ${LDFLAGS} ${CXXFLAGS} ${ARCHDIR}/qPair.o ${OBJS} -o ${ARCHDIR}/qpair -lm
+ ${ARCHDIR}/qPair.o: ${UTILSRCDIR}/qPair.cpp
+ ${CXX} ${CXXFLAGS} ${INCDIR} -c ${UTILSRCDIR}/qPair.cpp $(COPTO)${ARCHDIR}/qPair.o
+
+@@ -127,7 +126,7 @@ ${ARCHDIR}/qPair.o: ${UTILSRCDIR}/qPair.cpp
+ ${ARCHDIR}/rmsd.exe: ${ARCHDIR}/rmsd.o ${OBJS}
+ LINK ${ARCHDIR}/rmsd.o ${OBJS} /OUT:${ARCHDIR}/rmsd.exe
+ ${ARCHDIR}/rmsd: ${ARCHDIR}/rmsd.o ${OBJS}
+- ${CXX} ${CXXFLAGS} ${ARCHDIR}/rmsd.o ${OBJS} -o ${ARCHDIR}/rmsd -lm
++ ${CXX} ${LDFLAGS} ${CXXFLAGS} ${ARCHDIR}/rmsd.o ${OBJS} -o ${ARCHDIR}/rmsd -lm
+ ${ARCHDIR}/rmsd.o: ${UTILSRCDIR}/rmsd.cpp
+ ${CXX} ${CXXFLAGS} ${INCDIR} -c ${UTILSRCDIR}/rmsd.cpp $(COPTO)${ARCHDIR}/rmsd.o
+
+@@ -135,7 +134,7 @@ ${ARCHDIR}/rmsd.o: ${UTILSRCDIR}/rmsd.cpp
+ ${ARCHDIR}/q.exe: ${ARCHDIR}/Q.o ${OBJS}
+ LINK ${ARCHDIR}/Q.o ${OBJS} /OUT:${ARCHDIR}/q.exe
+ ${ARCHDIR}/q: ${ARCHDIR}/Q.o ${OBJS}
+- ${CXX} ${CXXFLAGS} ${ARCHDIR}/Q.o ${OBJS} -o ${ARCHDIR}/q -lm
++ ${CXX} ${LDFLAGS} ${CXXFLAGS} ${ARCHDIR}/Q.o ${OBJS} -o ${ARCHDIR}/q -lm
+ ${ARCHDIR}/Q.o: ${UTILSRCDIR}/Q.cpp
+ ${CXX} ${CXXFLAGS} ${INCDIR} -c ${UTILSRCDIR}/Q.cpp $(COPTO)${ARCHDIR}/Q.o
+
+@@ -143,7 +142,7 @@ ${ARCHDIR}/Q.o: ${UTILSRCDIR}/Q.cpp
+ ${ARCHDIR}/seqqr.exe: ${ARCHDIR}/seqqr.o ${OBJS}
+ LINK ${ARCHDIR}/seqqr.o ${OBJS} /OUT:${ARCHDIR}/seqqr.exe
+ ${ARCHDIR}/seqqr: ${ARCHDIR}/seqqr.o ${OBJS}
+- ${CXX} ${CXXFLAGS} ${ARCHDIR}/seqqr.o ${OBJS} -o ${ARCHDIR}/seqqr -lm
++ ${CXX} ${LDFLAGS} ${CXXFLAGS} ${ARCHDIR}/seqqr.o ${OBJS} -o ${ARCHDIR}/seqqr -lm
+ ${ARCHDIR}/seqqr.o: ${UTILSRCDIR}/seqqr.cpp
+ ${CXX} ${CXXFLAGS} ${INCDIR} -c ${UTILSRCDIR}/seqqr.cpp $(COPTO)${ARCHDIR}/seqqr.o
+
+@@ -151,7 +150,7 @@ ${ARCHDIR}/seqqr.o: ${UTILSRCDIR}/seqqr.cpp
+ ${ARCHDIR}/structqr.exe : ${ARCHDIR}/structqr.o ${OBJS}
+ LINK ${ARCHDIR}/structqr.o ${OBJS} /OUT:${ARCHDIR}/structqr.exe
+ ${ARCHDIR}/structqr: ${ARCHDIR}/structqr.o ${OBJS}
+- ${CXX} ${CXXFLAGS} ${ARCHDIR}/structqr.o ${OBJS} -o ${ARCHDIR}/structqr -lm
++ ${CXX} ${LDFLAGS} ${CXXFLAGS} ${ARCHDIR}/structqr.o ${OBJS} -o ${ARCHDIR}/structqr -lm
+ ${ARCHDIR}/structqr.o: ${UTILSRCDIR}/structqr.cpp
+ ${CXX} ${CXXFLAGS} ${INCDIR} -c ${UTILSRCDIR}/structqr.cpp $(COPTO)${ARCHDIR}/structqr.o
+
+diff --git a/plugins/membrane/Makefile b/plugins/membrane/Makefile
+index f92c426..38a9c06 100644
+--- a/plugins/membrane/Makefile
++++ b/plugins/membrane/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = membrane.tcl pkgIndex.tcl \
+ popc_box.pdb popc_box.psf \
+diff --git a/plugins/mergestructs/Makefile b/plugins/mergestructs/Makefile
+index d6a4225..66ba9b2 100644
+--- a/plugins/mergestructs/Makefile
++++ b/plugins/mergestructs/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = mergestructs.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/molefacture/Makefile b/plugins/molefacture/Makefile
+index 96e70dc..8d10ef4 100644
+--- a/plugins/molefacture/Makefile
++++ b/plugins/molefacture/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = molefacture.tcl molefacture_builder.tcl \
+ molefacture_edit.tcl molefacture_geometry.tcl molefacture_gui.tcl \
+diff --git a/plugins/molfile_plugin/Makefile b/plugins/molfile_plugin/Makefile
+index 18fb6dc..f17bdda 100644
+--- a/plugins/molfile_plugin/Makefile
++++ b/plugins/molfile_plugin/Makefile
+@@ -1,7 +1,6 @@
+ # Makefile for molecule file readers
+ # $Id: vmd-1.8.7-gentoo.patch,v 1.1 2010/05/18 07:22:51 jlec Exp $
+
+-.SILENT:
+
+ .SUFFIXES:
+
+diff --git a/plugins/molfile_plugin/src/cifplugin/Makefile b/plugins/molfile_plugin/src/cifplugin/Makefile
+index 1dfa768..88f4b7b 100644
+--- a/plugins/molfile_plugin/src/cifplugin/Makefile
++++ b/plugins/molfile_plugin/src/cifplugin/Makefile
+@@ -1,6 +1,5 @@
+ # Makefile for molecule file readers
+
+-.SILENT:
+
+ .SUFFIXES:
+
+diff --git a/plugins/moltoptools/Makefile b/plugins/moltoptools/Makefile
+index 3599cb7..8d80ec2 100644
+--- a/plugins/moltoptools/Makefile
++++ b/plugins/moltoptools/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = moltoptools.tcl pkgIndex.tcl
+ VMVERSION = 0.1
+diff --git a/plugins/multimolanim/Makefile b/plugins/multimolanim/Makefile
+index 09b4cb1..39b3139 100755
+--- a/plugins/multimolanim/Makefile
++++ b/plugins/multimolanim/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = multimolanim.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/multiplot/Makefile b/plugins/multiplot/Makefile
+index 520bf3e..a5b7bc5 100644
+--- a/plugins/multiplot/Makefile
++++ b/plugins/multiplot/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = multiplot.tcl pkgIndex.tcl
+ VMVERSION = 1.4
+diff --git a/plugins/multitext/Makefile b/plugins/multitext/Makefile
+index cc98bde..453c0da 100644
+--- a/plugins/multitext/Makefile
++++ b/plugins/multitext/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = multitext.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/namdenergy/Makefile b/plugins/namdenergy/Makefile
+index 9d4c11c..229f6cc 100644
+--- a/plugins/namdenergy/Makefile
++++ b/plugins/namdenergy/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = namdenergy.tcl pkgIndex.tcl
+ VMVERSION = 1.2
+diff --git a/plugins/namdgui/Makefile b/plugins/namdgui/Makefile
+index 2e25b19..c03d87b 100644
+--- a/plugins/namdgui/Makefile
++++ b/plugins/namdgui/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = namdgui.tcl namdgui_tclforces.tcl pkgIndex.tcl
+ VMVERSION = 1.2
+diff --git a/plugins/namdplot/Makefile b/plugins/namdplot/Makefile
+index e155387..88969e6 100644
+--- a/plugins/namdplot/Makefile
++++ b/plugins/namdplot/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = namdplot.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/namdserver/Makefile b/plugins/namdserver/Makefile
+index 378d203..84dcb24 100644
+--- a/plugins/namdserver/Makefile
++++ b/plugins/namdserver/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = namdserver.tcl pkgIndex.tcl
+ VMVERSION = 1.1
+diff --git a/plugins/nanotube/Makefile b/plugins/nanotube/Makefile
+index 6662cd5..deaf55c 100644
+--- a/plugins/nanotube/Makefile
++++ b/plugins/nanotube/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = nanotube.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/navfly/Makefile b/plugins/navfly/Makefile
+index 82d913b..0194be8 100644
+--- a/plugins/navfly/Makefile
++++ b/plugins/navfly/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = navfly.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/navigate/Makefile b/plugins/navigate/Makefile
+index 6d48c3e..cf18738 100644
+--- a/plugins/navigate/Makefile
++++ b/plugins/navigate/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ COPYFILES = navigate.tcl pkgIndex.tcl
+ DIR = $(PLUGINDIR)/noarch/tcl/navigate1.0
+diff --git a/plugins/nlenergy/Makefile b/plugins/nlenergy/Makefile
+index 8c028ca..3c295fd 100644
+--- a/plugins/nlenergy/Makefile
++++ b/plugins/nlenergy/Makefile
+@@ -1,6 +1,5 @@
+ # Makefile for nlenergy
+
+-.SILENT:
+
+ .SUFFIXES:
+
+diff --git a/plugins/optimization/Makefile b/plugins/optimization/Makefile
+index e38a9dc..4188e7f 100644
+--- a/plugins/optimization/Makefile
++++ b/plugins/optimization/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = optimization.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/palettetool/Makefile b/plugins/palettetool/Makefile
+index 6317657..166d423 100644
+--- a/plugins/palettetool/Makefile
++++ b/plugins/palettetool/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = palettetool.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/paratool/Makefile b/plugins/paratool/Makefile
+index 8f24cc1..cbf1618 100644
+--- a/plugins/paratool/Makefile
++++ b/plugins/paratool/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = paratool.tcl paratool_atomedit.tcl paratool_aux.tcl \
+ paratool_respcharges.tcl paratool_charmmcharges.tcl \
+diff --git a/plugins/pbctools/Makefile b/plugins/pbctools/Makefile
+index 164c456..bcf6851 100755
+--- a/plugins/pbctools/Makefile
++++ b/plugins/pbctools/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = pbcbox.tcl pbcgui.tcl pbcjoin.tcl pbcset.tcl pbctools.tcl \
+ pbcunwrap.tcl pbcwrap.tcl pkgIndex.tcl
+diff --git a/plugins/pdbtool/Makefile b/plugins/pdbtool/Makefile
+index c05579d..3f120c5 100644
+--- a/plugins/pdbtool/Makefile
++++ b/plugins/pdbtool/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = pdbtool.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/pmepot/Makefile b/plugins/pmepot/Makefile
+index 1858d13..fa6ac36 100644
+--- a/plugins/pmepot/Makefile
++++ b/plugins/pmepot/Makefile
+@@ -1,6 +1,5 @@
+ # Makefile for PME potential library
+
+-.SILENT:
+
+ .SUFFIXES:
+
+diff --git a/plugins/psfgen/Makefile b/plugins/psfgen/Makefile
+index d9c7c85..0d9b80e 100644
+--- a/plugins/psfgen/Makefile
++++ b/plugins/psfgen/Makefile
+@@ -1,6 +1,5 @@
+ # Makefile for psfgen
+
+-.SILENT:
+
+ .SUFFIXES:
+
+diff --git a/plugins/psfgen/Makefile.pluginio b/plugins/psfgen/Makefile.pluginio
+index 29444f2..28a6213 100644
+--- a/plugins/psfgen/Makefile.pluginio
++++ b/plugins/psfgen/Makefile.pluginio
+@@ -5,7 +5,6 @@
+ # them itself, but at the moment this is a good short-term development
+ # path until we write something better.
+
+-.SILENT:
+
+ .SUFFIXES:
+
+diff --git a/plugins/qmtool/Makefile b/plugins/qmtool/Makefile
+index a8aafff..2a45307 100644
+--- a/plugins/qmtool/Makefile
++++ b/plugins/qmtool/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = qmtool.tcl qmtool_analysis.tcl qmtool_atomedit.tcl \
+ qmtool_aux.tcl qmtool_charges.tcl qmtool_intcoor.tcl \
+diff --git a/plugins/ramaplot/Makefile b/plugins/ramaplot/Makefile
+index 29a1f23..be6e86a 100644
+--- a/plugins/ramaplot/Makefile
++++ b/plugins/ramaplot/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ FILES = ramaplot.tcl pkgIndex.tcl
+ VERSION = 1.1
+diff --git a/plugins/readcharmmpar/Makefile b/plugins/readcharmmpar/Makefile
+index fffb98e..d257edd 100644
+--- a/plugins/readcharmmpar/Makefile
++++ b/plugins/readcharmmpar/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = readcharmmpar.tcl par_all27_prot_lipid_na.inp pkgIndex.tcl par_amber2charmm.inp
+ VMVERSION = 1.1
+diff --git a/plugins/readcharmmtop/Makefile b/plugins/readcharmmtop/Makefile
+index 88c7ab5..c8cb771 100644
+--- a/plugins/readcharmmtop/Makefile
++++ b/plugins/readcharmmtop/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = readcharmmtop.tcl pkgIndex.tcl top_all27_prot_lipid_na.inp top_all27_hybrid.inp top_amber2charmm.inp
+ VMVERSION = 1.0
+diff --git a/plugins/resptool/Makefile b/plugins/resptool/Makefile
+index 1f20b70..80e01eb 100644
+--- a/plugins/resptool/Makefile
++++ b/plugins/resptool/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = resptool.tcl pkgIndex.tcl
+ VMVERSION = 1.1
+diff --git a/plugins/rmsd/Makefile b/plugins/rmsd/Makefile
+index 23df59b..c328322 100644
+--- a/plugins/rmsd/Makefile
++++ b/plugins/rmsd/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = rmsd.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/rmsdtt/Makefile b/plugins/rmsdtt/Makefile
+index c914531..62b14fd 100644
+--- a/plugins/rmsdtt/Makefile
++++ b/plugins/rmsdtt/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = rmsdtt.tcl pkgIndex.tcl
+ VMVERSION = 2.0
+diff --git a/plugins/rnaview/Makefile b/plugins/rnaview/Makefile
+index f020ca0..9ab6914 100644
+--- a/plugins/rnaview/Makefile
++++ b/plugins/rnaview/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = rnaview.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/ruler/Makefile b/plugins/ruler/Makefile
+index 146cc4c..a7864d1 100644
+--- a/plugins/ruler/Makefile
++++ b/plugins/ruler/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = ruler.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/runante/Makefile b/plugins/runante/Makefile
+index 0410d50..a8fbe81 100644
+--- a/plugins/runante/Makefile
++++ b/plugins/runante/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = runante.tcl pkgIndex.tcl
+ VMVERSION = 0.1
+diff --git a/plugins/saltbr/Makefile b/plugins/saltbr/Makefile
+index 7e4234a..f5358e2 100644
+--- a/plugins/saltbr/Makefile
++++ b/plugins/saltbr/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = saltbr.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/solvate/Makefile b/plugins/solvate/Makefile
+index b1c5d92..7dfcd9b 100644
+--- a/plugins/solvate/Makefile
++++ b/plugins/solvate/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ SOLVFILES = wat.top wat.pdb wat.psf solvate.tcl pkgIndex.tcl
+ SOLVVERSION = 1.3
+diff --git a/plugins/ssrestraints/Makefile b/plugins/ssrestraints/Makefile
+index 81b79d8..dca38e7 100644
+--- a/plugins/ssrestraints/Makefile
++++ b/plugins/ssrestraints/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = ssrestraints.tcl ssrestraints_stride.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/stamp/Makefile b/plugins/stamp/Makefile
+index f0fb515..c077d53 100644
+--- a/plugins/stamp/Makefile
++++ b/plugins/stamp/Makefile
+@@ -1,6 +1,5 @@
+ # Makefile for stamp
+
+-.SILENT:
+
+ .SUFFIXES:
+
+@@ -101,7 +100,7 @@ OBJS = ${ARCHDIR}/a3to1.o \
+ ${ARCHDIR}/stamp.exe: ${OBJS}
+ LINK ${OBJS} /OUT:${ARCHDIR}/stamp.exe
+ ${ARCHDIR}/stamp: ${OBJS}
+- ${CC} ${CCFLAGS} ${OBJS} -o ${ARCHDIR}/stamp -lm
++ ${CC} ${LDFLAGS} ${CCFLAGS} ${OBJS} -o ${ARCHDIR}/stamp -lm
+
+
+ # Objects.
+diff --git a/plugins/stingtool/Makefile b/plugins/stingtool/Makefile
+index d7b84fe..477a97c 100644
+--- a/plugins/stingtool/Makefile
++++ b/plugins/stingtool/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = stingtool.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/symmetrytool/Makefile b/plugins/symmetrytool/Makefile
+index 43adc25..6898a43 100644
+--- a/plugins/symmetrytool/Makefile
++++ b/plugins/symmetrytool/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = symmetry.tcl pkgIndex.tcl
+ VMVERSION = 1.2
+diff --git a/plugins/textview/Makefile b/plugins/textview/Makefile
+index 5e35a4a..ba98391 100644
+--- a/plugins/textview/Makefile
++++ b/plugins/textview/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = textview.tcl pkgIndex.tcl
+ VMVERSION = 1.1
+diff --git a/plugins/timeline/Makefile b/plugins/timeline/Makefile
+index 3b9e7ac..a09c572 100644
+--- a/plugins/timeline/Makefile
++++ b/plugins/timeline/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = timeline.tcl pkgIndex.tcl
+ VMVERSION = 2.0
+diff --git a/plugins/topotools/Makefile b/plugins/topotools/Makefile
+index a8af827..beb4b54 100644
+--- a/plugins/topotools/Makefile
++++ b/plugins/topotools/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = pkgIndex.tcl README topotools.tcl topoatoms.tcl \
+ topobonds.tcl topoangles.tcl topodihedrals.tcl topoimpropers.tcl \
+diff --git a/plugins/trunctraj/Makefile b/plugins/trunctraj/Makefile
+index 624b3e6..991b4e1 100644
+--- a/plugins/trunctraj/Makefile
++++ b/plugins/trunctraj/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = trunctraj.tcl pkgIndex.tcl
+ VMVERSION = 1.5
+diff --git a/plugins/updater/Makefile b/plugins/updater/Makefile
+index 4e29538..3122421 100644
+--- a/plugins/updater/Makefile
++++ b/plugins/updater/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = updater.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/utilities/Makefile b/plugins/utilities/Makefile
+index df1ccf4..c18c048 100644
+--- a/plugins/utilities/Makefile
++++ b/plugins/utilities/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = utilities.tcl pkgIndex.tcl
+ VMVERSION = 1.0
+diff --git a/plugins/vdna/Makefile b/plugins/vdna/Makefile
+index f994198..dd2d57b 100644
+--- a/plugins/vdna/Makefile
++++ b/plugins/vdna/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = vdna.tcl pkgIndex.tcl
+ VMVERSION = 2.0
+diff --git a/plugins/viewmaster/Makefile b/plugins/viewmaster/Makefile
+index c5d1625..8d25c7e 100644
+--- a/plugins/viewmaster/Makefile
++++ b/plugins/viewmaster/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = viewmaster.tcl pkgIndex.tcl
+ VMVERSION = 2.2
+diff --git a/plugins/vmdmovie/Makefile b/plugins/vmdmovie/Makefile
+index 10af8e2..cacc294 100644
+--- a/plugins/vmdmovie/Makefile
++++ b/plugins/vmdmovie/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = vmdmovie.tcl pkgIndex.tcl
+ VMVERSION = 1.7
+diff --git a/plugins/vmdtkcon/Makefile b/plugins/vmdtkcon/Makefile
+index 5f6a05d..04de94f 100644
+--- a/plugins/vmdtkcon/Makefile
++++ b/plugins/vmdtkcon/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ TKCONFILES = vmdtkcon.tcl tkcon-modified.tcl pkgIndex.tcl tkcon-2.3 README
+ DIR = $(PLUGINDIR)/noarch/tcl/vmdtkcon1.1
+diff --git a/plugins/volmapgui/Makefile b/plugins/volmapgui/Makefile
+index 9ece112..57ec111 100644
+--- a/plugins/volmapgui/Makefile
++++ b/plugins/volmapgui/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ COPYFILES = volmapgui.tcl pkgIndex.tcl
+ DIR = $(PLUGINDIR)/noarch/tcl/volmapgui1.1
+diff --git a/plugins/zoomseq/Makefile b/plugins/zoomseq/Makefile
+index aa95b41..66ee516 100644
+--- a/plugins/zoomseq/Makefile
++++ b/plugins/zoomseq/Makefile
+@@ -1,4 +1,3 @@
+-.SILENT:
+
+ VMFILES = zoomseq.tcl pkgIndex.tcl
+ VMVERSION = 1.1
+diff --git a/vmd-1.8.7/configure b/vmd-1.8.7/configure
+index f01944a..2763347 100755
+--- a/vmd-1.8.7/configure
++++ b/vmd-1.8.7/configure
+@@ -13,10 +13,10 @@
+ $install_name = "vmd";
+
+ # Directory where VMD startup script is installed, should be in users' paths.
+-$install_bin_dir="/usr/local/bin";
++$install_bin_dir="gentoo-bindir";
+
+ # Directory where VMD files and executables are installed
+-$install_library_dir="/usr/local/lib/$install_name";
++$install_library_dir="gentoo-libdir/$install_name";
+
+
+ # optionally override hard-coded defaults above with environment variables
+@@ -128,29 +128,6 @@ if ($ENV{VMDINSTALLLIBRARYDIR}) {
+ # Configure script code begins here
+ ############################################################################
+
+-## Test for existence of a properly compiled plugin tree
+-if (!(-e "plugins")) {
+- print "\n";
+- print "VMD plugin directory not found.\n";
+- print "Please compile the VMD plugins and do 'make distrib' to copy them\n";
+- print "into a 'plugins' directory linked or located in this directory.\n";
+- print "Be sure your PLUGINDIR environment variable is set before running\n";
+- print "'make distrib' in the plugin build area.\n";
+- print "\n";
+- die "Halting configuration until VMD plugins are built.\n";
+-} else {
+- if (!(-e "plugins/include/vmdplugin.h")) {
+- print "\n";
+- print "VMD plugin include files or directory not found.\n";
+- print "Please compile the VMD plugins and do 'make distrib' to copy them\n";
+- print "into a 'plugins' directory linked or located in this directory.\n";
+- print "Be sure your PLUGINDIR environment variable is set before running\n";
+- print "'make distrib' in the plugin build area.\n";
+- print "\n";
+- die "Halting configuration until VMD plugins are built.\n";
+- }
+-}
+-
+ #################### Parse command line options ###########
+ # list of allowed architectures
+ @archlist=('IRIX6', 'IRIX6_64', 'FREEBSD', 'HPUX11', 'AIX4', 'AIX5', 'AIX5_64', 'AIX6_64', 'LINUX', 'LINUXALPHA', 'LINUXAMD64', 'LINUXIA64', 'LINUXPPC', 'LINUXPPC64', 'MACOSX', 'MACOSXX86', 'MACOSXX86_64', 'TRU64', 'SOLARIS2', 'SOLARIS2_64', 'SOLARISX86', 'SOLARISX86_64', 'WIN32', 'WIN64');
+@@ -435,7 +412,7 @@ chop($arch_no_math_float);
+
+ ################ Plugin options
+ #
+-$plugin_dir = "../plugins";
++$plugin_dir = "gentoo-plugindir";
+ $plugin_include = "-I$plugin_dir/include";
+ $plugin_library = "";
+ $plugin_libs = "";
+@@ -448,7 +425,7 @@ $plugin_defines = "";
+ @plugin_extra = ();
+
+ if ($config_staticplugin) {
+- $molfile_dir = "$plugin_dir/$config_arch/molfile";
++ $molfile_dir = "$plugin_dir/compile/lib_LINUX/molfile";
+ $plugin_include .= " -I$molfile_dir";
+ $plugin_library .= " -L$molfile_dir";
+ $plugin_libs .= " -lmolfile_plugin";
+@@ -550,8 +527,8 @@ $fltkopengl_defines = "-DVMDOPENGL -DVMDFLTKOPENGL -DVMDGRAPHICS";
+ ################ FLTK GUI
+ $fltk_defines = "-DVMDGUI -DVMDFLTK";
+ $fltk_dir = "$vmd_library_dir/fltk";
+-$fltk_include = "-I$fltk_dir/include";
+-$fltk_library = "-L$fltk_dir/$config_arch";
++$fltk_include = "-Igentoo-fltk-include";
++$fltk_library = "-Lgentoo-fltk-libs";
+ $fltk_libs = "-lfltk -lX11";
+ #@fltk_cc = ('forms_ui.c');
+ @fltk_cu = ();
+@@ -612,8 +589,8 @@ $tcl_include = "-I$stock_tcl_include_dir";
+ if ($config_tk) { $tcl_include .= " -I$stock_tk_include_dir"; }
+ $tcl_library = "-L$stock_tcl_library_dir";
+ if ($config_tk) { $tcl_library .= " -L$stock_tk_library_dir"; }
+-$tcl_libs = "-ltcl8.5";
+-if ($config_tk) { $tcl_libs = "-ltk8.5 -lX11 " . $tcl_libs; }
++$tcl_libs = "-ltcl";
++if ($config_tk) { $tcl_libs = "-ltk -lX11 " . $tcl_libs; }
+
+ @tcl_cc = ();
+ @tcl_cu = ();
+@@ -938,8 +915,8 @@ $cuda_libs = "-Wl,-rpath -Wl,\$\$ORIGIN/ -lcudart";
+ #######################
+ $netcdf_defines = "";
+ $netcdf_dir = "$vmd_library_dir/netcdf";
+-$netcdf_include = "-I$netcdf_dir/include";
+-$netcdf_library = "-L$netcdf_dir/lib_$config_arch";
++$netcdf_include = "-Igentoo-netcdf-include";
++$netcdf_library = "-Lgentoo-netcdf-libs";
+ $netcdf_libs = "-lnetcdf";
+ @netcdf_cc = ();
+ @netcdf_cu = ();
+@@ -1007,9 +984,9 @@ $pthreads_libs = "-lpthread";
+ $python_defines = "-DVMDPYTHON";
+ $python_dir = "$vmd_library_dir/python";
+ $numpy_dir = "$vmd_library_dir/numpy";
+-$python_include = "-I$python_dir/lib_$config_arch/include/python2.5 -I$numpy_dir/lib_$config_arch/include -I$python_dir/lib_$config_arch/lib/python2.5/site-packages/numpy/core/include";
+-$python_library = "-L$python_dir/lib_$config_arch/lib/python2.5/config";
+-$python_libs = "-lpython2.5 -lpthread";
++$python_include = "-Igentoo-python-include -Igentoo-numpy-include";
++$python_library = "-Lgentoo-python-lib";
++$python_libs = "-lgentoo-python-link -lpthread";
+ @python_h = ('PythonTextInterp.h',
+ 'VMDTkinterMenu.h',
+ 'py_commands.h',
+@@ -1621,8 +1598,8 @@ if ($config_arch eq "LINUX") {
+
+ # XFree 4.0 Direct Rendering Interface and GLX
+ $opengl_dir = "/usr/X11R6";
+- $opengl_include = "-I$opengl_dir/include";
+- $opengl_library = "-L$opengl_dir/lib";
++ $opengl_include = "-Igentoo-opengl-include";
++ $opengl_library = "-Lgentoo-opengl-libs";
+ $opengl_libs = "-lGL -lGLU";
+ # $opengl_libs = "-L/usr/X11R6/lib -lGL -lGLU -lXext -lX11";
+
+@@ -1650,15 +1627,15 @@ if ($config_arch eq "LINUX") {
+ $arch_lopts .= "-i-static ";
+ } else {
+ # compling with GCC
+- $arch_cc = "gcc";
+- $arch_ccpp = "g++";
++ $arch_cc = "gentoo-gcc";
++ $arch_ccpp = "gentoo-g++";
+ $arch_depend_flag = "-MM";
+- $arch_shld = "g++ -shared";
++ $arch_shld = "gentoo-g++ -shared";
+ $arch_shlibname = "so";
+ $arch_shcppopts = "-fPIC";
+- $arch_shldopts = "";
+- $arch_opt_flag = "-m32 -fno-for-scope -Wno-deprecated -Wall -O3";
+- $arch_copts = "-m32 -Wall -O3";
++ $arch_shldopts = "gentoo-ldflags";
++ $arch_opt_flag = "gentoo-cflags";
++ $arch_copts = "gentoo-cflags";
+
+ if ($config_static) {
+ $arch_lopts = "-static";
+@@ -1768,7 +1745,7 @@ if ($config_arch eq "LINUXAMD64") {
+ $arch_template_repository = "foobar";
+ $arch_shlibname = "so";
+ $arch_shcppopts = "-fPIC";
+- $arch_shldopts = "";
++ $arch_shldopts = "gentoo-ldflags";
+
+ if ($config_static) {
+ # link everything statically (this won't work due to libGL issues)
+@@ -2766,7 +2743,7 @@ $config_progname: y.tab.h \$(VMD_OBJS)
+ if [ ! -r ./$arch_template_repository ]; then \\
+ ln -s $vmd_src_dir/$arch_template_repository ./$arch_template_repository ; \\
+ fi; \\
+- \$(CCPP) \$(CPPFLAGS) -I$vmd_src_dir -o \$\@ \$(VMD_OBJS) \$(LOADLIBES) ;
++ \$(CCPP) \$(LDFLAGS) \$(CPPFLAGS) -I$vmd_src_dir -o \$\@ \$(VMD_OBJS) \$(LOADLIBES) ;
+ \$(COMPILERC) \$(RCFLAGS)
+
+ install:
+@@ -2804,8 +2781,7 @@ install:
+ -\$(COPY) ../data/.vmdrc ../data/.vmdsensors ../data/vmd_completion.dat "$install_library_dir"
+ \$(CD) $vmd_bin_dir ; \\
+ if [ -f run_vmd_tmp ]; then \$(DELETE) run_vmd_tmp; fi ; \\
+- if [ ! -x "/bin/csh" ]; then \\
+- \$(ECHO) "Info: /bin/csh shell not found, installing Bourne shell startup script instead" ; \\
++ if [ -x "/bin/bash" ]; then \\
+ \$(ECHO) '#!/bin/sh' >> run_vmd_tmp ; \\
+ \$(ECHO) 'defaultvmddir="$install_library_dir"' >> run_vmd_tmp ; \\
+ \$(ECHO) 'vmdbasename=vmd' >> run_vmd_tmp ; \\
+diff --git a/vmd-1.8.7/src/Makefile b/vmd-1.8.7/src/Makefile
+index 971a8c1..fe4c635 100755
+--- a/vmd-1.8.7/src/Makefile
++++ b/vmd-1.8.7/src/Makefile
+@@ -432,7 +432,7 @@ vmd_WIN32: y.tab.h $(VMD_OBJS)
+ if [ ! -r ./ ]; then \
+ ln -s ../src/ ./ ; \
+ fi; \
+- $(CCPP) $(CPPFLAGS) -I../src -o $@ $(VMD_OBJS) $(LOADLIBES) ;
++ $(CCPP) $(LDFLAGS) $(CPPFLAGS) -I../src -o $@ $(VMD_OBJS) $(LOADLIBES) ;
+ $(COMPILERC) $(RCFLAGS)
+
+ install:
diff --git a/sci-chemistry/vmd/vmd-1.8.7-r1.ebuild b/sci-chemistry/vmd/vmd-1.8.7-r1.ebuild
new file mode 100644
index 000000000000..0d228694d500
--- /dev/null
+++ b/sci-chemistry/vmd/vmd-1.8.7-r1.ebuild
@@ -0,0 +1,171 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/vmd/vmd-1.8.7-r1.ebuild,v 1.1 2010/05/18 07:22:51 jlec Exp $
+
+EAPI="3"
+
+PYTHON_DEPEND="2"
+
+inherit eutils multilib python toolchain-funcs
+
+DESCRIPTION="Visual Molecular Dynamics"
+HOMEPAGE="http://www.ks.uiuc.edu/Research/vmd/"
+SRC_URI="${P}.src.tar.gz"
+
+SLOT="0"
+LICENSE="vmd"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="tachyon"
+
+RESTRICT="fetch"
+
+# currently, tk-8.5* with USE=truetype breaks some
+# tk apps such as Sequence Viewer or Timeline.
+DEPEND="
+ || (
+ >=dev-lang/tk-8.5[-truetype]
+ =dev-lang/tk-8.4*
+ )
+ dev-lang/perl
+ dev-python/numpy
+ sci-biology/stride
+ sci-libs/netcdf
+ virtual/opengl
+ x11-libs/fltk:1.1
+ x11-libs/libXft"
+
+RDEPEND="${DEPEND}
+ x11-terms/xterm
+ tachyon? ( media-gfx/tachyon )"
+
+VMD_DOWNLOAD="http://www.ks.uiuc.edu/Development/Download/download.cgi?PackageName=VMD"
+# Binary only plugin!!
+QA_TEXTRELS="usr/lib*/vmd/plugins/LINUX/tcl/intersurf1.1/bin/intersurf.so"
+QA_PRESTRIPPED="usr/lib*/vmd/plugins/LINUX/tcl/intersurf1.1/bin/intersurf.so"
+QA_DT_HASH_amd64="usr/lib64/vmd/plugins/LINUX/tcl/intersurf1.1/bin/intersurf.so"
+QA_DT_HASH_x86="usr/lib/vmd/plugins/LINUX/tcl/intersurf1.1/bin/intersurf.so"
+
+pkg_nofetch() {
+ elog "Please download ${SRC_URI} from"
+ elog "${VMD_DOWNLOAD}"
+ elog "after agreeing to the license and then move it to "
+ elog "${DISTDIR}"
+}
+
+src_prepare() {
+ # apply LINUX-arch patches to vmd configure
+ cd "${WORKDIR}" && epatch "${FILESDIR}/${P}-gentoo.patch"
+
+ # prepare the plugins
+ cd "${WORKDIR}"/plugins
+
+ sed -e "s:CC = gcc:CC = $(tc-getCC):" \
+ -e "s:CXX = g++:CXX = $(tc-getCXX):" \
+ -e "s:COPTO =.*\":COPTO = -fPIC -o\":" \
+ -e "s:LOPTO = .*\":LOPTO = ${LDFLAGS} -fPIC -o\":" \
+ -e "s:CCFLAGS =.*\":CCFLAGS = ${CFLAGS}\":" \
+ -e "s:CXXFLAGS =.*\":CXXFLAGS = ${CXXFLAGS}\":" \
+ -e "s:SHLD = gcc:SHLD = $(tc-getCC):" \
+ -e "s:-ltcl8.5:-ltcl:" \
+ -i Make-arch || die "Failed to set up plugins Makefile"
+
+ # prepare vmd itself
+ cd "${S}"
+
+ sed -e "s:gentoo-bindir:${ED}/usr/bin:" \
+ -e "s:gentoo-libdir:${ED}/usr/$(get_libdir):" \
+ -i configure || die "failed to adjust install paths"
+
+ sed -e "s:gentoo-opengl-include:${EPREFIX}/usr/include/GL:" \
+ -e "s:gentoo-opengl-libs:${EPREFIX}/usr/$(get_libdir):" \
+ -i configure || die "failed to adjust OpenGL paths"
+
+ sed -e "s:gentoo-gcc:$(tc-getCC):" \
+ -e "s:gentoo-g++:$(tc-getCXX):" \
+ -e "s:gentoo-cflags:${CFLAGS}:" \
+ -e "s:gentoo-ldflags:${LDFLAGS}:g" \
+ -i configure || die "Failed to adjust C compiler/flags"
+
+ sed -e "s:gentoo-plugindir:${WORKDIR}/plugins:" \
+ -i configure || die "Failed to set up linking to plugin files"
+
+ sed -e "s:gentoo-fltk-include:${EPREFIX}/usr/include/fltk-1.1:" \
+ -e "s:gentoo-fltk-libs:${EPREFIX}/usr/$(get_libdir)/fltk-1.1:" \
+ -i configure || die "failed setting up fltk"
+
+ sed -e "s:gentoo-netcdf-include:${EPREFIX}/usr/include:" \
+ -e "s:gentoo-netcdf-libs:${EPREFIX}/usr/$(get_libdir):" \
+ -i configure || die "failed to set up netcdf"
+
+ local NUMPY_INCLUDE="numpy/core/include"
+ sed -e "s:gentoo-python-include:$(python_get_includedir):" \
+ -e "s:gentoo-python-lib:$(python_get_libdir):" \
+ -e "s:gentoo-python-link:$(PYTHON):" \
+ -e "s:gentoo-numpy-include:$(python_get_sitedir)/${NUMPY_INCLUDE}:" \
+ -i configure || die "failed setting up python"
+
+ sed -e "s:LINUXPPC:LINUX:g" \
+ -e "s:LINUXALPHA:LINUX:g" \
+ -e "s:LINUXAMD64:LINUX:g" \
+ -i "${S}"/bin/vmd.sh || die "failed setting up vmd wrapper script"
+}
+
+src_configure() {
+ local myconfig="LINUX OPENGL FLTK TK TCL PTHREADS PYTHON IMD NETCDF NUMPY"
+ rm -f configure.options && echo $myconfig >> configure.options
+
+ ./configure &> /dev/null || die "failed to configure"
+}
+
+src_compile() {
+ # build plugins
+ cd "${WORKDIR}"/plugins
+
+ emake -j1 \
+ LINUX TCLINC="-I${EPREFIX}/usr/include" \
+ TCLLIB="-L${EPREFIX}/usr/$(get_libdir)" \
+ NETCDFLIB="-L${EPREFIX}/usr/$(get_libdir)" \
+ NETCDFINC="-I${EPREFIX}/usr/include" \
+ NETCDFLDFLAGS="-lnetcdf" \
+ || die "failed to build plugins"
+
+ # build vmd
+ cd "${S}"/src
+ emake || die "failed to build vmd"
+}
+
+src_install() {
+ # install plugins
+ cd "${WORKDIR}"/plugins
+ PLUGINDIR=${D}/usr/$(get_libdir)/${PN}/plugins make distrib || \
+ die "failed to install plugins"
+
+ # install vmd
+ cd "${S}"/src
+ make install || die "failed to install vmd"
+
+ # export STRIDE_BIN so VMD knows where to find stride
+ echo "STRIDE_BIN=${EPREFIX}/usr/bin/stride" > "${T}"/99${PN} || \
+ die "Failed to create vmd env file"
+ doenvd "${T}"/99${PN} || die "Failed to install vmd env file"
+
+ # install docs
+ cd "${S}"
+ dodoc Announcement README doc/ig.pdf doc/ug.pdf
+
+ # remove some of the things we don't want and need in
+ # /usr/lib
+ cd "${ED}"/usr/$(get_libdir)/vmd
+ rm -fr doc README Announcement LICENSE || \
+ die "failed to clean up /usr/lib/vmd directory"
+
+ # adjust path in vmd wrapper
+ sed -e "s:${ED}::" -i "${ED}"/usr/bin/${PN} \
+ || die "failed to set up vmd wrapper script"
+
+ # install icon and generate desktop entry
+ insinto /usr/share/pixmaps
+ doins "${FILESDIR}"/vmd.png || die "Failed to install vmd icon"
+ insinto /usr/share/applications
+ doins "${FILESDIR}"/vmd.desktop || die "Failed to install desktop entry"
+}