aboutsummaryrefslogtreecommitdiffstats
path: root/www/hotjava/Makefile
blob: 5045505975a584e7751f311a8f6de37bb5dd0f1b (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
33
34
35
36
37
38
# New ports collection makefile for:    Hotjava
# Date created:     1999/07/03
# Whom:         Jose Marques
#
# $FreeBSD$
#

PORTNAME=   hotjava
PORTVERSION=    3.0
CATEGORIES= www java
MASTER_SITES=
DISTNAME=   hjb3_0-linux.sfx
EXTRACT_SUFX=

MAINTAINER= noway@nohow.demon.co.uk

RUN_DEPENDS=    ${LOCALBASE}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk

EXTRACT_ONLY=

WRKSRC=     ${WRKDIR}
JDK_VERSION=    1.1.8
NO_BUILD=   yes
NO_CDROM=   "See the licence"
RESTRICTED= "Licenced for individual non-commercial use only"

.include <bsd.port.pre.mk>
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE='You must fetch the linux version manually from http://java.sun.com/products/hotjava/ and copy the file to ${DISTDIR} and run make again.'
.endif

pre-patch:
    @${SED} -e s,/usr/bin/hotjava,${PREFIX}/bin/hotjava,g ${DISTDIR}/${DISTNAME} > ${WRKDIR}/${DISTNAME}

do-install:
    @${SH} ${WRKDIR}/${DISTNAME} ${PREFIX}/jdk${JDK_VERSION} ${PREFIX}/share/java

.include <bsd.port.post.mk>