aboutsummaryrefslogtreecommitdiff
path: root/lang/modula-3
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>1996-11-01 20:27:23 +0000
committerJohn Polstra <jdp@FreeBSD.org>1996-11-01 20:27:23 +0000
commit44410049dccc0e76fd93602e1ed0c3683f32cdda (patch)
tree9e0a422c4a38aa6eea77edd232c6e06fec3bcc00 /lang/modula-3
parent5df68707ad5476ba1b732e7e3df623559d6bf6f6 (diff)
downloadports-44410049dccc0e76fd93602e1ed0c3683f32cdda.tar.gz
ports-44410049dccc0e76fd93602e1ed0c3683f32cdda.zip
Notes
Diffstat (limited to 'lang/modula-3')
-rw-r--r--lang/modula-3/Makefile12
-rw-r--r--lang/modula-3/pkg-plist2
2 files changed, 12 insertions, 2 deletions
diff --git a/lang/modula-3/Makefile b/lang/modula-3/Makefile
index d75c1bc68b12..ae4e11771305 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.6 1996/09/27 18:17:42 jdp Exp $
+# $Id: Makefile,v 1.7 1996/10/29 23:14:05 jdp Exp $
#
DISTNAME= modula-3-3.6
@@ -19,6 +19,11 @@ NO_WRKDIR= yes
NO_CONFIGURE= yes
NO_BUILD= yes
+# Keep these in sync with the PLIST and with the library version numbers
+# in the modula-3-lib port.
+major= 4
+minor= 0
+
# The Modula-3 build process insists on installing each individual
# component immediately after that component is built. To avoid having
# to do the entire build as root, we arrange for everything to first
@@ -40,7 +45,7 @@ do-install:
@echo "Installing files in \"${PREFIX}\""
@cd ${temp_prefix}; \
umask 022; \
- sed -e "/^@/d" -e "s/\.gz$$//" ${PKGDIR}/PLIST | \
+ sed -e "/^@/d" -e "/m3build-/d" -e "s/\.gz$$//" ${PKGDIR}/PLIST | \
cpio -dump -R ${BINOWN}.${BINGRP} ${PREFIX}
@echo "Fixing absolute pathnames in installed files"
@/bin/sh ${SCRIPTDIR}/fix_pathnames ${temp_prefix} ${PREFIX}
@@ -72,6 +77,9 @@ do-install:
@cd ${temp_prefix}; \
find bin -type f ! -name recordheap | (cd ${PREFIX}; xargs strip)
@cd ${PREFIX}/lib/m3/FreeBSD2; strip m3 m3cgc1 m3mkdir
+ @cd ${PREFIX}/bin; \
+ ln -f m3build m3build-${major}; \
+ ln -f m3build m3build-${major}.${minor}
.if !defined(NOMANCOMPRESS)
@echo "Compressing manual pages"
@cd ${temp_prefix}; \
diff --git a/lang/modula-3/pkg-plist b/lang/modula-3/pkg-plist
index 0ee68b790d70..eef64344a219 100644
--- a/lang/modula-3/pkg-plist
+++ b/lang/modula-3/pkg-plist
@@ -2,6 +2,8 @@ bin/analyze_coverage
bin/formsedit
bin/m3browser
bin/m3build
+bin/m3build-4
+bin/m3build-4.0
bin/m3bundle
bin/m3pp
bin/m3ship