blob: 65d967b739e211249f7f05d7c0cdc38b179c3412 (
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
49
50
51
|
# $NetBSD: Makefile,v 1.11 2003/08/02 19:26:29 kristerw Exp $
#
BASENAME= j2re
DISTNAME= ${EXTNAME}-${BLACKDOWN_ARCH}
PKGNAME= blackdown-jre13-1
PKGREVISION= 1
COMMENT= Blackdown's Java(tm) Runtime Environment 1.3.1
.if ${MACHINE_ARCH} == "arm"
DISTNAME= ${BASENAME}-${RELVERSION}-RC1-linux-arm
.endif
.include "../../lang/blackdown-jre13/Makefile.common"
ONLY_FOR_PLATFORM+= NetBSD-*-arm Linux-*-arm
PLIST_SRC= ${PKGDIR}/PLIST
.if ${BLACKDOWN_ARCH} == "i386"
PLIST_SRC+= ${PKGDIR}/PLIST.i386
.endif
USE_PKGINSTALL= yes
OWN_DIRS= ${PREFIX}
OWN_DIRS+= ${PREFIX}/lib
OWN_DIRS+= ${PREFIX}/lib/${BLACKDOWN_ARCH}
OWN_DIRS+= ${PREFIX}/lib/applet
OWN_DIRS+= ${PREFIX}/lib/ext
OWN_DIRS+= ${PREFIX}/lib/images
OWN_DIRS+= ${PREFIX}/lib/images/cursors
OWN_DIRS+= ${PREFIX}/lib/security
OWN_DIRS+= ${PREFIX}/plugin/${BLACKDOWN_ARCH}
OWN_DIRS+= ${PREFIX}/plugin
SFILES= content-types.properties flavormap.properties
SFILES+= font.properties font.properties.ja
SFILES+= font.properties.zh jvm.cfg
SFILES+= images/cursors/cursors.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
.include "../../mk/bsd.pkg.mk"
PREFIX= ${JVM_HOME}
|