# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup github 1.0 PortGroup cmake 1.1 github.setup rlabduke reduce 4.15 v # rename project to avoid conflict with already existing reduce port name reduce_pdb github.tarball_from archive revision 0 categories science # see: https://github.com/rlabduke/reduce/issues/45 license Permissive maintainers {reneeotten @reneeotten} openmaintainer description Tool for adding and correcting hydrogens in PDB files long_description {*}${description} checksums rmd160 0a2e98e0ce5a92bad1442d2b42689b326b3e6b6a \ sha256 f2f993e3f86ded38135d6433e0a7c2ed10fbe5da37f232c04d7316702582ed06 \ size 13281653 compiler.cxx_standard 2011 destroot { # rename the binary to avoid conflict with already existing reduce port xinstall -m 0755 ${workpath}/build/reduce_src/reduce ${destroot}${prefix}/bin/reduce_pdb xinstall -d ${destroot}${prefix}/share/${name} xinstall -m 0644 ${worksrcpath}/reduce_wwPDB_het_dict.txt ${destroot}${prefix}/share/${name}/reduce_wwPDB_het_dict.txt xinstall -d ${destroot}${prefix}/share/doc/${name} xinstall -m 0644 ${worksrcpath}/LICENSE.txt ${destroot}${prefix}/share/doc/${name}/LICENSE.txt } notes "The reduce executable is installed as 'reduce_pdb' to avoid a naming clash with the math/reduce port"