2016-12-18 13:58:21 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.26 2016/12/18 13:58:21 kirby Exp $
|
2012-10-11 15:14:02 +00:00
|
|
|
|
|
|
|
BROKEN-powerpc= fails to build
|
2012-12-21 18:27:00 +00:00
|
|
|
BROKEN-hppa = fails to configure
|
2000-12-26 12:22:53 +00:00
|
|
|
|
2007-09-15 18:44:36 +00:00
|
|
|
COMMENT= library for machine-independent, array-oriented data access
|
2001-05-06 01:58:40 +00:00
|
|
|
|
2007-11-29 13:43:08 +00:00
|
|
|
DISTNAME= netcdf-3.6.2
|
2016-12-18 13:58:21 +00:00
|
|
|
REVISION= 2
|
2000-12-26 12:22:53 +00:00
|
|
|
CATEGORIES= math
|
|
|
|
|
2007-11-29 13:43:08 +00:00
|
|
|
SHARED_LIBS= netcdf 4.0 \
|
|
|
|
netcdff 4.0 \
|
|
|
|
netcdf_c++ 4.0
|
2005-12-24 14:45:38 +00:00
|
|
|
|
2016-12-18 13:58:21 +00:00
|
|
|
HOMEPAGE= http://www.unidata.ucar.edu/software/netcdf/
|
2000-12-26 12:22:53 +00:00
|
|
|
|
|
|
|
MAINTAINER= Tom Knienieder <tom@knienieder.com>
|
2010-05-23 10:22:33 +00:00
|
|
|
MODULES = fortran
|
2010-10-23 15:09:57 +00:00
|
|
|
MODFORTRAN_COMPILER = g77
|
2016-12-18 13:58:21 +00:00
|
|
|
BUILD_DEPENDS = ${MODFORTRAN_BUILD_DEPENDS}
|
2000-12-26 12:22:53 +00:00
|
|
|
|
2004-02-01 12:22:05 +00:00
|
|
|
# BSD-like
|
2007-11-29 13:43:08 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2000-12-26 12:22:53 +00:00
|
|
|
|
2011-11-03 20:28:09 +00:00
|
|
|
WANTLIB= c m stdc++
|
2004-02-01 12:22:05 +00:00
|
|
|
|
2007-11-29 13:43:08 +00:00
|
|
|
MASTER_SITES= ftp://ftp.unidata.ucar.edu/pub/netcdf/
|
2000-12-26 12:22:53 +00:00
|
|
|
|
2007-11-29 13:43:08 +00:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-Df2cFortran"
|
2016-03-10 11:50:13 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-shared \
|
2007-11-29 13:43:08 +00:00
|
|
|
--disable-f90
|
2000-12-26 12:22:53 +00:00
|
|
|
|
2007-11-29 13:43:08 +00:00
|
|
|
USE_GMAKE= Yes
|
2010-11-19 07:23:05 +00:00
|
|
|
USE_GROFF = Yes
|
2012-03-29 13:38:12 +00:00
|
|
|
SEPARATE_BUILD= Yes
|
2000-12-26 12:22:53 +00:00
|
|
|
|
|
|
|
post-install:
|
2007-11-29 13:43:08 +00:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/netcdf
|
|
|
|
@cd ${WRKSRC}/man && ${INSTALL_DATA} *.txt *.pdf \
|
|
|
|
${PREFIX}/share/doc/netcdf
|
2000-12-26 12:22:53 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|