2001-09-06 19:56:27 +02:00
# 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
2001-12-25 10:21:17 +01:00
PORTREVISION = 2
2001-09-06 19:56:27 +02:00
CATEGORIES = java devel
MASTER_SITES = # http://www.sun.com/forte/ffj/buy.html
2001-12-25 10:21:17 +01:00
DISTNAME = ffj30_ce_ml
2001-09-06 19:56:27 +02:00
EXTRACT_SUFX = .class
EXTRACT_ONLY =
MAINTAINER = sobomax@FreeBSD.org
2003-03-07 07:14:21 +01:00
COMMENT = A Sun' s powerful and extensible IDE for Java
2001-09-06 19:56:27 +02:00
2003-02-17 14:08:24 +01:00
USE_JAVA = 1.3+
JAVAVM = ${ JAVA_HOME } /bin/java
2001-09-06 19:56:27 +02:00
RESTRICTED = "Restrictive license"
USE_XLIB = yes
NO_BUILD = yes
. i n c l u d e < b s d . p o r t . p r e . m k >
. i f ! e x i s t s ( $ { D I S T D I R } / $ { D I S T N A M E } $ { E X T R A C T _ S U F X } )
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
. e n d i f
do-configure :
2003-02-17 14:08:24 +01:00
@${ SED } " s|%%JDK13DIR%%| ${ JAVA_HOME } |g " \
2001-09-06 19:56:27 +02:00
${ FILESDIR } /forte.sh > ${ WRKDIR } /forte.sh
pre-install :
. i f e x i s t s ( $ { P R E F I X } / s h a r e / j a v a / f o r t e 4 j )
@${ 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 }
. e n d i f
@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
. i n c l u d e < b s d . p o r t . p o s t . m k >