summaryrefslogtreecommitdiff
path: root/lang/sun-jre15/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'lang/sun-jre15/Makefile.common')
-rw-r--r--lang/sun-jre15/Makefile.common75
1 files changed, 0 insertions, 75 deletions
diff --git a/lang/sun-jre15/Makefile.common b/lang/sun-jre15/Makefile.common
deleted file mode 100644
index c21fd6202be..00000000000
--- a/lang/sun-jre15/Makefile.common
+++ /dev/null
@@ -1,75 +0,0 @@
-# $NetBSD: Makefile.common,v 1.25 2009/07/23 17:14:39 abs Exp $
-# used by lang/sun-jdk15/Makefile
-# used by lang/sun-jre15/Makefile
-
-CATEGORIES= lang java
-COMMENT= Sun's Java(tm) 2 Standard Edition, ${DOWNLOAD_NAME}
-EXTRACT_SUFX= .bin
-
-MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://java.sun.com/
-DOWNLOAD= http://java.sun.com/javase/downloads/index_jdk5.jsp
-DOWNLOAD_NAME= ${SHORT_NAME} 5.0 Update ${PKGNAME_NOREV:C/^.*\.//}
-ARCHIVE= http://java.sun.com/products/archive/
-
-RESTRICTED= Redistribution of repackaged binaries not permitted
-NO_SRC_ON_CDROM=${RESTRICTED}
-NO_SRC_ON_FTP= ${RESTRICTED}
-NO_BIN_ON_CDROM=${RESTRICTED}
-NO_BIN_ON_FTP= ${RESTRICTED}
-
-PKG_DESTDIR_SUPPORT= user-destdir
-
-EMUL_PLATFORMS= linux-i386 linux-x86_64
-
-.include "../../mk/bsd.prefs.mk"
-
-EMUL_MODULES.linux= compat locale x11
-
-DIST_ARCH.i386= i586
-DIST_ARCH.x86_64= amd64
-.if defined(DIST_ARCH.${EMUL_ARCH})
-DIST_ARCH= ${DIST_ARCH.${EMUL_ARCH}}
-.else
-DIST_ARCH= ${EMUL_ARCH}
-.endif
-
-INTERACTIVE_STAGE= fetch
-BUILD_DIRS= # empty
-
-JAVA_HOME= ${PREFIX}/java/sun-1.5
-JAVA_NAME= sun15
-JAVA_UNLIMIT= datasize
-
-MESSAGE_SUBST+= JAVA_HOME=${JAVA_HOME:Q}
-
-EXTRACT_ENV+= HOME=${WRKDIR}/fake_home
-
-# the following forces compression of jarfiles, which is a huge disk
-# space win and trivial to no speed reduction in the face of the
-# new class sharing in J2SE 5.0... -tvierling
-EXTRACT_ENV+= UNPACK200_FLAGS=-Htrue
-
-FETCH_MESSAGE+= " The file ${DISTNAME}${EXTRACT_SUFX} containing ${DOWNLOAD_NAME}"
-FETCH_MESSAGE+= ""
-FETCH_MESSAGE+= " must be fetched into:"
-FETCH_MESSAGE+= " ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}"
-FETCH_MESSAGE+= " from:"
-FETCH_MESSAGE+= " ${DOWNLOAD}"
-FETCH_MESSAGE+= " or ${ARCHIVE}"
-FETCH_MESSAGE+= ""
-FETCH_MESSAGE+= " Click 'Download ${DOWNLOAD_NAME}', read and accept the"
-FETCH_MESSAGE+= " license, then choose 'Linux self-extracting file'."
-
-USE_TOOLS+= pax
-
-post-fetch:
- if [ ! -x ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
- ${CHMOD} +x ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}; \
- fi
-
-do-install:
- ${INSTALL_PROGRAM_DIR} ${DESTDIR}${JAVA_HOME}
- cd ${WRKSRC} && pax -rwp ma . ${DESTDIR}${JAVA_HOME}
-
-.include "../../mk/java-env.mk"