From a90bcf55f605ec08944263757f9bb9f74ed22d6a Mon Sep 17 00:00:00 2001 From: Tim Vanderhoek Date: Fri, 21 Aug 1998 23:11:03 +0000 Subject: Almost forgot the reason I was here: use the MAN1 variable. --- graphics/hdf/Makefile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'graphics/hdf/Makefile') 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 -- cgit v1.2.3