# New ports collection makefile for: netcdf # Date created: 29 July 1999 # Whom: Thomas Gellekum # # $FreeBSD$ # PORTNAME= netcdf PORTVERSION= 3.6.3 PORTREVISION= 1 CATEGORIES= science MASTER_SITES= ftp://ftp.unidata.ucar.edu/pub/netcdf/ \ http://sunpoet.net/distfiles/ MAINTAINER= sunpoet@sunpoet.net COMMENT= Library for machine-independent, array-oriented data access CONFLICTS= hdf-4.* netcdf-4.* CONFIGURE_ARGS= --enable-shared --disable-f77 CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -fPIC -DPIC -Df2cFortran" GNU_CONFIGURE= yes USE_LDCONFIG= yes MAN1= ncdump.1 ncgen.1 MAN3= netcdf.3 INFO= netcdf netcdf-c netcdf-cxx netcdf-f77 netcdf-f90 \ netcdf-install netcdf-tutorial post-install: @${STRIP_CMD} ${PREFIX}/bin/ncdump ${PREFIX}/bin/ncgen ${LN} -fs libnetcdf.so.4 ${PREFIX}/lib/libnetcdf.so ${LN} -fs libnetcdf_c++.so.4 ${PREFIX}/lib/libnetcdf_c++.so .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for file in COPYRIGHT README RELEASE_NOTES ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} .endfor .endif regression-test: build @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check .include