mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
ea8c8ec7da
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
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# Created by: Klaus Aehlig <aehlig@linta.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= h5utils
|
|
DISTVERSION= 1.13.1
|
|
PORTREVISION= 5
|
|
CATEGORIES= science
|
|
|
|
MAINTAINER= aehlig@linta.de
|
|
COMMENT= Set of utilities for visualization and conversion of HDF5 format
|
|
|
|
LICENSE= MIT GPLv2
|
|
LICENSE_COMB= multi
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= gawk:lang/gawk
|
|
LIB_DEPENDS= libhdf5.so:science/hdf5 \
|
|
libpng.so:graphics/png \
|
|
libmatheval.so:devel/libmatheval
|
|
|
|
USES= autoreconf compiler:c++11-lang
|
|
GNU_CONFIGURE= yes
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= stevengj
|
|
|
|
CFLAGS+= -L${LOCALBASE}/lib -I${LOCALBASE}/include -lpthread
|
|
CXXFLAGS+= -std=c++11
|
|
|
|
OPTIONS_DEFINE= OCTAVE
|
|
OPTIONS_SUB= yes
|
|
|
|
OCTAVE_DESC= With Octave support
|
|
OCTAVE_CONFIGURE_WITH= octave
|
|
OCTAVE_BUILD_DEPENDS= ${LOCALBASE}/include/octave-${OCTAVE_VERSION}/octave/octave.h:math/octave
|
|
OCTAVE_VARS= PLIST_SUB+="OCTAVE_VERSION=${OCTAVE_VERSION} CONFIGURE_TARGET=${CONFIGURE_TARGET}"
|
|
|
|
post-install-OCTAVE-on:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/octave/${OCTAVE_VERSION}/site/oct/${CONFIGURE_TARGET}/h5read.oct
|
|
|
|
.include "../../math/octave/Makefile.version"
|
|
.include <bsd.port.mk>
|