2023-08-23 21:13:57 -04:00
|
|
|
# -*- 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
|
2023-08-24 18:47:53 -04:00
|
|
|
PortGroup legacysupport 1.1
|
2023-08-23 21:13:57 -04:00
|
|
|
|
2026-05-20 16:27:09 -04:00
|
|
|
github.setup PDB-REDO libcifpp 10.0.4 v
|
2023-08-23 21:13:57 -04:00
|
|
|
github.tarball_from archive
|
2026-05-23 22:46:42 -04:00
|
|
|
revision 1
|
2023-08-23 21:13:57 -04:00
|
|
|
|
|
|
|
|
categories science
|
|
|
|
|
license BSD
|
|
|
|
|
maintainers {reneeotten @reneeotten} openmaintainer
|
|
|
|
|
|
|
|
|
|
description Library containing code to manipulate mmCIF and PDB files
|
|
|
|
|
long_description {*}${description}
|
|
|
|
|
|
2026-05-20 16:27:09 -04:00
|
|
|
checksums rmd160 6a9dbeb96203f93fddf513b1bf1cd63eed9a82a4 \
|
|
|
|
|
sha256 4ef1386438b5032842c287b0629d5ffc4838d28fa91f384bdc57915dfca8fe9f \
|
|
|
|
|
size 3042692
|
2023-08-23 21:13:57 -04:00
|
|
|
|
2023-08-24 18:47:53 -04:00
|
|
|
# Needed for std::filesystem
|
|
|
|
|
legacysupport.newest_darwin_requires_legacy 18
|
2024-03-30 15:01:15 -04:00
|
|
|
legacysupport.use_mp_libcxx yes
|
2023-08-24 18:47:53 -04:00
|
|
|
|
2023-08-23 21:13:57 -04:00
|
|
|
# blacklisting to select C++20 capable compilers
|
|
|
|
|
compiler.blacklist-append {clang < 1300}
|
|
|
|
|
compiler.cxx_standard 2020
|
|
|
|
|
|
2026-05-23 22:46:42 -04:00
|
|
|
patchfiles-append patch-CMakeLists.txt.diff
|
|
|
|
|
|
2023-08-23 21:13:57 -04:00
|
|
|
configure.args-append \
|
2023-10-21 15:01:33 -04:00
|
|
|
-DBUILD_TESTING=OFF \
|
2023-08-23 21:13:57 -04:00
|
|
|
-DBUILD_SHARED_LIBS=ON \
|
|
|
|
|
-DCIFPP_INSTALL_UPDATE_SCRIPT=OFF \
|
|
|
|
|
-DCIFPP_DOWNLOAD_CCD=ON
|
|
|
|
|
# TODO: download the latest files in the "fetch" phase so that download option can be set to OFF
|
|
|
|
|
# install location should be: ${prefix}/share/libcifpp:
|
2026-04-13 16:15:09 -04:00
|
|
|
# https://files.wwpdb.org/pub/pdb/data/monomers/components.cif.gz --> components.cif
|
2023-08-23 21:13:57 -04:00
|
|
|
# https://mmcif.wwpdb.org/dictionaries/ascii/mmcif_pdbx_v50.dic.gz --> mmcif_pdbx.dic
|
|
|
|
|
# https://github.com/ihmwg/ModelCIF/raw/master/dist/mmcif_ma.dic --> mmcif_ma.dic
|
|
|
|
|
|
2025-12-03 10:22:09 -05:00
|
|
|
depends_build-append \
|
2026-05-23 22:46:42 -04:00
|
|
|
path:bin/pkg-config:pkgconfig \
|
|
|
|
|
port:fast-float
|
2025-12-03 10:22:09 -05:00
|
|
|
|
2023-08-23 21:13:57 -04:00
|
|
|
depends_lib-append path:share/pkgconfig/eigen3.pc:eigen3 \
|
2025-12-03 10:22:09 -05:00
|
|
|
port:pcre2 \
|
2026-05-23 22:46:42 -04:00
|
|
|
port:sqlite3 \
|
2023-08-23 21:13:57 -04:00
|
|
|
port:zlib
|