aboutsummaryrefslogtreecommitdiff
path: root/science/netcdf
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-12-23 22:22:45 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-12-23 22:22:45 +0000
commitad6b1685fdb8fd97ada49f28fc564c1888388e81 (patch)
tree3a23f9b13243e55b498d1cc69205a6c64af886d1 /science/netcdf
parentf305adb466cab7ca07be7db51b88d8e600d606b7 (diff)
downloadports-ad6b1685fdb8fd97ada49f28fc564c1888388e81.tar.gz
ports-ad6b1685fdb8fd97ada49f28fc564c1888388e81.zip
Notes
Diffstat (limited to 'science/netcdf')
-rw-r--r--science/netcdf/Makefile9
-rw-r--r--science/netcdf/files/patch-Makefile20
-rw-r--r--science/netcdf/files/patch-rules.make (renamed from science/netcdf/files/patch-aa)0
3 files changed, 25 insertions, 4 deletions
diff --git a/science/netcdf/Makefile b/science/netcdf/Makefile
index f4b13d6b36de..0b4465af8dad 100644
--- a/science/netcdf/Makefile
+++ b/science/netcdf/Makefile
@@ -8,7 +8,8 @@
PORTNAME= netcdf
PORTVERSION= 3.6.1
CATEGORIES= science
-MASTER_SITES= ftp://ftp.unidata.ucar.edu/pub/netcdf/%SUBDIR%/
+MASTER_SITES= ftp://ftp.unidata.ucar.edu/pub/netcdf/%SUBDIR%/ \
+ http://sunpoet.net/distfiles/
MASTER_SITE_SUBDIR= . old
MAINTAINER= sunpoet@sunpoet.net
@@ -18,10 +19,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/src
CONFLICTS= hdf-4.*
-GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-fPIC -DPIC -Df2cFortran"
-INSTALLS_SHLIB= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
MAN1= ncdump.1 ncgen.1
MAN3= netcdf.3 netcdf.3f
diff --git a/science/netcdf/files/patch-Makefile b/science/netcdf/files/patch-Makefile
new file mode 100644
index 000000000000..00d94fb843f1
--- /dev/null
+++ b/science/netcdf/files/patch-Makefile
@@ -0,0 +1,20 @@
+--- Makefile.orig Mon Feb 27 00:43:59 2006
++++ Makefile Sat Dec 23 05:33:43 2006
+@@ -117,6 +117,8 @@
+ ncgen/distclean \
+ cxx/clean \
+ cxx/distclean \
++fortran/install \
++fortran/uninstall \
+ :
+ @subdir=`echo $@ | sed 's,/.*,,'`; \
+ target=`echo $@ | sed 's,.*/,,'`; \
+@@ -124,8 +126,6 @@
+
+ fortran/all \
+ fortran/test \
+-fortran/install \
+-fortran/uninstall \
+ nf_test/all \
+ nf_test/test \
+ :
diff --git a/science/netcdf/files/patch-aa b/science/netcdf/files/patch-rules.make
index 4c9e564dc054..4c9e564dc054 100644
--- a/science/netcdf/files/patch-aa
+++ b/science/netcdf/files/patch-rules.make