aboutsummaryrefslogtreecommitdiffstats
path: root/java/bluej/Makefile
blob: 109494a3006576175e3f847f2e375ade2fb7ed74 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:    bluej
# Date created:     27 June 2001
# Whom:         Jeremy <karlj000@unbc.ca>
#
# $FreeBSD$
#

PORTNAME=   bluej
PORTVERSION=    2.0.2
CATEGORIES= java editors
MASTER_SITES=   http://www.bluej.org/download/files/ \
        ftp://ftp.bluej.org/pub/bluej/
DISTNAME=   ${PORTNAME}-${PORTVERSION:S/.//g}
EXTRACT_SUFX=   .jar
EXTRACT_ONLY=

MAINTAINER= kij@imada.sdu.dk
COMMENT=    BlueJ is an integrated Java environment designed for introductory teaching

IS_INTERACTIVE= yes
NO_BUILD=   yes

USE_JAVA=   1.4+

do-install:
    @${ECHO} Starting BlueJ graphical installer...  Please install to default path of
    @${ECHO} ${PREFIX}/bluej.  Close the installer when done.
    @cd ${PREFIX}; ${JAVA_HOME}/bin/java -jar ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
    -@${MKDIR} ${PREFIX}/bin
    @${LN} -sf ${PREFIX}/bluej/bluej ${PREFIX}/bin/bluej

.include <bsd.port.mk>