Files
ports/science/openstructure/Makefile
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

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, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00

46 lines
1.3 KiB
Makefile

# $FreeBSD$
PORTNAME= openstructure
DISTVERSION= 1.7.1
PORTREVISION= 9
CATEGORIES= science
MASTER_SITES= https://git.scicore.unibas.ch/schwede/${PORTNAME}/repository/${DISTVERSION}/archive.tar.gz?dummy=/
MAINTAINER= yuri@FreeBSD.org
COMMENT= Molecular modelling and visualization environment
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
DEPRECATED= Qt4 has been EOL since december 2015
EXPIRATION_DATE= 2019-03-15
BUILD_DEPENDS= fftw3>0:math/fftw3
LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \
libfftw3f.so:math/fftw3-float \
libpng16.so:graphics/png \
libtiff.so:graphics/tiff \
${PY_BOOST}
RUN_DEPENDS= ${PYNUMPY} \
bash:shells/bash
USES= cmake:outsource eigen:3 python pyqt:4 qt:4 shebangfix
SHEBANG_FILES= scripts/dng.in scripts/ost.in scripts/ost_config.in
USE_QT= corelib gui network opengl xml qmake_build moc_build rcc_build uic_build
USE_PYQT= core gui
USE_GL= gl glu
USE_LDCONFIG= yes
BINARY_ALIAS= python=${PYTHON_CMD}
CMAKE_ARGS= -DPYTHON_INCLUDE_PATH=${PYTHON_INCLUDEDIR} \
-DPYTHON_LIBRARIES=${PYTHON_LIBDIR} \
-DFREEBSD_BOOST_PYTHON_COMPONENT=python${PYTHON_VER:S/.//} \
-DFREEBSD_PYTHON_LIBRARY=python${PYTHON_VER}
USE_CXXSTD=c++98 # c++98 is needed until 1.8.0 to prevent C++ code build breakage
post-extract:
@${MV} ${WRKSRC}-* ${WRKSRC}
.include <bsd.port.mk>