summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2002-10-31 20:20:37 +0000
committerGreg Lewis <glewis@FreeBSD.org>2002-10-31 20:20:37 +0000
commit354b48008fca77efcc96b88004ea912df669befa (patch)
tree692843c8eeb93c3ef148d9637c73c72456f18369 /java
parent* Add missing iconv dependency. (diff)
. Add optional (default: off) runtime dependencies for the font packages
necessary to support the different font.properties that are installed.
Notes
Notes: svn path=/head/; revision=69210
Diffstat (limited to 'java')
-rw-r--r--java/jdk13/Makefile10
-rw-r--r--java/jdk14/Makefile10
-rw-r--r--java/jdk15/Makefile10
-rw-r--r--java/jdk16/Makefile10
4 files changed, 40 insertions, 0 deletions
diff --git a/java/jdk13/Makefile b/java/jdk13/Makefile
index ca17e5eec65e..3e59069ca2e1 100644
--- a/java/jdk13/Makefile
+++ b/java/jdk13/Makefile
@@ -33,6 +33,16 @@ RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper \
${X11BASE}/lib/libXm.so:${PORTSDIR}/x11-toolkits/open-motif \
${X11BASE}/lib/X11/fonts/URW/fonts.dir:${PORTSDIR}/x11-fonts/urwfonts
+.if defined(WITH_JAPANESE_FONTS)
+RUN_DEPENDS+= ${X11BASE}/lib/X11/fonts/TrueType/fonts.dir.kochi:${PORTSDIR}/japanese/kochi-ttfonts
+.endif
+.if defined(WITH_RUSSIAN_FONTS)
+RUN_DEPENDS+= ${X11BASE}/lib/X11/fonts/webfonts/fonts.dir:${PORTSDIR}/x11-fonts/webfonts
+.endif
+.if defined(WITH_CHINESE_FONTS)
+RUN_DEPENDS+= ${LOCALBASE}/share/fonts/TrueType/arphic:${PORTSDIR}/chinese/arphicttf
+.endif
+
WRKSRC= ${WRKDIR}/j2sdk1.3.1/make
JDK_VERSION= 1.3.1
diff --git a/java/jdk14/Makefile b/java/jdk14/Makefile
index ca17e5eec65e..3e59069ca2e1 100644
--- a/java/jdk14/Makefile
+++ b/java/jdk14/Makefile
@@ -33,6 +33,16 @@ RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper \
${X11BASE}/lib/libXm.so:${PORTSDIR}/x11-toolkits/open-motif \
${X11BASE}/lib/X11/fonts/URW/fonts.dir:${PORTSDIR}/x11-fonts/urwfonts
+.if defined(WITH_JAPANESE_FONTS)
+RUN_DEPENDS+= ${X11BASE}/lib/X11/fonts/TrueType/fonts.dir.kochi:${PORTSDIR}/japanese/kochi-ttfonts
+.endif
+.if defined(WITH_RUSSIAN_FONTS)
+RUN_DEPENDS+= ${X11BASE}/lib/X11/fonts/webfonts/fonts.dir:${PORTSDIR}/x11-fonts/webfonts
+.endif
+.if defined(WITH_CHINESE_FONTS)
+RUN_DEPENDS+= ${LOCALBASE}/share/fonts/TrueType/arphic:${PORTSDIR}/chinese/arphicttf
+.endif
+
WRKSRC= ${WRKDIR}/j2sdk1.3.1/make
JDK_VERSION= 1.3.1
diff --git a/java/jdk15/Makefile b/java/jdk15/Makefile
index ca17e5eec65e..3e59069ca2e1 100644
--- a/java/jdk15/Makefile
+++ b/java/jdk15/Makefile
@@ -33,6 +33,16 @@ RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper \
${X11BASE}/lib/libXm.so:${PORTSDIR}/x11-toolkits/open-motif \
${X11BASE}/lib/X11/fonts/URW/fonts.dir:${PORTSDIR}/x11-fonts/urwfonts
+.if defined(WITH_JAPANESE_FONTS)
+RUN_DEPENDS+= ${X11BASE}/lib/X11/fonts/TrueType/fonts.dir.kochi:${PORTSDIR}/japanese/kochi-ttfonts
+.endif
+.if defined(WITH_RUSSIAN_FONTS)
+RUN_DEPENDS+= ${X11BASE}/lib/X11/fonts/webfonts/fonts.dir:${PORTSDIR}/x11-fonts/webfonts
+.endif
+.if defined(WITH_CHINESE_FONTS)
+RUN_DEPENDS+= ${LOCALBASE}/share/fonts/TrueType/arphic:${PORTSDIR}/chinese/arphicttf
+.endif
+
WRKSRC= ${WRKDIR}/j2sdk1.3.1/make
JDK_VERSION= 1.3.1
diff --git a/java/jdk16/Makefile b/java/jdk16/Makefile
index ca17e5eec65e..3e59069ca2e1 100644
--- a/java/jdk16/Makefile
+++ b/java/jdk16/Makefile
@@ -33,6 +33,16 @@ RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper \
${X11BASE}/lib/libXm.so:${PORTSDIR}/x11-toolkits/open-motif \
${X11BASE}/lib/X11/fonts/URW/fonts.dir:${PORTSDIR}/x11-fonts/urwfonts
+.if defined(WITH_JAPANESE_FONTS)
+RUN_DEPENDS+= ${X11BASE}/lib/X11/fonts/TrueType/fonts.dir.kochi:${PORTSDIR}/japanese/kochi-ttfonts
+.endif
+.if defined(WITH_RUSSIAN_FONTS)
+RUN_DEPENDS+= ${X11BASE}/lib/X11/fonts/webfonts/fonts.dir:${PORTSDIR}/x11-fonts/webfonts
+.endif
+.if defined(WITH_CHINESE_FONTS)
+RUN_DEPENDS+= ${LOCALBASE}/share/fonts/TrueType/arphic:${PORTSDIR}/chinese/arphicttf
+.endif
+
WRKSRC= ${WRKDIR}/j2sdk1.3.1/make
JDK_VERSION= 1.3.1