1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/science/mmtf-cpp/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

50 lines
1.3 KiB
Makefile

# $FreeBSD$
PORTNAME= mmtf-cpp
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.0
PORTREVISION= 2
CATEGORIES= science biology
MAINTAINER= yuri@FreeBSD.org
COMMENT= C++ MMTF format API, decoder and encoder, for molecular structures
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${LOCALBASE}/include/msgpack.hpp:devel/msgpack
USES= cmake compiler:c++11-lang localbase:ldflags
USE_GITHUB= yes
GH_ACCOUNT= rcsb
GH_TUPLE= rcsb:mmtf:8c88834:x/mmtf_spec
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
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>