# $Id$ PortSystem 1.0 name rasmol version 2.7.4.2 set releasedate 10Apr08 description Molecular graphics visualisation tool categories science graphics chemistry platforms darwin maintainers nomaintainer license {GPL-2 RASLIC} homepage http://www.rasmol.org/ distname RasMol_${version} master_sites ${homepage}software/ \ http://www.bernstein-plus-sons.com/software/ checksums md5 80e4514c2522101a65fa109b85f748d5 \ sha1 2e8d15f430971379ad5d1930f3ecd4c0f7ede3f5 \ rmd160 c8480e36ca758601cc2341049ff2ca72ee64c629 depends_lib port:xorg-libXi patchfiles patch-Imakefile.diff \ patch-rasmol.h.diff post-patch { reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/Imakefile } worksrcdir ${distname}_${releasedate}/src use_xmkmf yes build.target rasmol destroot { xinstall -W ${worksrcpath}/../doc rasmol.1.gz ${destroot}${prefix}/share/man/man1 xinstall -W ${worksrcpath} rasmol ${destroot}${prefix}/bin xinstall -d ${destroot}${prefix}/share/${name} delete ${worksrcpath}/../data/CVS copy ${worksrcpath}/../data ${destroot}${prefix}/share/${name} xinstall -d ${destroot}${prefix}/share/doc/${name} delete ${worksrcpath}/../ChangeLog/CVS delete ${worksrcpath}/../html_graphics/CVS foreach f {ChangeLog ChangeLog.html ChangeLog.txt GPL NOTICE PROJECTS RASLIC README.html README.shtml README.txt TODO.html TODO.txt history.html html_graphics} { copy ${worksrcpath}/../${f} ${destroot}${prefix}/share/doc/${name} } foreach f {Licenses.txt NOTICE.html manualA4.pdf.gz manualUS.pdf.gz rasmol.doc rasmol.html refcardA4.pdf.gz refcardUS.pdf.gz} { copy ${worksrcpath}/../doc/${f} ${destroot}${prefix}/share/doc/${name} } xinstall -W ${worksrcpath}/../doc rasmol.hlp ${destroot}${prefix}/share/${name} } long_description \ RasMol is a molecular graphics program intended for the \ visualisation of proteins, nucleic acids and small \ molecules. The program is aimed at display, teaching and \ generation of publication quality images.