diff options
author | tg <tg@FreeBSD.org> | 1999-07-30 22:12:53 +0800 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 1999-07-30 22:12:53 +0800 |
commit | 60df73c0e5a84eb88f2221197890a3520b13682a (patch) | |
tree | f29d5c7bba4b7792a7e3accf8709c78f635dcb74 /science/netcdf/Makefile | |
parent | 9de7dc5950da27c306a15f33b0625dee7cf7afe8 (diff) | |
download | freebsd-ports-gnome-60df73c0e5a84eb88f2221197890a3520b13682a.tar.gz freebsd-ports-gnome-60df73c0e5a84eb88f2221197890a3520b13682a.tar.zst freebsd-ports-gnome-60df73c0e5a84eb88f2221197890a3520b13682a.zip |
New port netcdf. The NetCDF (network Common Data Form) is a library
supporting the creation, access, and sharing of scientific data.
Diffstat (limited to 'science/netcdf/Makefile')
-rw-r--r-- | science/netcdf/Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/science/netcdf/Makefile b/science/netcdf/Makefile new file mode 100644 index 000000000000..451f282d6d72 --- /dev/null +++ b/science/netcdf/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: netcdf +# Version required: 3.5-beta1 +# Date created: 29 July 1999 +# Whom: Thomas Gellekum <tg@FreeBSD.org> +# +# $Id$ +# + +DISTNAME= netcdf-3.5-beta1 +PKGNAME= netcdf-3.5b1 +CATEGORIES= math +MASTER_SITES= ftp://unidata.ucar.edu/pub/netcdf/ +EXTRACT_SUFX= .tar.Z + +MAINTAINER= ports@FreeBSD.org + +WRKSRC= ${WRKDIR}/netcdf-3.5/src +GNU_CONFIGURE= yes +CONFIGURE_ENV= CFLAGS="${CFLAGS} -fPIC -DPIC -Df2cFortran" + +MAN1= ncdump.1 ncgen.1 +MAN3= netcdf.3 netcdf.3f + +post-build: + @(cd ${WRKSRC}/libsrc && \ + ${SETENV} ${MAKE_ENV} ${MAKE} linux_shared_library) + @(cd ${WRKSRC}/cxx && \ + ${SETENV} ${MAKE_ENV} ${MAKE} linux_shared_library) + +post-install: + ${INSTALL_DATA} ${WRKSRC}/libsrc/libnetcdf.so ${PREFIX}/lib/libnetcdf.so.1 + ${LN} -sf ${PREFIX}/lib/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 + +.include <bsd.port.mk> |