openbsd-ports/www/hotjava/Makefile

56 lines
1.3 KiB
Makefile
Raw Normal View History

#
# From:
# $FreeBSD: ports/www/hotjava/Makefile,v 1.4 2000/02/16 00:19:45 mharo Exp $
#
DISTNAME= hjb3_0-linux.sfx
PKGNAME= hotjava-3.0
CATEGORIES= www
MASTER_SITES=
EXTRACT_SUFX=
MAINTAINER= chris@OpenBSD.org
RUN_DEPENDS= ${PREFIX}/jdk${JDK_VERSION}/bin/java:devel/jdk
2000-03-30 01:51:28 -05:00
LICENSE_TYPE= NOFEE
PREMIT_PACKAGE_CDROM= NO
PERMIT_PACKAGE_FTP= NO
PERMIT_DISTFILES_CDROM= NO
PERMIT_DISTFILES_FTP= NO
EXTRACT_ONLY=
WRKSRC= ${WRKDIR}
JDK_VERSION= 1.1.8
NO_BUILD= yes
NO_PATCH= yes
NO_MTREE= yes
NO_CONFIGURE= yes
NO_PACKAGE= yes
2000-03-30 01:51:28 -05:00
do-fetch:
@if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \
echo "" ; \
echo " The source to this port may not be automatically fetched" ; \
echo " due to licensing restrictions. You must fetch the source" ; \
echo " manually, after reading and agreeing to the license at:" ; \
echo "" ; \
echo " http://java.sun.com/products/hotjava/" ; \
echo "" ; \
echo " Once ${DISTFILES} has been downloaded, move it to ${DISTDIR}"; \
echo " and then restart this build." ; \
echo "" ; \
exit 1 ; \
fi
pre-install:
2000-03-30 01:51:28 -05:00
@sed -e s,/usr/bin/hotjava,${PREFIX}/bin/hotjava,g ${DISTDIR}/${DISTNAME} > ${WRKDIR}/${DISTNAME}
@${INSTALL_DATA_DIR} ${PREFIX}/share
@${INSTALL_DATA_DIR} ${PREFIX}/share/java
do-install:
@sh ${WRKDIR}/${DISTNAME} ${PREFIX}/jdk${JDK_VERSION} ${PREFIX}/share/java
.include <bsd.port.mk>