diff options
author | Tim Vanderhoek <hoek@FreeBSD.org> | 1998-08-21 23:11:03 +0000 |
---|---|---|
committer | Tim Vanderhoek <hoek@FreeBSD.org> | 1998-08-21 23:11:03 +0000 |
commit | a90bcf55f605ec08944263757f9bb9f74ed22d6a (patch) | |
tree | f1160e9cccf62ea64199c0046e40a90c05b76ddd /graphics/hdf | |
parent | Add URI for DeleGate homepage. (diff) |
Almost forgot the reason I was here: use the MAN1 variable.
Diffstat (limited to 'graphics/hdf')
-rw-r--r-- | graphics/hdf/Makefile | 10 | ||||
-rw-r--r-- | graphics/hdf/pkg-plist | 4 |
2 files changed, 3 insertions, 11 deletions
diff --git a/graphics/hdf/Makefile b/graphics/hdf/Makefile index 220d5de2ce5d..4383d6e4413d 100644 --- a/graphics/hdf/Makefile +++ b/graphics/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/graphics/hdf/pkg-plist b/graphics/hdf/pkg-plist index 108b579a6093..f24c36cc89ae 100644 --- a/graphics/hdf/pkg-plist +++ b/graphics/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 |