diff options
Diffstat (limited to 'math/netcdf/Makefile')
-rw-r--r-- | math/netcdf/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/math/netcdf/Makefile b/math/netcdf/Makefile index 3d74fe7..17e5215 100644 --- a/math/netcdf/Makefile +++ b/math/netcdf/Makefile @@ -6,19 +6,19 @@ # PORTNAME= netcdf -PORTVERSION= 3.5b2 +PORTVERSION= 3.5b3 CATEGORIES= math MASTER_SITES= ftp://unidata.ucar.edu/pub/netcdf/ -DISTFILES= netcdf-3.5-beta2.tar.Z +DISTFILES= ${PORTNAME}-3.5-beta3.tar.Z MAINTAINER= ports@FreeBSD.org -WRKSRC= ${WRKDIR}/netcdf-3.5/src +WRKSRC= ${WRKDIR}/${PORTNAME}-3.5-beta3/src GNU_CONFIGURE= yes -CONFIGURE_ENV= CFLAGS="${CFLAGS} -fPIC -DPIC -Df2cFortran" +CONFIGURE_ENV= CPPFLAGS="-fPIC -DPIC -Df2cFortran" MAN1= ncdump.1 ncgen.1 -MAN3= netcdf.3 netcdf.3f +MAN3= netcdf.3 post-build: @(cd ${WRKSRC}/libsrc && \ @@ -28,9 +28,9 @@ post-build: post-install: ${INSTALL_DATA} ${WRKSRC}/libsrc/libnetcdf.so ${PREFIX}/lib/libnetcdf.so.1 - ${LN} -sf ${PREFIX}/lib/libnetcdf.so.1 ${PREFIX}/lib/libnetcdf.so + ${LN} -sf libnetcdf.so.1 ${PREFIX}/lib/libnetcdf.so ${INSTALL_DATA} ${WRKSRC}/cxx/libnetcdf_c++.so ${PREFIX}/lib/libnetcdf_c++.so.1 - ${LN} -sf ${PREFIX}/lib/libnetcdf_c++.so.1 ${PREFIX}/lib/libnetcdf_c++.so - ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib + ${LN} -sf libnetcdf_c++.so.1 ${PREFIX}/lib/libnetcdf_c++.so + ${LDCONFIG} -m ${PREFIX}/lib .include <bsd.port.mk> |