diff options
author | hoek <hoek@FreeBSD.org> | 1998-08-22 07:11:03 +0800 |
---|---|---|
committer | hoek <hoek@FreeBSD.org> | 1998-08-22 07:11:03 +0800 |
commit | a6093eb2733a56958ff03b79f7f28517e7cfa836 (patch) | |
tree | 43cedc88d20deccd1f98e1c26dbbd6d7f860d304 /graphics/hdf | |
parent | 38d466f99d942779501372cca497a17f6f80ca1b (diff) | |
download | freebsd-ports-gnome-a6093eb2733a56958ff03b79f7f28517e7cfa836.tar.gz freebsd-ports-gnome-a6093eb2733a56958ff03b79f7f28517e7cfa836.tar.zst freebsd-ports-gnome-a6093eb2733a56958ff03b79f7f28517e7cfa836.zip |
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 |