mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
46 lines
1.4 KiB
Tcl
46 lines
1.4 KiB
Tcl
# -*- 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 PDB-REDO dssp 4.6.1 v
|
|
github.tarball_from archive
|
|
revision 0
|
|
|
|
categories science
|
|
license BSD
|
|
maintainers {reneeotten @reneeotten} openmaintainer
|
|
|
|
description DSSP automates protein secondary structure assignment.
|
|
long_description {*}${description}
|
|
|
|
checksums rmd160 a491c1dbc9f7b18961c90833850a8da151e8e437 \
|
|
sha256 5ddb8274f03ac0338adffcd661989f515fffb95d40afca404cf2677024256ae3 \
|
|
size 247855
|
|
|
|
compiler.cxx_standard 2020
|
|
|
|
patchfiles-append patch-CMakeLists.txt.diff
|
|
|
|
depends_lib-append port:libcifpp \
|
|
port:libmcfp \
|
|
port:zlib \
|
|
port:fast-float
|
|
|
|
configure.args-append \
|
|
-DBUILD_SHARED_LIBS=ON \
|
|
-DINSTALL_LIBRARY=ON \
|
|
-DBUILD_TESTING=OFF
|
|
|
|
# ___atomic_store_8, ___atomic_load_8, ___atomic_fetch_add_8
|
|
# https://github.com/PDB-REDO/dssp/issues/84
|
|
if {[string match *gcc* ${configure.compiler}]} {
|
|
configure.ldflags-append \
|
|
-latomic
|
|
}
|
|
|
|
post-destroot {
|
|
file delete -force ${destroot}${prefix}/share/libcifpp/mmcif_pdbx.dic
|
|
}
|