1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/www/hotjava/Makefile
2006-09-03 06:21:24 +00:00

40 lines
1023 B
Makefile

# 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= java@freebsd.org
COMMENT= Sun's Hotjava web browser
RUN_DEPENDS= ${LOCALBASE}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk11
EXTRACT_ONLY=
NO_WRKSUBDIR= yes
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}) && !defined(PACKAGE_BUILDING)
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>