93568351bb
reasons... okay pvalchev@.
54 lines
1.6 KiB
Makefile
54 lines
1.6 KiB
Makefile
# $OpenBSD: Makefile,v 1.7 2004/06/26 07:35:06 xsa Exp $
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
BROKEN= "unusable, only eats cpu; probably thread emulation problem"
|
|
|
|
COMMENT= "Java Development Kit for Java 2 Standard Edition 1.4"
|
|
VERSION= 1.4.1_01
|
|
|
|
DISTNAME= jdk${VERSION}
|
|
PKGNAME= jdk-linux-${VERSION}
|
|
CATEGORIES= devel java
|
|
|
|
HOMEPAGE= http://java.sun.com/j2se/
|
|
|
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= "Redistribution not permitted"
|
|
PERMIT_PACKAGE_FTP= "Redistribution not permitted"
|
|
PERMIT_DISTFILES_CDROM= "Redistribution not permitted"
|
|
PERMIT_DISTFILES_FTP= "Redistribution not permitted"
|
|
|
|
DISTFILES= j2sdk-${VERSION:S/./_/g}-linux-i586.bin
|
|
EXTRACT_CASES+= *.bin) \
|
|
tail `sed -n -e '/^tail/p' -e '/^tail/q' ${FULLDISTDIR}/$$archive|awk '{print $$2}'` ${FULLDISTDIR}/$$archive > ${WRKDIR}/$$archive && \
|
|
chmod u+x ${WRKDIR}/$$archive && \
|
|
${WRKDIR}/$$archive -q ;; \
|
|
|
|
RUN_DEPENDS= :redhat_base->=6.2:emulators/redhat/base
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
NO_BUILD= Yes
|
|
NO_REGRESS= Yes
|
|
|
|
WRKDIST= ${WRKDIR}/j2sdk${VERSION}
|
|
|
|
FETCH_MANUALLY = " You must fetch the distfile for this port manually"
|
|
FETCH_MANUALLY+= " after agreeing to the license agreement at"
|
|
FETCH_MANUALLY+= ""
|
|
FETCH_MANUALLY+= " http://java.sun.com/j2se/1.4.1/download.html"
|
|
FETCH_MANUALLY+= ""
|
|
FETCH_MANUALLY+= " Choose the 'Linux self-extracting file' option and place"
|
|
FETCH_MANUALLY+= " ${DISTFILES} into ${FULLDISTDIR}."
|
|
FETCH_MANUALLY+= ""
|
|
|
|
JDK_HOME= ${PREFIX}/jdk1.4.1-linux
|
|
|
|
pre-install:
|
|
@${INSTALL_DATA_DIR} ${JDK_HOME}
|
|
|
|
do-install:
|
|
@cp -Rp ${WRKSRC}/* ${JDK_HOME}
|
|
|
|
.include <bsd.port.mk>
|