From 45c107bebf766936cd7c5a478ebf5f5941d5c82e Mon Sep 17 00:00:00 2001 From: John Polstra Date: Fri, 28 Mar 1997 04:38:47 +0000 Subject: Arrange for the DEC copyright notice to be installed and included in the package. Add a pointer to it in the DESCR file. --- lang/modula-3/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'lang/modula-3/Makefile') diff --git a/lang/modula-3/Makefile b/lang/modula-3/Makefile index f000b9174a13..8db99107c3fa 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.9 1996/11/12 02:18:37 obrien Exp $ +# $Id: Makefile,v 1.10 1996/12/30 23:28:13 jdp Exp $ # DISTNAME= modula-3-3.6 @@ -39,7 +39,8 @@ do-install: @echo "Installing files in \"${PREFIX}\"" @cd ${temp_prefix}; \ umask 022; \ - sed -e "/^@/d" -e "/m3build-/d" -e "s/\.gz$$//" ${PKGDIR}/PLIST | \ + sed -e "/^@/d" -e "/m3build-/d" -e "s/\.gz$$//" \ + -e "/^share/d" ${PKGDIR}/PLIST | \ cpio -dump -R ${BINOWN}.${BINGRP} ${PREFIX} @echo "Fixing absolute pathnames in installed files" @/bin/sh ${SCRIPTDIR}/fix_pathnames ${temp_prefix} ${PREFIX} @@ -67,6 +68,12 @@ do-install: rm -rf FreeBSD2; \ m3build; \ m3ship + @echo "Installing copyright notice" + @if [ ! -d ${PREFIX}/share/modula-3 ]; then \ + ${MKDIR} ${PREFIX}/share/modula-3; \ + chmod 755 ${PREFIX}/share/modula-3; \ + fi + @${INSTALL_DATA} ${WRKSRC}/m3/src/COPYRIGHT ${PREFIX}/share/modula-3 @echo "Stripping executables" @cd ${temp_prefix}; \ find bin -type f ! -name recordheap | (cd ${PREFIX}; xargs strip) -- cgit v1.2.3