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-lib/Makefile | 9 ++++++++- lang/modula-3-lib/pkg-descr | 5 ++++- lang/modula-3-lib/pkg-plist | 1 + lang/modula-3/Makefile | 11 +++++++++-- lang/modula-3/pkg-descr | 3 +++ lang/modula-3/pkg-plist | 1 + 6 files changed, 26 insertions(+), 4 deletions(-) (limited to 'lang') diff --git a/lang/modula-3-lib/Makefile b/lang/modula-3-lib/Makefile index 67279e31b9f5..179a93921bb2 100644 --- a/lang/modula-3-lib/Makefile +++ b/lang/modula-3-lib/Makefile @@ -3,7 +3,7 @@ # Date created: 28 Oct 1996 # Whom: John Polstra # -# $Id: Makefile,v 1.4 1996/11/29 19:49:12 jdp Exp $ +# $Id: Makefile,v 1.5 1997/02/14 22:17:03 jdp Exp $ # DISTNAME= modula-3-lib-3.6 @@ -122,6 +122,13 @@ do-install: grep '^lib/m3/' ${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 "Installing copyright notice" + @if [ ! -d ${PREFIX}/share/modula-3-lib ]; then \ + ${MKDIR} ${PREFIX}/share/modula-3-lib; \ + chmod 755 ${PREFIX}/share/modula-3-lib; \ + fi + @${INSTALL_DATA} ${WRKSRC}/m3/src/COPYRIGHT \ + ${PREFIX}/share/modula-3-lib @if [ ! -f ${startup_script} ]; then \ echo "Installing ${startup_script} file"; \ test -d ${startup_dir} || ${MKDIR} ${startup_dir}; \ diff --git a/lang/modula-3-lib/pkg-descr b/lang/modula-3-lib/pkg-descr index 266d95a8b317..0a196c8afcea 100644 --- a/lang/modula-3-lib/pkg-descr +++ b/lang/modula-3-lib/pkg-descr @@ -3,4 +3,7 @@ libraries only. People who don't wish to install the entire Modula-3 system just so they can execute Modula-3 programs can install this package instead. -jdp@freebsd.org +Please read "${PREFIX}/share/modula-3-lib/COPYRIGHT" for the DEC +copyright notice. + +John Polstra diff --git a/lang/modula-3-lib/pkg-plist b/lang/modula-3-lib/pkg-plist index 5e9e9892b056..7f124afd47e5 100644 --- a/lang/modula-3-lib/pkg-plist +++ b/lang/modula-3-lib/pkg-plist @@ -39,4 +39,5 @@ lib/m3/pkg/ui/FreeBSD2/libm3ui.so.4.0 lib/m3/pkg/vbtkit/FreeBSD2/libm3vbtkit.so.4.0 lib/m3/pkg/videovbt/FreeBSD2/libvideovbt.so.4.0 lib/m3/pkg/web/FreeBSD2/libweb.so.4.0 +share/modula-3-lib/COPYRIGHT @exec /sbin/ldconfig -m %D/lib/m3/FreeBSD2 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) diff --git a/lang/modula-3/pkg-descr b/lang/modula-3/pkg-descr index 84b23d2e925d..7bf993fdfeec 100644 --- a/lang/modula-3/pkg-descr +++ b/lang/modula-3/pkg-descr @@ -37,4 +37,7 @@ from the DEC distribution, in: ftp://gatekeeper.dec.com/pub/DEC/Modula-3/release-3.6/m3.tar.gz +Please see "${PREFIX}/share/modula-3/COPYRIGHT" for the DEC copyright +notice. + John Polstra diff --git a/lang/modula-3/pkg-plist b/lang/modula-3/pkg-plist index eef64344a219..bd6925b66d55 100644 --- a/lang/modula-3/pkg-plist +++ b/lang/modula-3/pkg-plist @@ -810,4 +810,5 @@ man/man1/replayheap.1.gz man/man1/showheap.1.gz man/man1/shownew.1.gz man/man1/showthread.1.gz +share/modula-3/COPYRIGHT @exec /sbin/ldconfig -m %D/lib/m3/FreeBSD2 -- cgit v1.2.3