# ex:ts=8 # New ports collection makefile for: CDO # Date created: 29 May 2006 # Whom: Sunpoet Po-Chuan Hsieh # # $FreeBSD$ # PORTNAME= cdo PORTVERSION= 1.3.1 PORTREVISION= 2 CATEGORIES= science MASTER_SITES= http://www.mpimet.mpg.de/fileadmin/software/cdo/ \ http://sunpoet.net/distfiles/ MAINTAINER= sunpoet@sunpoet.net COMMENT= Climate Data Operators GNU_CONFIGURE= yes CONFIGURE_ARGS= --program-transform-name="" CONFIGURE_ENV= CC="${CC}" \ CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" PLIST_FILES= bin/cdo NETCDF_VER?= 4 HDF5_VER?= 18 OPTIONS= HDF5 "HDF5 support" on \ NETCDF "NetCDF support" on \ PROJ "PROJ support" on .include .if (${OSVERSION} > 700000) || (${ARCH} != "sparc64") CONFIGURE_ENV+= CFLAGS="${CFLAGS} -DPTHREAD_MUTEXATTR_CONDATTR" .endif .if (defined(WITH_NETCDF) && defined(WITH_HDF5) && (${NETCDF_VER} == 4) && (${HDF5_VER} == 16)) IGNORE=netCDF 4 requires HDF5 1.8. .endif .if defined(WITH_NETCDF) CONFIGURE_ARGS+= --with-netcdf=${LOCALBASE} EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-Makefile.in .if (${NETCDF_VER} == 4) HDF5_VER= 18 WITH_HDF5= yes LIB_DEPENDS+= netcdf.6:${PORTSDIR}/science/netcdf4 .else LIB_DEPENDS+= netcdf.4:${PORTSDIR}/science/netcdf .endif PLIST_FILES+= bin/cdotest .endif .if defined(WITH_HDF5) CONFIGURE_ARGS+= --with-hdf5=${LOCALBASE} --with-zlib=/usr .if (${HDF5_VER} == 18) LIB_DEPENDS+= hdf5.6:${PORTSDIR}/science/hdf5-18 .else LIB_DEPENDS+= hdf5.0:${PORTSDIR}/science/hdf5 .endif .endif .if defined(WITH_PROJ) CONFIGURE_ARGS+= --with-proj=${LOCALBASE} LIB_DEPENDS+= proj.6:${PORTSDIR}/graphics/proj .endif post-build: .if defined(WITH_NETCDF) @cd "${WRKSRC}/src" && ${SETENV} CDO_PATH="${WRKSRC}/src/cdo" "${WRKSRC}/src/cdotest" .endif post-install: @${CAT} ${PKGMESSAGE} regression-test: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check .include .3.7'>dependabot/npm_and_yarn/devel/electron4/files/ini-1.3.7 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* - Update to 1.4.3.1beech2009-01-314-72/+241
* - Update to 1.3.3.10beech2008-08-175-92/+114
* - Update to 1.3.3.8beech2007-12-142-20/+24
* - Update to 1.3.3.1tabthorpe2007-10-124-180/+370
* - Update to 1.2.6miwi2006-12-221-45/+16
* - Update to 1.2.5.2miwi2006-12-012-12/+21
* - Update to 1.2.3rafan2006-07-292-6/+7
* - Update to 1.2.2rafan2006-07-186-116/+185
* Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.dougb2006-02-211-1/+1
* Minor changes:pav2005-12-094-4/+51
* - Update to 1.1.1.b13sem2005-06-241-1/+1