head	1.31;
access;
symbols
	RELEASE_4_3_0:1.29
	RELEASE_4_2_0:1.29
	RELEASE_4_1_1:1.25
	RELEASE_4_1_0:1.25
	RELEASE_3_5_0:1.24
	RELEASE_4_0_0:1.21
	RELEASE_3_4_0:1.20
	RELEASE_3_3_0:1.19
	RELEASE_3_2_0:1.14
	RELEASE_3_1_0:1.14
	RELEASE_2_2_8:1.13
	RELEASE_3_0_0:1.13
	RELEASE_2_2_7:1.10
	RELEASE_2_2_6:1.9
	RELEASE_2_2_5:1.9
	RELEASE_2_2_1:1.5
	RELEASE_2_2_2:1.7
	jdp_1_0:1.1.1.1
	JDP:1.1.1;
locks; strict;
comment	@# @;


1.31
date	2001.07.21.23.41.35;	author jdp;	state dead;
branches;
next	1.30;

1.30
date	2001.06.01.06.04.57;	author obrien;	state Exp;
branches;
next	1.29;

1.29
date	2000.10.28.19.58.02;	author jdp;	state Exp;
branches;
next	1.28;

1.28
date	2000.10.08.10.21.51;	author asami;	state Exp;
branches;
next	1.27;

1.27
date	2000.10.08.02.16.32;	author asami;	state Exp;
branches;
next	1.26;

1.26
date	2000.10.07.22.17.57;	author asami;	state Exp;
branches;
next	1.25;

1.25
date	2000.07.05.12.36.37;	author tg;	state Exp;
branches;
next	1.24;

1.24
date	2000.06.09.21.59.02;	author asami;	state Exp;
branches;
next	1.23;

1.23
date	2000.04.17.00.18.04;	author reg;	state Exp;
branches;
next	1.22;

1.22
date	2000.04.12.06.19.29;	author obrien;	state Exp;
branches;
next	1.21;

1.21
date	99.12.23.17.31.07;	author jdp;	state Exp;
branches;
next	1.20;

1.20
date	99.09.29.05.00.43;	author jdp;	state Exp;
branches;
next	1.19;

1.19
date	99.08.27.22.29.37;	author mharo;	state Exp;
branches;
next	1.18;

1.18
date	99.08.25.06.34.59;	author obrien;	state Exp;
branches;
next	1.17;

1.17
date	99.08.23.04.23.33;	author mharo;	state Exp;
branches;
next	1.16;

1.16
date	99.08.22.23.32.52;	author mharo;	state Exp;
branches;
next	1.15;

1.15
date	99.08.22.18.58.51;	author mharo;	state Exp;
branches;
next	1.14;

1.14
date	99.01.28.05.39.19;	author jdp;	state Exp;
branches;
next	1.13;

1.13
date	98.10.13.01.17.27;	author jseger;	state Exp;
branches;
next	1.12;

1.12
date	98.10.12.16.38.04;	author jseger;	state Exp;
branches;
next	1.11;

1.11
date	98.09.18.01.02.02;	author jdp;	state Exp;
branches;
next	1.10;

1.10
date	98.06.06.20.32.03;	author jdp;	state Exp;
branches;
next	1.9;

1.9
date	97.07.17.15.12.48;	author max;	state Exp;
branches;
next	1.8;

1.8
date	97.07.13.18.49.22;	author max;	state Exp;
branches;
next	1.7;

1.7
date	97.04.30.03.18.04;	author asami;	state Exp;
branches;
next	1.6;

1.6
date	97.03.28.04.38.43;	author jdp;	state Exp;
branches;
next	1.5;

1.5
date	97.02.14.22.17.03;	author jdp;	state Exp;
branches;
next	1.4;

1.4
date	96.11.29.19.49.12;	author jdp;	state Exp;
branches;
next	1.3;

1.3
date	96.11.14.23.18.58;	author jdp;	state Exp;
branches;
next	1.2;

1.2
date	96.11.12.02.18.39;	author obrien;	state Exp;
branches;
next	1.1;

1.1
date	96.10.29.23.01.51;	author jdp;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	96.10.29.23.01.51;	author jdp;	state Exp;
branches;
next	;


desc
@@


1.31
log
@Remove the old modula-3 and modula-3-lib ports.  They are superseded
by the pm3-* family of ports, which build a newer and better-maintained
version of Modula-3.  I have converted all ports which depended on
modula-3 to use pm3-* instead.

PR:		ports/27664 is rendered irrelevant
@
text
@# New ports collection makefile for:	modula-3-lib
# Date created:		28 Oct 1996
# Whom:			John Polstra <jdp@@polstra.com>
#
# $FreeBSD: ports/lang/modula-3-lib/Makefile,v 1.30 2001/06/01 06:04:57 obrien Exp $
#

PORTNAME=	modula-3-lib
PORTVERSION=	3.6
CATEGORIES=	lang
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	asami/LOCAL_PORTS
DISTFILES=	m3-fbsd-src-3.6.tar.gz \
		m3-fbsd-m3cc-3.6.tar.gz \
		m3-fbsd-m3ccelf-3.6.tar.gz \
		m3-fbsd-gcc-3.6.tar.gz
# Note: Depending on what is already installed on the system, the code
# below may add some more DISTFILES.

MAINTAINER=	jdp@@polstra.com

NO_WRKSUBDIR=	yes
SCRIPTS_ENV+=	MAJOR=${major} PKGDIR=${PKGDIR} PLIST=${PLIST}

# There are two distfiles that may or may not be needed, depending on
# what is already installed on the system.  First, we need an executable
# for the Modula-3 compiler, in order to compile the new compiler, which
# is written in Modula-3.  Often, there will already be such an executable
# installed on the system.  Second, we need many files from gcc-2.7.2.1.
# Often, we can find these in the system sources, under "/usr/src/contrib".
#
# This code tries to avoid fetching the distfiles, unless necessary.
# We look on the system to see whether the necessary files are present,
# and use those if we can.  If we cannot find the needed files, we
# fetch the distfiles.

# For the Modula-3 compiler, we look in ${PREFIX} and in /usr/local.
.ifdef PREFIX
have_boot!=	/bin/sh scripts/check_files files/T.boot installed ${PREFIX}
.else
have_boot=
.endif
.if empty(have_boot)
have_boot!=	/bin/sh scripts/check_files files/T.boot installed /usr/local
.endif
.if empty(have_boot)
DISTFILES+=	m3-fbsd-boot-3.6.tar.gz
.endif

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 400011
EXTRA_PATCHES=	${PATCHDIR}/extra-patch-new-sigset-aa \
		${PATCHDIR}/extra-patch-new-sigset-ab \
		${PATCHDIR}/extra-patch-new-sigset-ac
.else
EXTRA_PATCHES=	${PATCHDIR}/extra-patch-old-sigset-aa
.endif

# Startup script, run at boot time
startup_dir=	${PREFIX}/etc/rc.d
startup_script=	${startup_dir}/50.m3.sh

# 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
# be "installed" into the following directory, which we own.
temp_prefix=	${WRKSRC}/installed

# Where shared libraries are installed, relative to the PREFIX.
libdir=		lib/m3/FreeBSD2

# Shared library major version number
major=		6

# Support building on systems with or without X11 installed.
.ifdef WITHOUT_X11
PLIST=		${WRKDIR}/pkg-plist.noX11
.else
pre-fetch:
	@@${ECHO_MSG} "To build this port without X11, define \"WITHOUT_X11\"."

USE_XLIB=	yes
PLIST=		${WRKDIR}/pkg-plist
.endif

post-extract:
.if !empty(have_boot)
	@@${ECHO_MSG} "Copying bootstrap modula-3 compiler from ${have_boot}"
	@@${SH} ${SCRIPTDIR}/copy_files ${FILESDIR}/T.boot installed \
	    ${have_boot} ${WRKSRC}
.endif
	@@cd ${WRKSRC}/m3cc/gcc; \
	    ${CHMOD} +x config.sub configure move-if-change

do-build:
	@@test -d ${temp_prefix}/bin || ${MKDIR} ${temp_prefix}/bin
	@@test -d ${temp_prefix}/man/man1 || ${MKDIR} ${temp_prefix}/man/man1
	@@test -d ${temp_prefix}/lib/m3/pkg/m3build/templates || \
	    ${MKDIR} ${temp_prefix}/lib/m3/pkg/m3build/templates
	@@${ECHO_MSG} "++++++++++ quake ++++++++++"
	@@test -d ${WRKSRC}/m3/quake/FreeBSD2 || \
	    ${MKDIR} ${WRKSRC}/m3/quake/FreeBSD2
	@@cd ${WRKSRC}/m3/quake/FreeBSD2; \
	    make -f ../src/makefile TARGET=FreeBSD2 COPT=-O CDEBUG= ; \
	    ${CP} -p quake ${temp_prefix}/bin; \
	    ${CP} -p ../src/quake.1 ${temp_prefix}/man/man1
	@@${ECHO_MSG} "++++++++++ m3build ++++++++++"
	@@cd ${WRKSRC}/m3/m3build; \
	    PATH=${temp_prefix}/bin:$$PATH ./build FreeBSD2; \
	    ${CP} -p FreeBSD2/m3build FreeBSD2/m3ship FreeBSD2/m3where \
		${temp_prefix}/bin; \
	    ${CP} -p FreeBSD2/m3mkdir ${temp_prefix}/${libdir}; \
	    ${CP} -p templates/CLEANUP templates/COMMON templates/COMMON.BOOT \
		templates/FreeBSD2 templates/PLATFORMS templates/POSIX \
		${temp_prefix}/lib/m3/pkg/m3build/templates; \
	    ${CP} -p FreeBSD2/m3build.1 FreeBSD2/m3ship.1 FreeBSD2/m3where.1 \
		${temp_prefix}/man/man1
	@@${ECHO_MSG} "++++++++++ m3cc ++++++++++"
	@@test -d ${WRKSRC}/m3cc/FreeBSD2 || ${MKDIR} ${WRKSRC}/m3cc/FreeBSD2
	@@cd ${WRKSRC}/m3cc/FreeBSD2; \
	    ../gcc/configure i486-unknown-freebsd; \
	    make m3cgc1 CC="${CC}" CFLAGS="${CFLAGS}"; \
	    ${CP} -p m3cgc1 ${temp_prefix}/${libdir}
	@@${ECHO_MSG} "++++++++++ everything else ++++++++++"
	@@cd ${WRKSRC}/m3; \
	    LD_LIBRARY_PATH=${temp_prefix}/${libdir}:$$LD_LIBRARY_PATH; \
	    PATH=${temp_prefix}/bin:$$PATH; \
	    export LD_LIBRARY_PATH PATH; \
	    m3build

pre-install:
	@@${ECHO_MSG} "Checking for conflicting shared libraries"
	@@PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL

do-install:
	@@${ECHO_MSG} "Installing shared libraries"
	@@cd ${temp_prefix}; \
	    umask 022; \
	    ${GREP} '^lib/m3/' ${PLIST}.real | \
		cpio -dump -R ${BINOWN}.${BINGRP} ${PREFIX}
	@@cd ${PREFIX}; \
	    ${GREP} '^lib/m3/' ${PLIST}.real | 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_MSG} "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_MSG} "Installing ${startup_script} file"; \
	    test -d ${startup_dir} || ${MKDIR} ${startup_dir}; \
	    ${INSTALL_SCRIPT} ${FILESDIR}/50.m3.sh ${startup_script}; \
	fi
	@@${ECHO_MSG} "Running ldconfig"
	@@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib/m3/FreeBSD2

.include <bsd.port.post.mk>
@


1.30
log
@Use proper POSIX syntax for `chown'.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/modula-3-lib/Makefile,v 1.29 2000/10/28 19:58:02 jdp Exp $
@


1.29
log
@Fix breakage from the Great Ports Reorganization of 2000.

PR:		misc/22000
Submitted by:	Jay Krell <jay.krell@@cornell.edu>
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/modula-3-lib/Makefile,v 1.28 2000/10/08 10:21:51 asami Exp $
d144 1
a144 1
	    find -X lib/m3 -type d | xargs ${CHOWN} ${BINOWN}.${BINGRP}; \
@


1.28
log
@Change PKGDIR from pkg/ to .  Also fix places where ${PKGDIR} is
spelled out (many of which are ${PKGDIR}/MESSAGE -> ${PKGMESSAGE} type
fixes that shouldn't have been necessary) and the string "/pkg/"
appear.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/modula-3-lib/Makefile,v 1.27 2000/10/08 02:16:32 asami Exp $
d84 1
a84 1
PLIST=		${WRKDIR}/PLIST
@


1.27
log
@Rename PLIST.noX11 to pkg-plist.noX11.

(I believe I got this right, but since this PLIST is actually
processed in scripts/conifgure, I am not 100% sure that I have traced
its entire path.  If the maintainer can check, it will be greatly
appreciated.)
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/modula-3-lib/Makefile,v 1.26 2000/10/07 22:17:57 asami Exp $
d134 1
a134 1
	@@PREFIX=${PREFIX} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} PRE-INSTALL
@


1.26
log
@Rename ${FILESDIR}/patch-* to ${PATCHDIR}/extra-patch-*.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/modula-3-lib/Makefile,v 1.25 2000/07/05 12:36:37 tg Exp $
d78 1
a78 1
PLIST=		${WRKDIR}/PLIST.noX11
@


1.25
log
@As threatened on freebsd-ports: all startup scripts know about the two
options `start' and `stop' now (unless I have forgotten any). This allows
us to call the scripts from /etc/rc.shutdown with the correct option.

The (42 or so) ports that already DTRT before are unchanged.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/modula-3-lib/Makefile,v 1.24 2000/06/09 21:59:02 asami Exp $
d53 3
a55 3
EXTRA_PATCHES=	${FILESDIR}/patch-new-sigset-aa \
		${FILESDIR}/patch-new-sigset-ab \
		${FILESDIR}/patch-new-sigset-ac
d57 1
a57 1
EXTRA_PATCHES=	${FILESDIR}/patch-old-sigset-aa
@


1.24
log
@Define MASTER_SITE_SUBDIR=asami/LOCAL_PORTS as these are moved to my
area on the local ports tree.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/modula-3-lib/Makefile,v 1.23 2000/04/17 00:18:04 reg Exp $
d156 1
a156 5
	    ${ECHO} "#!/bin/sh" > ${startup_script}; \
	    ${ECHO} "${ECHO} -n ' Modula-3'" >> ${startup_script}; \
	    ${ECHO} "${LDCONFIG} -m ${PREFIX}/lib/m3/FreeBSD2" \
		>> ${startup_script}; \
	    ${CHMOD} 755 ${startup_script}; \
@


1.23
log
@Standardize all user defined options to the booleans WITH_FOO and
WITHOUT_FOO.  Begin the process of reserving these prefixes for user defined
options.

No comment by:	ports
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/modula-3-lib/Makefile,v 1.22 2000/04/12 06:19:29 obrien Exp $
d12 1
@


1.22
log
@Convert to the PORTNAME - PORTVERSION syntax.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/modula-3-lib/Makefile,v 1.21 1999/12/23 17:31:07 jdp Exp $
d76 1
a76 1
.ifdef NO_X11
d80 1
a80 1
	@@${ECHO_MSG} "To build this port without X11, define \"NO_X11\"."
@


1.21
log
@Fix the Modula-3 runtime so it will work with the new larger
sigset_t types in -current.
@
text
@a1 1
# Version required:	3.6
d5 1
a5 1
# $FreeBSD: ports/lang/modula-3-lib/Makefile,v 1.20 1999/09/29 05:00:43 jdp Exp $
d8 2
a9 1
DISTNAME=	modula-3-lib-3.6
@


1.20
log
@Don't try to get the GCC-2.7.2.1 sources from "/usr/src".  They
aren't there any more in -current.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/modula-3-lib/Makefile,v 1.19 1999/08/27 22:29:37 mharo Exp $
d49 10
d164 1
a164 1
.include <bsd.port.mk>
@


1.19
log
@echo -> ${ECHO} or ${ECHO_MSG}  and in some cases, move echo stuff
to pkg/MESSAGE and use ${CAT} ${PKGMESSAGE}
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/modula-3-lib/Makefile,v 1.18 1999/08/25 06:34:59 obrien Exp $
d14 2
a15 1
		m3-fbsd-m3ccelf-3.6.tar.gz
a48 6
# For gcc-2.7.2.1, we look in /usr/src/contrib.
have_gcc!=	/bin/sh scripts/check_files files/T.gcc m3cc /usr/src/contrib
.if empty(have_gcc)
DISTFILES+=	m3-fbsd-gcc-3.6.tar.gz
.endif

a80 5
.endif
.if !empty(have_gcc)
	@@${ECHO_MSG} "Copying gcc sources from ${have_gcc}"
	@@${SH} ${SCRIPTDIR}/copy_files ${FILESDIR}/T.gcc m3cc \
	    ${have_gcc} ${WRKSRC}
@


1.18
log
@Change Id->FreeBSD.
@
text
@d6 1
a6 1
# $FreeBSD$
d75 1
a75 1
	@@echo "To build this port without X11, define \"NO_X11\"."
d83 1
a83 1
	@@echo "Copying bootstrap modula-3 compiler from ${have_boot}"
d88 1
a88 1
	@@echo "Copying gcc sources from ${have_gcc}"
d100 1
a100 1
	@@echo "++++++++++ quake ++++++++++"
d107 1
a107 1
	@@echo "++++++++++ m3build ++++++++++"
d118 1
a118 1
	@@echo "++++++++++ m3cc ++++++++++"
d124 1
a124 1
	@@echo "++++++++++ everything else ++++++++++"
d132 1
a132 1
	@@echo "Checking for conflicting shared libraries"
d136 1
a136 1
	@@echo "Installing shared libraries"
d145 1
a145 1
	@@echo "Installing copyright notice"
d153 1
a153 1
	    echo "Installing ${startup_script} file"; \
d155 3
a157 3
	    echo "#!/bin/sh" > ${startup_script}; \
	    echo "echo -n ' Modula-3'" >> ${startup_script}; \
	    echo "${LDCONFIG} -m ${PREFIX}/lib/m3/FreeBSD2" \
d161 1
a161 1
	@@echo "Running ldconfig"
@


1.17
log
@grep -> ${GREP}
true -> ${TRUE}
false -> ${FALSE}
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.16 1999/08/22 23:32:52 mharo Exp $
@


1.16
log
@awk -> ${AWK}
basename -> ${BASENAME}
cat -> ${CAT}
cp -> ${CP}
ldconfig -> ${LDCONFIG}
mkdir -> ${MKDIR}
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.15 1999/08/22 18:58:51 mharo Exp $
d139 1
a139 1
	    grep '^lib/m3/' ${PLIST}.real | \
d142 1
a142 1
	    grep '^lib/m3/' ${PLIST}.real | xargs ${CHMOD} go=u-w; \
@


1.15
log
@chmod -> ${CHMOD}
chown -> ${CHOWN}
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.14 1999/01/28 05:39:19 jdp Exp $
d157 1
a157 1
	    echo "/sbin/ldconfig -m ${PREFIX}/lib/m3/FreeBSD2" \
@


1.14
log
@Instead of trying to auto-detect whether X11 is installed, require
the user to define NO_X11 if it is not.  The auto-detection scheme
caused problems for Satoshi's port building system.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.13 1998/10/13 01:17:27 jseger Exp $
d93 1
a93 1
	    chmod +x config.sub configure move-if-change
d142 3
a144 3
	    grep '^lib/m3/' ${PLIST}.real | xargs chmod go=u-w; \
	    find -X lib/m3 -type d | xargs chown ${BINOWN}.${BINGRP}; \
	    find -X lib/m3 -type d | xargs chmod 755
d148 1
a148 1
	    chmod 755 ${PREFIX}/share/modula-3-lib; \
d159 1
a159 1
	    chmod 755 ${startup_script}; \
@


1.13
log
@Unmark BROKEN.  It was a previously fixed SMP problem.

Pointed out by:	jdp
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.12 1998/10/12 16:38:04 jseger Exp $
a53 10
# Support building on systems with or without X11 installed.  The port
# only supports X11R6 in the standard location, so we don't bother using
# the X11BASE macro.  It's not defined yet at this point in the Makefile
# anyway.
.if exists(/usr/X11R6/lib/libX11.a)
PLIST=		${WRKDIR}/PLIST
.else
PLIST=		${WRKDIR}/PLIST.noX11
.endif

d69 11
@


1.12
log
@Mark BROKEN for ELF.  Depends on modula-3 which is BROKEN:
***
*** runtime error:
***    Segmentation violation - possible attempt to dereference NIL

***
*** runtime error:
***    ASSERT failed
***    file "../src/runtime/common/RTHeapMap.m3", line 35
***

Abort trap - core dumped
*** error code 134 (ignored)
missing libm3formsvbtpixmaps.a: not building libm3formsvbtpixmaps.so.6

followed by many more errors
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.11 1998/09/18 01:02:02 jdp Exp $
a18 2

BROKEN_ELF=	lots of errors
@


1.11
log
@Make these ports work on ELF systems.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.10 1998/06/06 20:32:03 jdp Exp $
d19 2
@


1.10
log
@By popular demand, make the modula-3 ports build successfully even
if X11 is not installed.

PR:		closes ports/4178
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.9 1997/07/17 15:12:48 max Exp $
d12 3
a14 1
DISTFILES=	m3-fbsd-src-3.6.tar.gz m3-fbsd-m3cc-3.6.tar.gz
d21 1
d58 4
a61 2
.if !exists(/usr/X11R6/lib/libX11.a)
PLIST=		${PKGDIR}/PLIST.noX11
d74 6
d111 1
a111 1
	    ${CP} -p FreeBSD2/m3mkdir ${temp_prefix}/lib/m3/FreeBSD2; \
d122 1
a122 1
	    ${CP} -p m3cgc1 ${temp_prefix}/lib/m3/FreeBSD2
d125 1
a125 1
	    LD_LIBRARY_PATH=${temp_prefix}/lib/m3/FreeBSD2:$$LD_LIBRARY_PATH; \
d138 1
a138 1
	    grep '^lib/m3/' ${PLIST} | \
d141 1
a141 1
	    grep '^lib/m3/' ${PLIST} | xargs chmod go=u-w; \
d161 1
a161 1
	@@${LDCONFIG} -m ${PREFIX}/lib/m3/FreeBSD2
@


1.9
log
@ldconfig -> ${LDCONFIG}.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.8 1997/07/13 18:49:22 max Exp $
d51 8
d127 1
a127 1
	    grep '^lib/m3/' ${PKGDIR}/PLIST | \
d130 1
a130 1
	    grep '^lib/m3/' ${PKGDIR}/PLIST | xargs chmod go=u-w; \
@


1.8
log
@/bin/sh -> ${SH}
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.7 1997/04/30 03:18:04 asami Exp $
d142 1
a142 1
	@@/sbin/ldconfig -m ${PREFIX}/lib/m3/FreeBSD2
@


1.7
log
@Use new MASTER_SITE_LOCAL variable from bsd.port.mk.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.6 1997/03/28 04:38:43 jdp Exp $
d64 1
a64 1
	@@/bin/sh ${SCRIPTDIR}/copy_files ${FILESDIR}/T.boot installed \
d69 1
a69 1
	@@/bin/sh ${SCRIPTDIR}/copy_files ${FILESDIR}/T.gcc m3cc \
d113 1
a113 1
	@@PREFIX=${PREFIX} /bin/sh ${PKGDIR}/INSTALL ${PKGNAME} PRE-INSTALL
@


1.6
log
@Arrange for the DEC copyright notice to be installed and included
in the package.  Add a pointer to it in the DESCR file.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.5 1997/02/14 22:17:03 jdp Exp $
d11 1
a11 1
MASTER_SITES=	ftp://freefall.FreeBSD.ORG/pub/FreeBSD/LOCAL_PORTS/
@


1.5
log
@Honor the user's CC and CFLAGS settings when building the code
generator.
Submitted by:	ache
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.4 1996/11/29 19:49:12 jdp Exp $
d125 7
@


1.4
log
@Rename the start-up script from "m3.sh" to "50.m3.sh", to ensure that it
will be executed before any other scripts that depend on it (such as an
anticipated "cvsupd.sh").
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.3 1996/11/14 23:18:58 jdp Exp $
d102 1
a102 1
	    make m3cgc1 CC=cc CFLAGS=-O; \
@


1.3
log
@The recent mass changes to the ports broke this one by erroneously
changing a "cpio" to "${CP}".  This commit undoes that change.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.2 1996/11/12 02:18:39 obrien Exp $
d53 1
a53 1
startup_script=	${startup_dir}/m3.sh
@


1.2
log
@CATAGORIES+= -> CATAGORIES=
Reordered vars where needed.  Added MAINTAINERS where needed, many
mkdir --> ${MKDIR}, install -> ${INSTALL_*}, etc.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.1.1.1 1996/10/29 23:01:51 jdp Exp $
d120 1
a120 1
		${CP} -dump -R ${BINOWN}.${BINGRP} ${PREFIX}
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
# $Id$
d10 1
a10 1
CATEGORIES+=	lang
d76 2
a77 2
	@@test -d ${temp_prefix}/bin || mkdir -p ${temp_prefix}/bin
	@@test -d ${temp_prefix}/man/man1 || mkdir -p ${temp_prefix}/man/man1
d79 1
a79 1
	    mkdir -p ${temp_prefix}/lib/m3/pkg/m3build/templates
d82 1
a82 1
	    mkdir -p ${WRKSRC}/m3/quake/FreeBSD2
d85 2
a86 2
	    cp -p quake ${temp_prefix}/bin; \
	    cp -p ../src/quake.1 ${temp_prefix}/man/man1
d90 1
a90 1
	    cp -p FreeBSD2/m3build FreeBSD2/m3ship FreeBSD2/m3where \
d92 2
a93 2
	    cp -p FreeBSD2/m3mkdir ${temp_prefix}/lib/m3/FreeBSD2; \
	    cp -p templates/CLEANUP templates/COMMON templates/COMMON.BOOT \
d96 1
a96 1
	    cp -p FreeBSD2/m3build.1 FreeBSD2/m3ship.1 FreeBSD2/m3where.1 \
d99 1
a99 1
	@@test -d ${WRKSRC}/m3cc/FreeBSD2 || mkdir -p ${WRKSRC}/m3cc/FreeBSD2
d103 1
a103 1
	    cp -p m3cgc1 ${temp_prefix}/lib/m3/FreeBSD2
d120 1
a120 1
		cpio -dump -R ${BINOWN}.${BINGRP} ${PREFIX}
d127 1
a127 1
	    test -d ${startup_dir} || mkdir -p ${startup_dir}; \
@


1.1.1.1
log
@Split the Modula-3 port into two pieces, creating a new port
"modula-3-lib".  It installs only the shared libraries needed for
executing Modula-3 programs.  This saves a lot of disk space for
people who need to run Modula-3 programs but don't need to build
them.  The original "modula-3" port now depends on this one, and
uses it to install the compiler and the rest of the development
system.

Also, everything is now built with optimization.  I have been
testing this for at least a month, and haven't seen any problems
from it.  It makes the libraries and executables substantially
smaller.

This new port also includes some hooks that will make SOCKS support
possible in the near future.
@
text
@@
