# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 # $Id$ # I (Jochen Küpper) got explicit permission to distribute molden as a # MacPorts port, given that the source-code is always downloaded from # the authors webpage and we add a banner asking users to register at # the following web-page: http://www.cmbi.ru.nl/molden/form.html # # Feel free to update checksums whenever a stealth upgrade of molden is out... PortSystem 1.0 name molden version 4.6 revision 8 categories science graphics maintainers openmaintainer jochen homepage http://www.cmbi.ru.nl/molden/molden.html master_sites ftp://ftp.cmbi.ru.nl/pub/molgraph/molden/ distname molden${version} dist_subdir molden-${version}_${revision} checksums md5 ff4cee2697d3ba6fee0e662c52fd3205 \ sha1 1b3bc63e2feea682a5c55dbd8762e428d12fa2fb \ rmd160 810d0c2c6d8cd6c3bb5324cf4a2b22af47d0feea description Molecular graphics visualisation tool long_description Molden is a package for displaying Molecular Density from \ the Ab Initio packages GAMESS-UK , GAMESS-US and \ GAUSSIAN and the Semi-Empirical packages Mopac/Ampac, it \ also supports a number of other programs via the Molden Format. \ In order to keep up support for Molden, proof that \ it is being used outside the CMBI is required. \ Please register your copy of molden at: \ http://www.cmbi.ru.nl/molden/form.html platforms darwin depends_build port:gmake depends_lib port:gcc43 lib:libX11.6:XFree86 patchfiles patch-makefile.diff use_parallel_build yes use_configure no build.target molden build.cmd nice -n ${buildnicevalue} gmake -j${buildmakejobs} destroot { xinstall -W ${worksrcpath} molden ${destroot}${prefix}/bin xinstall -m 755 -d ${destroot}${prefix}/share/doc/molden xinstall -W ${worksrcpath} HISTORY ${destroot}${prefix}/share/doc/molden/ xinstall -W ${worksrcpath} README ${destroot}${prefix}/share/doc/molden/ xinstall -W ${worksrcpath} REGISTER ${destroot}${prefix}/share/doc/molden/ if { [variant_isset opengl] } { xinstall -W ${worksrcpath} moldenogl ${destroot}${prefix}/bin } } post-install { ui_msg "**************************************************" ui_msg "In order to keep up support for Molden, proof that" ui_msg "it is being used outside the CMBI is required." ui_msg "Please register your copy of molden at:" ui_msg "*** http://www.cmbi.ru.nl/molden/form.html ***" ui_msg "**************************************************" } variant opengl description "Install moldenogl OpenGL helper program" { depends_lib-append port:glut build.target-append moldenogl }