summaryrefslogtreecommitdiff
path: root/lang/smarteiffel/Makefile
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>2000-04-18 15:46:17 +0000
committerJacques Vidrine <nectar@FreeBSD.org>2000-04-18 15:46:17 +0000
commitbe8f5c9c50e3001965f1e8c6810bb35c38b7741c (patch)
treeb9041a78d7a167854a109c13c49c31f823f16bb3 /lang/smarteiffel/Makefile
parentD'oh. I forgot to add "$@" to the vmware command line. (diff)
New port for SmallEiffel, the GNU Eiffel Compiler.
PR: ports/17407 Submitted by: Berend de Boer <berend@pobox.com>
Notes
Notes: svn path=/head/; revision=27725
Diffstat (limited to 'lang/smarteiffel/Makefile')
-rw-r--r--lang/smarteiffel/Makefile55
1 files changed, 55 insertions, 0 deletions
diff --git a/lang/smarteiffel/Makefile b/lang/smarteiffel/Makefile
new file mode 100644
index 000000000000..862d220047f7
--- /dev/null
+++ b/lang/smarteiffel/Makefile
@@ -0,0 +1,55 @@
+# New ports collection makefile for: SmallEiffel
+# Date created: Wed Dec 22 18:20:05 CET 1999
+# Whom: berend@pobox.com
+#
+# $FreeBSD$
+#
+
+PORTNAME= smalleiffel
+PORTVERSION= 0.77
+CATEGORIES= lang
+MASTER_SITES= ftp://ftp.loria.fr/pub/loria/genielog/SmallEiffel/
+DISTNAME= se
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= berend@pobox.com
+
+WRKSRC= ${WRKDIR}/SmallEiffel
+
+# We install in this directory
+SEDIR= ${PREFIX}/${PKGNAME}
+
+# We alias a directory to the installation directory
+# That we we can 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})
+ @${SED} -e "s,%%PREFIX%%,${PREFIX},g" ${PKGDIR}/MESSAGE \
+ > ${PKGMESSAGE}
+ @${SED} -e "s,%%PREFIX%%,${PREFIX},g" ${PKGDIR}/INSTALL \
+ > ${PKGINSTALL}
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>