openbsd-ports/devel/jdk/1.3-linux/Makefile
matt c5c0cbe0bd - reorg existing JDKs, update devel/jdk dependencies
- become MAINTAINER for jdk 1.1 and 1.2 (ok MAINTAINERs)
- add jdk 1.3
2001-05-08 00:54:36 +00:00

53 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.1 2001/05/08 00:54:40 matt Exp $
ONLY_FOR_ARCHS= i386
COMMENT= "Java Development Kit for Java 2 Standard Edition 1.3"
DISTNAME= jdk1.3.0_02
PKGNAME= jdk-linux-1.3.0_02
CATEGORIES= devel java
NEED_VERSION= 1.407
HOMEPAGE= http://java.sun.com/j2se/
MAINTAINER= Christian Gruber <christian.edward.gruber@gmx.net>
RUN_DEPENDS= ${PREFIX}/emul/redhat/usr/X11R6/lib/libXp.so.6:redhat_base->=6.2:emulators/redhat_base
DISTFILES= j2sdk-1_3_0_02-linux.bin
EXTRACT_CASES+= *.bin) \
tail +253 ${DISTDIR}/$$archive > ${WRKDIR}/$$archive && \
chmod u+x ${WRKDIR}/$$archive && \
${WRKDIR}/$$archive -q ;; \
PERMIT_PACKAGE_CDROM= "Redistribution not permitted"
PERMIT_PACKAGE_FTP= "Redistribution not permitted"
PERMIT_DISTFILES_CDROM= "Redistribution not permitted"
PERMIT_DISTFILES_FTP= "Redistribution not permitted"
NO_BUILD= Yes
do-fetch:
@if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \
echo "" ; \
echo " You must fetch the distfile for this port manually" ; \
echo " after agreeing to the license agreement at" ; \
echo "" ; \
echo " http://java.sun.com/j2se/1.3/download-linux.html" ; \
echo "" ; \
echo " Choose the 'GNUZIP Tar shell script' option and place" ; \
echo " ${DISTFILES} into ${DISTDIR}." ; \
echo "" ; \
exit 1 ; \
fi
JDK_HOME= ${PREFIX}/jdk1.3.0-linux
pre-install:
@${INSTALL_DATA_DIR} ${JDK_HOME}
do-install:
@cp -Rp ${WRKDIST}/* ${JDK_HOME}
.include <bsd.port.mk>