summaryrefslogtreecommitdiff
path: root/lang/openjdk7/Makefile
diff options
context:
space:
mode:
authorghen <ghen>2009-10-21 10:31:46 +0000
committerghen <ghen>2009-10-21 10:31:46 +0000
commit4038ecc990c93fa88befe7f922275c2e7885800b (patch)
treefafdd28bf7db2f5dba934790e1c25312e00ba297 /lang/openjdk7/Makefile
parent9a5d07e4ce9f29247f0f616de9a0ac1408c5c76d (diff)
downloadpkgsrc-4038ecc990c93fa88befe7f922275c2e7885800b.tar.gz
Fix font paths for dejavu (Latin and others), sazanami (Japanese) and baekmum
(Korean) fonts, and add (commented) dependencies on them. Ok tnn@. Bump PKGREVISION. XXX uming/ukai (Chinese) are not in pkgsrc, anyone can package them, or suggest replacements?
Diffstat (limited to 'lang/openjdk7/Makefile')
-rw-r--r--lang/openjdk7/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/lang/openjdk7/Makefile b/lang/openjdk7/Makefile
index c13664e5449..c11ba62aee3 100644
--- a/lang/openjdk7/Makefile
+++ b/lang/openjdk7/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2009/10/18 12:30:54 tnn Exp $
+# $NetBSD: Makefile,v 1.5 2009/10/21 10:31:46 ghen Exp $
DISTNAME= openjdk-7-ea-src-b72-17_sep_2009
PKGNAME= openjdk7-1.7.0.72.20090924
+PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_LOCAL:=openjdk7/}
EXTRACT_SUFX= .tar.bz2
@@ -35,6 +36,10 @@ MAKE_ENV+= PKGSRC_ZIPEXE=${PREFIX}/bin/zip
MAKE_ENV+= PKGSRC_UNZIP=${PREFIX}/bin/unzip
MAKE_ENV+= PKGSRC_UNZIPSFX=${PREFIX}/bin/unzipsfv
+DEPENDS+= dejavu-ttf-[0-9]*:../../fonts/dejavu-ttf
+#DEPENDS+= ja-sazanami-ttf-[0-9]*:../../fonts/ja-sazanami-ttf
+#DEPENDS+= baekmuk-ttf-[0-9]*:../../fonts/baekmuk-ttf
+
NO_CONFIGURE= yes
USE_LANGUAGES= c c++
USE_TOOLS+= gmake pax
@@ -78,6 +83,12 @@ SUBST_FILES.add-rpaths= jdk/make/sun/awt/Makefile \
jdk/make/sun/xawt/Makefile
SUBST_SED.add-rpaths= -e 's|-L$$(OPENWIN_LIB)|-L$$(OPENWIN_LIB) -Wl,-R$$(OPENWIN_LIB)|g'
+SUBST_CLASSES+= fontpaths
+SUBST_STAGE.fontpaths= pre-build
+SUBST_MESSAGE.fontpaths= fixing font paths
+SUBST_FILES.fontpaths= jdk/src/solaris/classes/sun/awt/fontconfigs/bsd.fontconfig.properties
+SUBST_SED.fontpaths= -e 's|%%PREFIX%%|${PREFIX}|'
+
PLIST_VARS+= i386
.if ${MACHINE_ARCH} == "i386"
PLIST.i386= yes