ports/devel/eiffelstudio/Makefile
Alejandro Pulver 692db0f46e While Eiffel is widely regarded as the best language for creating fast,
robust, scalable applications, EiffelStudioTM is the only tool for realizing
the full power of the Eiffel Development FrameworkTM. It is available under a
Dual Licensing model. Users can use either commercial or Open Source
licensing.

EiffelStudio is more than just an IDE.

Imagine being able to model your system as you think - capturing your
requirements and your thought processes in Eiffel. Then, when you are ready to
Design, you build upon the model you just created, still in Eiffel. And then
you implement, in Eiffel. You never need to throw anything out and start over.
You don't need extra tools to be able to go back and make changes in
architecture safely. Roundtrip engineering? It's built in by design. Testing,
metrics and productivity tools? They're built in.

And debugging? Eiffel's native Design by ContractTM prevents 90% of the bugs
from ever occurring in the first place - and what bugs remain are easily
traced and repaired, typically within ten minutes.

WWW: http://www.eiffel.com/products/studio/
2007-01-02 18:20:59 +00:00

81 lines
2.3 KiB
Makefile

# New ports collection makefile for: eiffelstudio
# Date created: 2007-01-01
# Whom: alepulver
#
# $FreeBSD$
#
PORTNAME= eiffelstudio
PORTVERSION= 5.7
CATEGORIES= devel
MASTER_SITES= ftp://ftp.cs.rit.edu/pub/mirrors/ise/download/57/ \
ftp://ftp.inf.ethz.ch/pub/mirror/eiffel/57/ \
ftp://ftp.deakin.edu.au/pub/eiffel/download/57/ \
ftp://ftp.gmu.edu/eiffel/ftp.eiffel.com/pub/download/57/ \
ftp://ftp.pucpr.br/eiffel/57/ \
ftp://gd.tuwien.ac.at/languages/eiffel/download/57/ \
http://gd.tuwien.ac.at/languages/eiffel/download/57/ \
ftp://ftp.informatik.uni-stuttgart.de/pub/eiffel/mirrors/ise/download/57/ \
ftp://ftp.eiffel.com/pub/download/57/ \
http://ftp.eiffel.com/pub/download/57/
DISTNAME= Eiffel${PORTVERSION:S/.//}_gpl_64493-freebsd-${EIFFEL_ARCH}
MAINTAINER= alepulver@FreeBSD.org
COMMENT= A Complete Integrated Development Environment for Eiffel
USE_GNOME= gtk20
NO_BUILD= yes
WRKSRC= ${WRKDIR}/Eiffel${PORTVERSION:S/.//}
SUB_FILES= ${PORTNAME} pkg-message
DATADIR= ${PREFIX}/lib/${PORTNAME}
NATIVE_ARCHS= i386 amd64
EIFFEL_HOST= ${OPSYS:L}-${EIFFEL_ARCH}
PLIST_SUB+= EIFFEL_HOST="${EIFFEL_HOST}"
SUB_LIST+= EIFFEL_HOST="${EIFFEL_HOST}"
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 530000
IGNORE= needs FreeBSD 5.3 or higher
.elif ${OSVERSION} >= 600000
LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
.endif
# Try native version first, then try i386 compatibility framework.
.for arch in ${ARCH}
. if ${NATIVE_ARCHS:M${arch}} != ""
EIFFEL_ARCH= ${arch:S/i386/x86/:S/amd64/x86-64/}
. else
IA32_BINARY_PORT= yes
EIFFEL_ARCH= x86
. endif
.endfor
.for arch in ${NATIVE_ARCHS}
. if ${EIFFEL_ARCH} == ${arch:S/i386/x86/:S/amd64/x86-64/}
PLIST_SUB+= ${arch:U}=""
. else
PLIST_SUB+= ${arch:U}="@comment "
. endif
.endfor
do-install:
${MKDIR} ${DATADIR}
${CP} -R ${WRKSRC}/* ${DATADIR}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
.for f in libgtk-x11-2.0.so.400 libgdk-x11-2.0.so.400 libatk-1.0.so.600 \
libgdk_pixbuf-2.0.so.400 libpangoxft-1.0.so.399 libpangox-1.0.so.399 \
libpango-1.0.so.399 libgobject-2.0.so.400 libgmodule-2.0.so.400 \
libgthread-2.0.so.400 libglib-2.0.so.400
${LN} -sf ${LOCALBASE}/lib/${f:C/\.[[:digit:]]+$//} \
${DATADIR}/studio/spec/${EIFFEL_HOST}/lib/${f}
.endfor
post-install:
@${ECHO_CMD}
@${CAT} ${PKGMESSAGE}
@${ECHO_CMD}
.include <bsd.port.post.mk>