head	1.6;
access;
symbols
	RELEASE_5_0_0:1.5
	RELEASE_4_7_0:1.5
	RELEASE_4_6_2:1.5
	RELEASE_4_6_1:1.5
	RELEASE_4_6_0:1.5
	RELEASE_5_0_DP1:1.5
	RELEASE_4_5_0:1.4
	RELEASE_4_4_0:1.4
	RELEASE_4_3_0:1.4
	RELEASE_4_2_0:1.3
	RELEASE_4_1_1:1.2
	RELEASE_4_1_0:1.2
	RELEASE_3_5_0:1.2;
locks; strict;
comment	@# @;


1.6
date	2003.01.06.15.42.41;	author ijliao;	state dead;
branches;
next	1.5;

1.5
date	2002.01.29.11.24.09;	author knu;	state Exp;
branches;
next	1.4;

1.4
date	2001.03.11.18.44.49;	author dinoex;	state Exp;
branches;
next	1.3;

1.3
date	2000.10.08.10.21.55;	author asami;	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.6
log
@smalleiffel -> smarteiffel
upgrade to 1.0

PR:		46044
Submitted by:	maintainer
@
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/Makefile,v 1.5 2002/01/29 11:24:09 knu Exp $
#

PORTNAME=	smalleiffel
PORTVERSION=	0.76
PORTEPOCH=	1	# Version numbering is negative
CATEGORIES=	lang
MASTER_SITES=	ftp://ftp.loria.fr/pub/loria/genielog/SmallEiffel/Oldies/
DISTNAME=	se-${PORTVERSION}
EXTRACT_SUFX=	.tgz

MAINTAINER=	berend@@pobox.com

WRKSRC=		${WRKDIR}/SmallEiffel

# We install in this directory
SEDIR=		${PREFIX}/${PORTNAME}-${PORTVERSION}

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

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

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

# 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>
@


1.5
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.4
log
@- Update from -0.77 to -0.76
- Version numbering is negative, so PORTEPOCH must be bumped each time
- Distfile now match version number
- Original patch had wrong checksum
- avoid PORTEPOCH in installation path

PR:		22773
Submitted by:	maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/smalleiffel/Makefile,v 1.3 2000/10/08 10:21:55 asami Exp $
d37 2
a38 2
	@@(if test -e ${ALIASDIR} ; then \
	    if ! test -L ${ALIASDIR} ; then \
d47 1
a47 1
	@@(if test -e ${SEDIR} ; then ${RM} -rf ${SEDIR}; fi; \
d50 7
a56 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.3
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/Makefile,v 1.2 2000/04/19 12:30:39 nectar Exp $
d9 2
a10 1
PORTVERSION=	0.77
d12 2
a13 2
MASTER_SITES=	ftp://ftp.loria.fr/pub/loria/genielog/SmallEiffel/
DISTNAME=	se
d21 1
a21 1
SEDIR=		${PREFIX}/${PKGNAME}
@


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 $
d56 1
a56 1
	@@${SED} -e "s,%%PREFIX%%,${PREFIX},g" ${PKGDIR}/MESSAGE \
d58 1
a58 1
	@@${SED} -e "s,%%PREFIX%%,${PREFIX},g" ${PKGDIR}/INSTALL \
@


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})
@

