summaryrefslogtreecommitdiffstats
path: root/science/hdf
diff options
context:
space:
mode:
authorhoek <hoek@FreeBSD.org>1998-08-21 23:11:03 +0000
committerhoek <hoek@FreeBSD.org>1998-08-21 23:11:03 +0000
commita6093eb2733a56958ff03b79f7f28517e7cfa836 (patch)
tree43cedc88d20deccd1f98e1c26dbbd6d7f860d304 /science/hdf
parent38d466f99d942779501372cca497a17f6f80ca1b (diff)
downloadFreeBSD-ports-a6093eb2733a56958ff03b79f7f28517e7cfa836.zip
FreeBSD-ports-a6093eb2733a56958ff03b79f7f28517e7cfa836.tar.gz
Almost forgot the reason I was here: use the MAN1 variable.
Diffstat (limited to 'science/hdf')
-rw-r--r--science/hdf/Makefile10
-rw-r--r--science/hdf/pkg-plist4
2 files changed, 3 insertions, 11 deletions
diff --git a/science/hdf/Makefile b/science/hdf/Makefile
index 220d5de..4383d6e 100644
--- a/science/hdf/Makefile
+++ b/science/hdf/Makefile
@@ -3,7 +3,7 @@
# Date created: 17 November 1996
# Whom: mi
#
-# $Id: Makefile,v 1.4 1998/06/04 23:18:46 steve Exp $
+# $Id: Makefile,v 1.5 1998/08/21 21:40:02 hoek Exp $
#
DISTNAME= HDF4.1r2
@@ -15,6 +15,8 @@ MAINTAINER= mi@aldan.ziplink.net
LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg
+MAN1= hdf.1 hdfunpac.1 ncdump.1 ncgen.1
+
GNU_CONFIGURE= yes
FC?= f77 # Can also be g77 for the newer one
MAKE_FLAGS= CC="$(CC)" FC="${FC}" -f
@@ -58,12 +60,6 @@ pre-build:
-ln -s /usr/include/zconf.h /usr/include/zlib.h ${WRKSRC}/hdf/zlib/
post-install:
-.if !defined(NOMANCOMPRESS)
- @for man_page in `grep man./ ${PKGDIR}/PLIST` ; do \
- mp=`echo $${man_page} | ${SED} s/\.gz//` ;\
- ${ECHO} Compressing ${PREFIX}/$$mp ;\
- ${GZIP_CMD} ${PREFIX}/$$mp ; done
-.endif
@for binary in `grep ^bin/ ${PKGDIR}/PLIST` ; do strip ${PREFIX}/$$binary; done
${LDCONFIG} -m ${PREFIX}/lib
diff --git a/science/hdf/pkg-plist b/science/hdf/pkg-plist
index 108b579..f24c36c 100644
--- a/science/hdf/pkg-plist
+++ b/science/hdf/pkg-plist
@@ -68,7 +68,3 @@ include/netcdf.inc
include/tbbt.h
include/vattr.h
include/vg.h
-man/man1/hdf.1.gz
-man/man1/hdfunpac.1.gz
-man/man1/ncdump.1.gz
-man/man1/ncgen.1.gz
OpenPOWER on IntegriCloud