From 3823b5b7fda687ec9a668d30d5fc98c3621e2b73 Mon Sep 17 00:00:00 2001 From: John Polstra Date: Sat, 26 Jul 1997 00:24:53 +0000 Subject: Use the MAN1 macro to compress the manual pages. Correct the "fixing file permissions" step so that it works when NOMANCOMPRESS is set. --- lang/modula-3/Makefile | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'lang') diff --git a/lang/modula-3/Makefile b/lang/modula-3/Makefile index adfb00ce9990..7ee5483244d6 100644 --- a/lang/modula-3/Makefile +++ b/lang/modula-3/Makefile @@ -3,7 +3,7 @@ # Date created: 18 Mar 1996 # Whom: John Polstra # -# $Id: Makefile,v 1.16 1997/07/13 18:49:21 max Exp $ +# $Id: Makefile,v 1.17 1997/07/17 15:12:48 max Exp $ # DISTNAME= modula-3-3.6 @@ -18,6 +18,10 @@ WRKSRC= ${PORTSDIR}/lang/modula-3-lib/work NO_CHECKSUM= yes NO_CONFIGURE= yes NO_BUILD= yes +MAN1= analyze_coverage.1 formsedit.1 m3browser.1 \ + m3build.1 m3bundle.1 m3pp.1 m3ship.1 m3tohtml.1 \ + m3totex.1 m3where.1 quake.1 recordheap.1 \ + replayheap.1 showheap.1 shownew.1 showthread.1 # Keep these in sync with the PLIST and with the library version numbers # in the modula-3-lib port. @@ -81,15 +85,12 @@ do-install: @cd ${PREFIX}/bin; \ ln -f m3build m3build-${major}; \ ln -f m3build m3build-${major}.${minor} -.if !defined(NOMANCOMPRESS) - @echo "Compressing manual pages" - @cd ${temp_prefix}; \ - find man -type f | (cd ${PREFIX}; xargs gzip -9nf) -.endif @echo "Fixing file permissions" @cd ${PREFIX}; \ - grep -v "^@" ${PKGDIR}/PLIST | xargs chown ${BINOWN}.${BINGRP}; \ - grep -v "^@" ${PKGDIR}/PLIST | xargs chmod go=u-w; \ + sed -e "/^@/d" -e "s/\.gz$$//" ${PKGDIR}/PLIST |\ + xargs chown ${BINOWN}.${BINGRP}; \ + sed -e "/^@/d" -e "s/\.gz$$//" ${PKGDIR}/PLIST |\ + xargs chmod go=u-w; \ find -X lib/m3 -type d | xargs chown ${BINOWN}.${BINGRP}; \ find -X lib/m3 -type d | xargs chmod 755 @echo "Running ldconfig" -- cgit v1.2.3