diff options
author | jlam <jlam> | 2003-01-29 11:13:28 +0000 |
---|---|---|
committer | jlam <jlam> | 2003-01-29 11:13:28 +0000 |
commit | de076b89f7fa4360e2e3fb6c21369229aaa26f7c (patch) | |
tree | 95c2b9bf6ee8049e3a8b013afdda1cdeb31b940f /lang/sun-jre14/Makefile | |
parent | d1de8c103694060f5063457b22098ea414e7ab92 (diff) | |
download | pkgsrc-de076b89f7fa4360e2e3fb6c21369229aaa26f7c.tar.gz |
Update sun-jre14 and sun-jdk14 to 1.0.1. These are bug fix releases from
Sun for JDK 1.4.1. Pkgsrc changes include noting that some of the installed
files are config files and using bsd.pkg.install.mk to handle the file
copying and directory handling, and using a more scalable method to remove
files shared between the JRE and JDK during the JDK installation. Also,
the JDK 1.4.x series are now installed into ${LOCALBASE}/java/sun-1.4 so
that future updates of this package won't require a new JDK directory.
This closes PR 19853 by FUKAUMI Naoki <naoki at fukaumi.org>.
Diffstat (limited to 'lang/sun-jre14/Makefile')
-rw-r--r-- | lang/sun-jre14/Makefile | 50 |
1 files changed, 42 insertions, 8 deletions
diff --git a/lang/sun-jre14/Makefile b/lang/sun-jre14/Makefile index 39edb349249..c37ca84c5dd 100644 --- a/lang/sun-jre14/Makefile +++ b/lang/sun-jre14/Makefile @@ -1,14 +1,48 @@ -# $NetBSD: Makefile,v 1.3 2002/10/13 07:45:34 jlam Exp $ +# $NetBSD: Makefile,v 1.4 2003/01/29 11:13:30 jlam Exp $ -# MASTER_SITES is very special, and must end in "=": -DISTNAME= j2re-1_4_0-linux-i386 -PKGNAME= sun-jre14-0 -PKGREVISION= 1 -MASTER_SITES= http://java.sun.com/Download4?config-file=j2re-1_4_0.config&platform=linux-i386&protocol=HTTP+download&download-name= +DISTNAME= j2re-1_4_1_01-linux-i586 +PKGNAME= sun-jre14-1.0.1 +WRKSRC= ${WRKDIR}/j2re1.4.1_01 +MASTER_SITES= # empty -COMMENT= Sun's Java(tm) Runtime Environment 1.4.0 +COMMENT= Sun's Java(tm) 2 Runtime Environment 1.4.1 -WRKSRC= ${WRKDIR}/j2re1.4.0 +USE_PKGINSTALL= yes +OWN_DIRS= ${PREFIX} +OWN_DIRS+= ${PREFIX}/lib +OWN_DIRS+= ${PREFIX}/lib/applet +OWN_DIRS+= ${PREFIX}/lib/images +OWN_DIRS+= ${PREFIX}/lib/images/cursors +OWN_DIRS+= ${PREFIX}/lib/security +SFILES= content-types.properties flavormap.properties +SFILES+= font.properties font.properties.Redhat6.1 +SFILES+= font.properties.ja font.properties.ja.Redhat6.1 +SFILES+= font.properties.ja.Redhat6.2 font.properties.ja.Turbo +SFILES+= font.properties.ja.Turbo6.0 font.properties.zh.Turbo +SFILES+= images/cursors/cursors.properties i386/jvm.cfg +SFILES+= logging.properties psfont.properties.ja +SFILES+= psfontj2d.properties security/java.security +SUPPORT_FILES= # empty +.for FILE in ${SFILES} +SUPPORT_FILES+= ${PREFIX}/lib/${FILE}.default ${PREFIX}/lib/${FILE} +.endfor + +do-configure: + cd ${WRKSRC}/lib; for file in ${SFILES}; do \ + ${MV} -f $$file $$file.default; \ + done + +_FETCH_MESSAGE= \ + ${ECHO} "======================================================================"; \ + ${ECHO} ; \ + ${ECHO} " The file ${DISTNAME}${EXTRACT_SUFX} containing the"; \ + ${ECHO} " Java(tm) 2 Runtime Environment, Standard Edition must be fetched"; \ + ${ECHO} " into:"; \ + ${ECHO} " ${DISTDIR}"; \ + ${ECHO} " from:"; \ + ${ECHO} " ${DOWNLOAD}"; \ + ${ECHO} ; \ + ${ECHO} "======================================================================" .include "../../lang/sun-jre14/Makefile.common" |