summaryrefslogtreecommitdiffstats
path: root/lang/modula-3/Makefile
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1997-03-28 04:38:47 +0000
committerjdp <jdp@FreeBSD.org>1997-03-28 04:38:47 +0000
commiteaee9de55f024effc08d9d411d0370f9cce75adb (patch)
treebcc7dfb143085811b88461384ad10fb084f80150 /lang/modula-3/Makefile
parent7d4522b5992b8a44cd28da3db4241d06cb8df25d (diff)
downloadFreeBSD-ports-eaee9de55f024effc08d9d411d0370f9cce75adb.zip
FreeBSD-ports-eaee9de55f024effc08d9d411d0370f9cce75adb.tar.gz
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/Makefile')
-rw-r--r--lang/modula-3/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/lang/modula-3/Makefile b/lang/modula-3/Makefile
index f000b91..8db99107 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)
OpenPOWER on IntegriCloud