diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-09-06 17:56:27 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-09-06 17:56:27 +0000 |
commit | 6559e8476ee2528fe4cc1794daa6863b19c63ef7 (patch) | |
tree | ddf5c101dfc7ba86197fb29d479ac88ddef8ca46 /java/forte/Makefile | |
parent | bd49dd4830bae65f187ac916d7406c276ba153b5 (diff) | |
download | FreeBSD-ports-6559e8476ee2528fe4cc1794daa6863b19c63ef7.zip FreeBSD-ports-6559e8476ee2528fe4cc1794daa6863b19c63ef7.tar.gz |
Add port of Forte[tm] for Java[tm] Community Edition 3.0, a Sun's powerful
and extensible IDE for Java. It's huge and slow but I'm sure FreeBSD Java
monkies would like it. ;)
-Maxim
Diffstat (limited to 'java/forte/Makefile')
-rw-r--r-- | java/forte/Makefile | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/java/forte/Makefile b/java/forte/Makefile new file mode 100644 index 0000000..974568d --- /dev/null +++ b/java/forte/Makefile @@ -0,0 +1,62 @@ +# New ports collection makefile for: Forte for Java, Cummunity Edition +# Date created: 6 August 2001 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= forte +PORTVERSION= 3.0 +CATEGORIES= java devel +MASTER_SITES= # http://www.sun.com/forte/ffj/buy.html +DISTNAME= forte_ce_3 +EXTRACT_SUFX= .class +EXTRACT_ONLY= + +MAINTAINER= sobomax@FreeBSD.org + +BUILD_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/jdk13 +RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/jdk13 + +JDK13DIR?= ${LOCALBASE}/jdk1.3.1 +JAVAVM= ${JDK13DIR}/bin/java + +RESTRICTED= "Restrictive license" +USE_XLIB= yes +NO_BUILD= yes + +.include <bsd.port.pre.mk> + +.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) +IGNORE= You must manually fetch the source distribution (${DISTFILES}) from http://www.sun.com/forte/ffj/buy.html (registration required), place it in ${DISTDIR} and then run make again +.endif + +do-configure: + @${SED} "s|%%JDK13DIR%%|${JDK13DIR}|g" \ + ${FILESDIR}/forte.sh > ${WRKDIR}/forte.sh + +pre-install: +.if exists(${PREFIX}/share/java/forte4j) + @${ECHO_MSG} + @${ECHO_MSG} "It seems that you already have \`${PREFIX}/share/java/forte4j' directory," + @${ECHO_MSG} "please remove it before proceeding with installation, otherwise installation" + @${ECHO_MSG} "will hang." + @${ECHO_MSG} + @${FALSE} +.endif + @if [ x"$${DISPLAY}" = x"" ]; then \ + ${ECHO_MSG}; \ + ${ECHO_MSG} "Due to limitations in installer you have to install this port from within"; \ + ${ECHO_MSG} "X11 environment. However, the installation itself is fully automatic and"; \ + ${ECHO_MSG} "doesn't require any user's interaction."; \ + ${ECHO_MSG}; \ + ${FALSE}; \ + fi + +do-install: + @${SED} "s|%%PREFIX%%|${PREFIX}|" ${FILESDIR}/instscript | ${SETENV} \ + CLASSPATH=${DISTDIR} ${JAVAVM} ${DISTNAME} -nodisplay > /dev/null || ${TRUE} + @${INSTALL_SCRIPT} ${WRKDIR}/forte.sh ${PREFIX}/share/java/forte4j/bin + @${LN} -sf ${PREFIX}/share/java/forte4j/bin/forte.sh ${PREFIX}/bin/forte + +.include <bsd.port.post.mk> |