summaryrefslogtreecommitdiff
path: root/graphics/hdf/Makefile
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-06-04 23:19:31 +0000
committerSteve Price <steve@FreeBSD.org>1998-06-04 23:19:31 +0000
commit941c31fdb2194ffa65f01880e0167b1fd7927862 (patch)
treeee8a6493caf571d5b785ba36023dde211a0c9d20 /graphics/hdf/Makefile
parentChange "man/ja_JP.EUC" to "man/ja". (diff)
Update to version 4.1r2.
PR: 6784 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=11265
Diffstat (limited to 'graphics/hdf/Makefile')
-rw-r--r--graphics/hdf/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/graphics/hdf/Makefile b/graphics/hdf/Makefile
index 107cc1ab2477..a27f3eca57f5 100644
--- a/graphics/hdf/Makefile
+++ b/graphics/hdf/Makefile
@@ -1,22 +1,23 @@
# New ports collection makefile for: HDF_lib
-# Version required: 4.1r1
+# Version required: 4.1r2
# Date created: 17 November 1996
# Whom: mi
#
-# $Id: Makefile,v 1.2 1998/04/01 02:04:04 asami Exp $
+# $Id: Makefile,v 1.3 1998/04/08 12:53:43 tg Exp $
#
-DISTNAME= HDF4.1r1
-PKGNAME= hdf-4.1r1
+DISTNAME= HDF4.1r2
+PKGNAME= hdf-4.1r2
CATEGORIES= graphics
-MASTER_SITES= ftp://ftp.ncsa.uiuc.edu/HDF/HDF4.1r1/tar/
+MASTER_SITES= ftp://ftp.ncsa.uiuc.edu/HDF/HDF4.1r2/tar/
MAINTAINER= mi@aldan.ziplink.net
LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg
GNU_CONFIGURE= yes
-MAKE_FLAGS= CC="$(CC)" -f
+FC?= f77 # Can also be g77 for the newer one
+MAKE_FLAGS= CC="$(CC)" FC="${FC}" -f
# This will create dummy Makefiles and some links in the jpeg and libz
# subdirectories. This way, we do not need to hunt all the dependencies
@@ -49,7 +50,7 @@ pre-build:
printf '\nclean:\n\ttrue\n' >> ${WRKSRC}/hdf/zlib/Makefile
printf '\ninstall-lib:\n\ttrue\n' >> ${WRKSRC}/hdf/zlib/Makefile
printf '\ninstall:\n\ttrue\n' >> ${WRKSRC}/hdf/zlib/Makefile
- -ln -s /usr/lib/libz* ${WRKSRC}/hdf/zlib/
+ -ln -s /usr/lib/${BINFORMAT}/libz* ${WRKSRC}/hdf/zlib/
-ln -s /usr/include/zconf.h /usr/include/zlib.h ${WRKSRC}/hdf/zlib/
post-install:
@@ -63,6 +64,6 @@ post-install:
${LDCONFIG} -m ${PREFIX}/lib
test:
- cd ${WRKSRC}; make $@
+ cd ${WRKSRC}; make ${MAKE_FLAGS} ${MAKEFILE} test
.include <bsd.port.mk>