1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Update to 1.8.1

Changes:	http://trac.mcs.anl.gov/projects/parallel-netcdf/wiki/ReleaseNotes-1.8.1
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2017-01-30 21:42:17 +00:00
parent 5ec74ff4d4
commit ec6c66ac03
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=432877
3 changed files with 13 additions and 33 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= pnetcdf
PORTVERSION= 1.8.0
PORTVERSION= 1.8.1
CATEGORIES= science parallel
MASTER_SITES= http://cucis.ece.northwestern.edu/projects/PnetCDF/Release/ \
LOCAL/sunpoet

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1482241278
SHA256 (parallel-netcdf-1.8.0.tar.bz2) = c9d40fbad44d90fee26257ae4ab344e4ac191e9704d3e3a9639fc2cbe6e25660
SIZE (parallel-netcdf-1.8.0.tar.bz2) = 899736
TIMESTAMP = 1485797773
SHA256 (parallel-netcdf-1.8.1.tar.bz2) = d0fa7059130c5f99ba4d7ea5e661e2103fbd302f3066fd95a0d1c7f913b848c4
SIZE (parallel-netcdf-1.8.1.tar.bz2) = 900244

View File

@ -1,31 +1,11 @@
Add DESTDIR support with modified MANDIR (prefix/share/man -> prefix/man)
Obtained from: http://trac.mcs.anl.gov/projects/parallel-netcdf/changeset/2745
--- macros.make.in.orig 2016-11-24 02:55:40 UTC
--- macros.make.in.orig 2016-12-28 17:02:41 UTC
+++ macros.make.in
@@ -20,13 +20,20 @@ LN_S = @LN_S@
# Installation Directories:
# SRCDIR = @SRCDIR@
prefix = @prefix@
-INCDIR = $(prefix)/include
-LIBDIR = $(prefix)/lib
-BINDIR = $(prefix)/bin
-MANDIR = $(prefix)/man
BUILDDIR = @BUILDDIR@
LIBRARY = @BUILDDIR@/src/lib/libpnetcdf.a
+ifdef DESTDIR
+INCDIR = $(DESTDIR)/$(prefix)/include
+LIBDIR = $(DESTDIR)/$(prefix)/lib
+BINDIR = $(DESTDIR)/$(prefix)/bin
@@ -27,7 +27,7 @@
INCDIR = $(DESTDIR)/$(prefix)/include
LIBDIR = $(DESTDIR)/$(prefix)/lib
BINDIR = $(DESTDIR)/$(prefix)/bin
-MANDIR = $(DESTDIR)/$(prefix)/share/man
+MANDIR = $(DESTDIR)/$(prefix)/man
+else
+INCDIR = $(prefix)/include
+LIBDIR = $(prefix)/lib
+BINDIR = $(prefix)/bin
+MANDIR = $(prefix)/share/man
+endif
# Useful tools
M4 = @M4@
else
INCDIR = $(prefix)/include
LIBDIR = $(prefix)/lib