1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

science/mmtf-cpp: Update 1.0.0 -> 1.1.0

This commit is contained in:
Yuri Victorovich 2022-10-03 06:59:07 -08:00
parent 73caab2375
commit e46456e59b
3 changed files with 26 additions and 27 deletions

View File

@ -1,7 +1,6 @@
PORTNAME= mmtf-cpp
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.0
PORTREVISION= 2
DISTVERSION= 1.1.0
CATEGORIES= science biology
MAINTAINER= yuri@FreeBSD.org
@ -12,37 +11,26 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${LOCALBASE}/include/msgpack.hpp:devel/msgpack
TEST_DEPENDS= catch>0:devel/catch
USES= cmake:testing compiler:c++11-lang localbase:ldflags
USES= cmake compiler:c++11-lang localbase:ldflags
USE_GITHUB= yes
GH_ACCOUNT= rcsb
GH_TUPLE= rcsb:mmtf:8c88834:x/mmtf_spec
GH_TUPLE= rcsb:mmtf:8c88834:x/submodules/mmtf_spec
CMAKE_TESTING_ON= mmtf_build_local BUILD_TESTS
NO_BUILD= yes
NO_ARCH= yes
PLIST_FILES= include/mmtf.hpp \
include/mmtf/binary_decoder.hpp \
include/mmtf/binary_encoder.hpp \
include/mmtf/decoder.hpp \
include/mmtf/encoder.hpp \
include/mmtf/errors.hpp \
include/mmtf/export_helpers.hpp \
include/mmtf/map_decoder.hpp \
include/mmtf/msgpack_decoder.hpp \
include/mmtf/object_encoders.hpp \
include/mmtf/structure_data.hpp
post-patch:
@cd ${WRKDIR} && ${LN} -s ${WRKSRC}/mmtf_spec # needed for testing
post-patch: # correct paths of test data to be accessible to the test executable
@${REINPLACE_CMD} -e '\
s|\.\./submodules/mmtf_spec|${WRKSRC}/submodules/mmtf_spec|g; \
s|\.\./temporary_test_data|${WRKSRC}/temporary_test_data|g' \
${WRKSRC}/tests/mmtf_tests.cpp
do-install:
cd ${WRKSRC} && ${COPYTREE_SHARE} include ${STAGEDIR}${PREFIX}
do-test:
@cd ${BUILD_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -Dmmtf_build_local=ON -DBUILD_TESTS=ON ${CMAKE_SOURCE_PATH} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
TIMESTAMP = 1549951746
SHA256 (rcsb-mmtf-cpp-v1.0.0_GH0.tar.gz) = 881f69c4bb56605fa63fd5ca50842facc4947f686cbf678ad04930674d714f40
SIZE (rcsb-mmtf-cpp-v1.0.0_GH0.tar.gz) = 59363
TIMESTAMP = 1664827785
SHA256 (rcsb-mmtf-cpp-v1.1.0_GH0.tar.gz) = 021173bdc1814b1d0541c4426277d39df2b629af53151999b137e015418f76c0
SIZE (rcsb-mmtf-cpp-v1.1.0_GH0.tar.gz) = 106527
SHA256 (rcsb-mmtf-8c88834_GH0.tar.gz) = 7c29eb9064e53ea447701b79764732a72ff53aa5adff25759e0e2b549c212cca
SIZE (rcsb-mmtf-8c88834_GH0.tar.gz) = 34499239

View File

@ -0,0 +1,11 @@
include/mmtf.hpp
include/mmtf/binary_decoder.hpp
include/mmtf/binary_encoder.hpp
include/mmtf/decoder.hpp
include/mmtf/encoder.hpp
include/mmtf/errors.hpp
include/mmtf/export_helpers.hpp
include/mmtf/map_decoder.hpp
include/mmtf/msgpack_decoders.hpp
include/mmtf/msgpack_encoders.hpp
include/mmtf/structure_data.hpp