blob: 20eb4f866049062873738cfbde74c099a6d0ed2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# $NetBSD: Makefile,v 1.5 2005/12/29 06:21:47 jlam Exp $
#
# Interix-only "JDK" for pkgsrc, implemented as a script wrapper around the
# Win32 Sun JDK/JRE.
#
DISTNAME= win32-jdk-0.1
PKGREVISION= 2
CATEGORIES= lang java
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= tv@duh.org
HOMEPAGE= http://www.java.com/
COMMENT= Interix wrapper package for Win32 Sun Java(tm) 2
WRKSRC= ${WRKDIR}
EXTRACT_ONLY= # empty
USE_LANGUAGES= # empty
NO_CHECKSUM= yes
OWN_DIRS= ${JAVA_HOME}
ONLY_FOR_PLATFORM= Interix-*-*
JAVA_NAME= win32
JAVA_HOME= ${LOCALBASE}/java/win32
NO_MTREE= yes # since we change PREFIX below
JAVA_WRAPPERS= appletviewer extcheck idlj jar jarsigner \
java javac javadoc javah javap jdb keytool \
orbd policytool rmic serialver rmid \
rmiregistry servertool tnameserv
JAVA_EXTRA= HtmlConverter kinit klist ktab native2ascii
do-build:
do-install:
${INSTALL_SCRIPT_DIR} ${JAVA_HOME}/bin
${INSTALL_SCRIPT} ${FILESDIR}/java.sh ${JAVA_HOME}/bin/java
${LN} -sf . ${JAVA_HOME}/jre
.for f in ${JAVA_WRAPPERS:Njava} ${JAVA_EXTRA}
${LN} -sf java ${JAVA_HOME}/bin/${f}
.endfor
.include "../../mk/java-env.mk"
.include "../../mk/bsd.pkg.mk"
|