summaryrefslogtreecommitdiff
path: root/lang/modula-3
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>1997-03-28 04:38:47 +0000
committerJohn Polstra <jdp@FreeBSD.org>1997-03-28 04:38:47 +0000
commit45c107bebf766936cd7c5a478ebf5f5941d5c82e (patch)
treece66ac205841ad002b63127fed3177886ddb6b3e /lang/modula-3
parentSlight style change. (diff)
Arrange for the DEC copyright notice to be installed and included
in the package. Add a pointer to it in the DESCR file.
Notes
Notes: svn path=/head/; revision=6041
Diffstat (limited to 'lang/modula-3')
-rw-r--r--lang/modula-3/Makefile11
-rw-r--r--lang/modula-3/pkg-descr3
-rw-r--r--lang/modula-3/pkg-plist1
3 files changed, 13 insertions, 2 deletions
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 <jdp@polstra.com>
#
-# $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 <jdp@polstra.com>
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