aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1996-11-02 04:27:23 +0800
committerjdp <jdp@FreeBSD.org>1996-11-02 04:27:23 +0800
commit2c41b3d96749f43de05e49c3d7ba9cca28213bc8 (patch)
tree9cebfecf0249ce6696ae90ea52519a752d8d1ded
parentfb7674c4f0a61790b99a9f257021792d822ed984 (diff)
downloadfreebsd-ports-gnome-2c41b3d96749f43de05e49c3d7ba9cca28213bc8.tar.gz
freebsd-ports-gnome-2c41b3d96749f43de05e49c3d7ba9cca28213bc8.tar.zst
freebsd-ports-gnome-2c41b3d96749f43de05e49c3d7ba9cca28213bc8.zip
Install additional links to "m3build" with version numbers in their
names, e.g., "m3build-4" and "m3build-4.0". This makes it possible for ports that depend on this one to require a specific version. Since the shared libraries have been moved into a separate port, their version numbers can no longer be used for that purpose.
-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