1999-07-03 19:45:00 -04:00
|
|
|
# New ports collection makefile for: Hotjava
|
|
|
|
# Date created: 1999/07/03
|
|
|
|
# Whom: Jose Marques
|
|
|
|
#
|
1999-08-30 22:43:35 -04:00
|
|
|
# $FreeBSD$
|
1999-07-03 19:45:00 -04:00
|
|
|
#
|
|
|
|
|
2000-04-09 20:07:29 -04:00
|
|
|
PORTNAME= hotjava
|
|
|
|
PORTVERSION= 3.0
|
1999-07-03 19:45:00 -04:00
|
|
|
CATEGORIES= www java
|
|
|
|
MASTER_SITES=
|
2000-04-09 20:07:29 -04:00
|
|
|
DISTNAME= hjb3_0-linux.sfx
|
1999-07-03 19:45:00 -04:00
|
|
|
EXTRACT_SUFX=
|
|
|
|
|
1999-11-25 16:40:53 -05:00
|
|
|
MAINTAINER= noway@nohow.demon.co.uk
|
1999-07-03 19:45:00 -04:00
|
|
|
|
2000-02-15 19:19:45 -05:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk
|
1999-07-03 19:45:00 -04:00
|
|
|
|
|
|
|
EXTRACT_ONLY=
|
|
|
|
|
2000-04-14 14:40:29 -04:00
|
|
|
NO_WRKSUBDIR= yes
|
1999-07-03 19:45:00 -04:00
|
|
|
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>
|