aboutsummaryrefslogtreecommitdiffstats
path: root/lang/modula-3-lib
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1997-03-28 12:38:47 +0800
committerjdp <jdp@FreeBSD.org>1997-03-28 12:38:47 +0800
commiteaee9de55f024effc08d9d411d0370f9cce75adb (patch)
treebcc7dfb143085811b88461384ad10fb084f80150 /lang/modula-3-lib
parent7d4522b5992b8a44cd28da3db4241d06cb8df25d (diff)
downloadfreebsd-ports-gnome-eaee9de55f024effc08d9d411d0370f9cce75adb.tar.gz
freebsd-ports-gnome-eaee9de55f024effc08d9d411d0370f9cce75adb.tar.zst
freebsd-ports-gnome-eaee9de55f024effc08d9d411d0370f9cce75adb.zip
Arrange for the DEC copyright notice to be installed and included
in the package. Add a pointer to it in the DESCR file.
Diffstat (limited to 'lang/modula-3-lib')
-rw-r--r--lang/modula-3-lib/Makefile9
-rw-r--r--lang/modula-3-lib/pkg-descr5
-rw-r--r--lang/modula-3-lib/pkg-plist1
3 files changed, 13 insertions, 2 deletions
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 <jdp@polstra.com>
#
-# $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 <jdp@FreeBSD.ORG>
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