Skip to content

Commit

Permalink
science/libcifpp: Update 5.0.3-1 → 5.0.9
Browse files Browse the repository at this point in the history
Reported by:	portscout
  • Loading branch information
yurivict committed Jun 3, 2023
1 parent 6a21f3d commit 06944a3
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 12 deletions.
6 changes: 3 additions & 3 deletions science/libcifpp/Makefile
@@ -1,7 +1,6 @@
PORTNAME= libcifpp
DISTVERSIONPREFIX= v
DISTVERSION= 5.0.3-1
DISTVERSIONSUFFIX= -gdffbf52
DISTVERSION= 5.0.9
CATEGORIES= science
MASTER_SITES= ftp://ftp.wwpdb.org/pub/pdb/data/monomers/:components
DISTFILES= components.cif.gz:components
Expand All @@ -18,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libboost_iostreams.so:devel/boost-libs
RUN_DEPENDS= bash:shells/bash

USES= cmake:testing compiler:c++20-lang shebangfix
USES= cmake:testing compiler:c++20-lang eigen:3 shebangfix
USE_LDCONFIG= yes

USE_GITHUB= yes
Expand All @@ -33,5 +32,6 @@ CMAKE_TESTING_ON= ENABLE_TESTING
post-install:
@cd ${STAGEDIR}${PREFIX} && \
${RM} -r var etc/libcifpp etc/periodic
@${RM} -r ${STAGEDIR}/var/cache/libcifpp

.include <bsd.port.mk>
10 changes: 5 additions & 5 deletions science/libcifpp/distinfo
@@ -1,5 +1,5 @@
TIMESTAMP = 1668930323
SHA256 (libcifpp-5.0.3.1/components.cif.gz) = a799727c161086886846e8bb36b91b5d05989969a5299b71da0febf6edf338ab
SIZE (libcifpp-5.0.3.1/components.cif.gz) = 88345745
SHA256 (libcifpp-5.0.3.1/PDB-REDO-libcifpp-v5.0.3-1-gdffbf52_GH0.tar.gz) = f7283e3364f073e48098944749d1021f99da12538b43ad47af330d882f501bff
SIZE (libcifpp-5.0.3.1/PDB-REDO-libcifpp-v5.0.3-1-gdffbf52_GH0.tar.gz) = 1868095
TIMESTAMP = 1685771829
SHA256 (libcifpp-5.0.9/components.cif.gz) = 9b80eb00bfd9701c574d9773e59fda9dfa8310b3c6d9a43ff205f431abe5f076
SIZE (libcifpp-5.0.9/components.cif.gz) = 91711088
SHA256 (libcifpp-5.0.9/PDB-REDO-libcifpp-v5.0.9_GH0.tar.gz) = 9c6734a5f1332153e8f2bcfdcdd3c1b0e067ce859079c474ab0ef5a629ae9121
SIZE (libcifpp-5.0.9/PDB-REDO-libcifpp-v5.0.9_GH0.tar.gz) = 2240381
13 changes: 11 additions & 2 deletions science/libcifpp/files/patch-CMakeLists.txt
@@ -1,6 +1,6 @@
--- CMakeLists.txt.orig 2022-11-13 18:41:37 UTC
--- CMakeLists.txt.orig 2023-05-31 13:17:00 UTC
+++ CMakeLists.txt
@@ -285,7 +285,7 @@ if(CIFPP_DOWNLOAD_CCD)
@@ -310,7 +310,7 @@ if(CIFPP_DOWNLOAD_CCD)
find_program(GUNZIP gunzip)

if(GUNZIP)
Expand All @@ -9,3 +9,12 @@
SHOW_PROGRESS)
add_custom_command(OUTPUT ${COMPONENTS_CIF}
COMMAND ${GUNZIP} ${COMPONENTS_CIF}.gz
@@ -478,7 +478,7 @@ if(CIFPP_INSTALL_UPDATE_SCRIPT)
install(DIRECTORY DESTINATION "${CIFPP_ETC_DIR}/libcifpp/cache-update.d")

# a config to, to make it complete
- if(NOT EXISTS "${CIFPP_ETC_DIR}/libcifpp.conf")
+ if(TRUE OR NOT EXISTS "${CIFPP_ETC_DIR}/libcifpp.conf")
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/libcifpp.conf [[# Uncomment the next line to enable automatic updates
# update=true
]])
5 changes: 3 additions & 2 deletions science/libcifpp/pkg-plist
Expand Up @@ -6,13 +6,14 @@ include/cif++/compound.hpp
include/cif++/condition.hpp
include/cif++/datablock.hpp
include/cif++/dictionary_parser.hpp
include/cif++/exports.hpp
include/cif++/file.hpp
include/cif++/format.hpp
include/cif++/forward_decl.hpp
include/cif++/gzio.hpp
include/cif++/item.hpp
include/cif++/iterator.hpp
include/cif++/list.hpp
include/cif++/matrix.hpp
include/cif++/model.hpp
include/cif++/parser.hpp
include/cif++/pdb/cif2pdb.hpp
Expand All @@ -32,7 +33,7 @@ lib/cmake/cifpp/cifppTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/cifpp/cifppTargets.cmake
lib/libcifpp.so
lib/libcifpp.so.5
lib/libcifpp.so.5.0.5
lib/libcifpp.so.5.0.9
libdata/pkgconfig/libcifpp.pc
%%DATADIR%%/components.cif
%%DATADIR%%/mmcif_ddl.dic
Expand Down

0 comments on commit 06944a3

Please sign in to comment.