head	1.8;
access;
symbols
	RELEASE_5_0_DP1:1.7
	RELEASE_4_5_0:1.6
	RELEASE_4_4_0:1.5
	RELEASE_4_3_0:1.4
	RELEASE_4_2_0:1.4
	RELEASE_4_1_1:1.3
	RELEASE_4_1_0:1.2
	RELEASE_3_5_0:1.2;
locks; strict;
comment	@# @;


1.8
date	2002.05.08.17.47.19;	author obrien;	state dead;
branches;
next	1.7;

1.7
date	2002.01.29.11.24.09;	author knu;	state Exp;
branches;
next	1.6;

1.6
date	2001.11.06.21.39.36;	author knu;	state Exp;
branches;
next	1.5;

1.5
date	2001.06.23.19.35.18;	author sada;	state Exp;
branches;
next	1.4;

1.4
date	2000.10.08.10.21.54;	author asami;	state Exp;
branches;
next	1.3;

1.3
date	2000.08.03.03.20.13;	author sada;	state Exp;
branches;
next	1.2;

1.2
date	2000.04.19.12.30.39;	author nectar;	state Exp;
branches;
next	1.1;

1.1
date	2000.04.18.15.46.10;	author nectar;	state Exp;
branches;
next	;


desc
@@


1.8
log
@Remove -- this port is older than the released version.

Requested by:	Berend de Boer <berend@@pobox.com>
@
text
@# New ports collection makefile for:	SmallEiffel
# Date created:				Wed Dec 22 18:20:05 CET 1999
# Whom:					berend@@pobox.com
#
# $FreeBSD: ports/lang/smalleiffel-devel/Makefile,v 1.7 2002/01/29 11:24:09 knu Exp $
#

PORTNAME=	smalleiffel
PORTVERSION=	0.76.b4
CATEGORIES=	lang
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	sada

MAINTAINER=	berend@@pobox.com

WRKSRC=		${WRKDIR}/SmallEiffel

NO_LATEST_LINK=	yes

# SmallEiffel needs this to find system.se
MAKE_ENV+=	SmallEiffel=${WRKSRC}/sys/system.se
ALL_TARGET=
PLIST_SUB=	PKGNAME=${PKGNAME}

PKGMESSAGE=	${WRKDIR}/MESSAGE
PKGINSTALL=	${WRKDIR}/INSTALL

# We install in this directory
SEDIR=		${PREFIX}/${PKGNAME}

# We alias a directory to the installation directory
# so it is possible to easily switch between different builds
ALIASDIR=	${PREFIX}/SmallEiffel

# Make sure we can set the symbolic link SmallEiffel
# to the actual release directory.
do-install:
	@@(if ${TEST} -e ${ALIASDIR} ; then \
	    if ! ${TEST} -L ${ALIASDIR} ; then \
		${ECHO} "Make sure ${ALIASDIR} is a symbolic link"; \
		${ECHO} "or does not exist. This directory will point to "; \
		${ECHO} "the actual SmallEiffel installation directory."; \
		exit 1; \
	    fi; \
	    ${RM} ${ALIASDIR}; \
	fi; \
	${LN} -fs ${SEDIR} ${ALIASDIR})
	@@(if ${TEST} -e ${SEDIR} ; then ${RM} -rf ${SEDIR}; fi; \
	    ${MKDIR} ${SEDIR}; \
	    ${CP} -pR ${WRKSRC}/* ${SEDIR}; \
	    ${ECHO_CMD} ./ > ${SEDIR}/sys/loadpath.UNIX; \
	    ${ECHO_CMD} ${SEDIR}/lib_std/ >> ${SEDIR}/sys/loadpath.UNIX; \
	    ${ECHO_CMD} ${SEDIR}/lib_iterator/ >> ${SEDIR}/sys/loadpath.UNIX; \
	    ${ECHO_CMD} ${SEDIR}/lib_random/ >> ${SEDIR}/sys/loadpath.UNIX; \
	    ${ECHO_CMD} ${SEDIR}/lib_number/ >> ${SEDIR}/sys/loadpath.UNIX; \
	    ${ECHO_CMD} ${SEDIR}/lib_show/ >> ${SEDIR}/sys/loadpath.UNIX; \
	    ${ECHO_CMD} ${SEDIR}/lib_se/ >> ${SEDIR}/sys/loadpath.UNIX)
	@@${SED} -e "s,%%PREFIX%%,${PREFIX},g" ${PKGDIR}/pkg-message \
		> ${PKGMESSAGE}
	@@${SED} -e "s,%%PREFIX%%,${PREFIX},g" ${PKGDIR}/pkg-install \
		> ${PKGINSTALL}
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>

# below is the location of original distributions.
#MASTER_SITES=	ftp://ftp.loria.fr/pub/loria/genielog/SmallEiffel/se.beta_test
#DISTNAME=	se
@


1.7
log
@Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.

Use command macros where appropriate.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.6
log
@Define NO_LATEST_LINK because this is a -devel version.
@
text
@d38 2
a39 2
	@@(if test -e ${ALIASDIR} ; then \
	    if ! test -L ${ALIASDIR} ; then \
d48 1
a48 1
	@@(if test -e ${SEDIR} ; then ${RM} -rf ${SEDIR}; fi; \
d51 7
a57 7
	    ${ECHO} ./ > ${SEDIR}/sys/loadpath.UNIX; \
	    ${ECHO} ${SEDIR}/lib_std/ >> ${SEDIR}/sys/loadpath.UNIX; \
	    ${ECHO} ${SEDIR}/lib_iterator/ >> ${SEDIR}/sys/loadpath.UNIX; \
	    ${ECHO} ${SEDIR}/lib_random/ >> ${SEDIR}/sys/loadpath.UNIX; \
	    ${ECHO} ${SEDIR}/lib_number/ >> ${SEDIR}/sys/loadpath.UNIX; \
	    ${ECHO} ${SEDIR}/lib_show/ >> ${SEDIR}/sys/loadpath.UNIX; \
	    ${ECHO} ${SEDIR}/lib_se/ >> ${SEDIR}/sys/loadpath.UNIX)
@


1.5
log
@Change MASTER_SITES to MASTER_SITE_LOCAL to reduce freefall's network load.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/smalleiffel-devel/Makefile,v 1.4 2000/10/08 10:21:54 asami Exp $
d17 2
@


1.4
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/smalleiffel-devel/Makefile,v 1.3 2000/08/03 03:20:13 sada Exp $
d11 2
a12 1
MASTER_SITES=	http://people.FreeBSD.org/~sada/distfiles/
@


1.3
log
@New port - SmallEiffel beta.

SmallEiffel The GNU Eiffel Compiler is a free open-source Eiffel
compiler distributed under the terms of the GNU General Public License
as published by the Free Software Foundation. It is a complete, small
and very fast, free Eiffel compiler.

PR:		ports/18087
Submitted by:	Berend de Boer <berend@@nederware.nl>
@
text
@d5 1
a5 1
# $FreeBSD$
d55 1
a55 1
	@@${SED} -e "s,%%PREFIX%%,${PREFIX},g" ${PKGDIR}/MESSAGE \
d57 1
a57 1
	@@${SED} -e "s,%%PREFIX%%,${PREFIX},g" ${PKGDIR}/INSTALL \
@


1.2
log
@Fixup library load paths.

Submitted by:	MAINTAINER
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/smalleiffel/Makefile,v 1.1 2000/04/18 15:46:10 nectar Exp $
d9 1
a9 1
PORTVERSION=	0.77
d11 1
a11 3
MASTER_SITES=	ftp://ftp.loria.fr/pub/loria/genielog/SmallEiffel/
DISTNAME=	se
EXTRACT_SUFX=	.tgz
d17 8
a31 7
# SmallEiffel needs this to find system.se
MAKE_ENV+=	SmallEiffel=${WRKSRC}/sys/system.se
ALL_TARGET=

PKGMESSAGE=	${WRKDIR}/MESSAGE
PKGINSTALL=	${WRKDIR}/INSTALL

d62 4
@


1.1
log
@New port for SmallEiffel, the GNU Eiffel Compiler.

PR:		ports/17407
Submitted by:	Berend de Boer <berend@@pobox.com>
@
text
@d5 1
a5 1
# $FreeBSD$
d23 1
a23 1
# That we we can easily switch between different builds
d48 8
a55 1
	    ${CP} -pR ${WRKSRC}/* ${SEDIR})
@

