summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--japanese/alias-fonts/Makefile9
-rw-r--r--japanese/elisa10x8/Makefile9
-rw-r--r--japanese/elisa8x8/Makefile9
-rw-r--r--japanese/k10/Makefile8
-rw-r--r--japanese/k12/Makefile8
-rw-r--r--japanese/kanji18/Makefile8
-rw-r--r--japanese/kappa20/Makefile11
-rw-r--r--japanese/netscape-fonts/Makefile9
-rw-r--r--japanese/ngraph-fonts/Makefile9
-rw-r--r--japanese/truetypefonts/Makefile9
10 files changed, 77 insertions, 12 deletions
diff --git a/japanese/alias-fonts/Makefile b/japanese/alias-fonts/Makefile
index a6b02790166a..eb26d8401ee9 100644
--- a/japanese/alias-fonts/Makefile
+++ b/japanese/alias-fonts/Makefile
@@ -19,10 +19,17 @@ RUN_DEPENDS= \
${PREFIX}/lib/X11/fonts/local/k20b.pcf.gz:${PORTSDIR}/japanese/kappa20
USE_X_PREFIX= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 4
+RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+.endif
+
NO_BUILD= yes
do-install:
@${SETENV} PKG_PREFIX=${PREFIX} \
/usr/bin/perl ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/japanese/elisa10x8/Makefile b/japanese/elisa10x8/Makefile
index 1409e1ae88a5..f48f153fe5b6 100644
--- a/japanese/elisa10x8/Makefile
+++ b/japanese/elisa10x8/Makefile
@@ -19,6 +19,13 @@ EXTRACT_ONLY= elisau10.tgz
MAINTAINER= ishijima@tri.pref.osaka.jp
USE_X_PREFIX= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 4
+RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+.endif
+
NO_WRKSUBDIR= yes
FONTSDIR= lib/X11/fonts/local
@@ -38,4 +45,4 @@ post-install:
@${CP} ${WRKSRC}/hosoku.txt ${PREFIX}/share/doc/elisa8/
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/japanese/elisa8x8/Makefile b/japanese/elisa8x8/Makefile
index 5b1cafe270e0..4ea6289f350b 100644
--- a/japanese/elisa8x8/Makefile
+++ b/japanese/elisa8x8/Makefile
@@ -14,6 +14,13 @@ DISTNAME= elisat10
MAINTAINER= toshi@tea.forus.or.jp
USE_X_PREFIX= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 4
+RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+.endif
+
NO_WRKSUBDIR= yes
BDFTOPCF_CMD= ${PREFIX}/bin/bdftopcf
@@ -52,4 +59,4 @@ post-install:
)
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/japanese/k10/Makefile b/japanese/k10/Makefile
index 6c386f49559b..97855c9ec899 100644
--- a/japanese/k10/Makefile
+++ b/japanese/k10/Makefile
@@ -15,6 +15,12 @@ MAINTAINER= usagi@clave.gr.jp
USE_X_PREFIX= yes
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 4
+RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+.endif
+
FONTSDIR= lib/X11/fonts/local
MAKE_ENV= FONTSDIR=${FONTSDIR}
PLIST_SUB= FONTSDIR=${FONTSDIR}
@@ -30,4 +36,4 @@ post-install:
@${CP} ${WRKSRC}/README ${PREFIX}/share/doc/naga10/
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/japanese/k12/Makefile b/japanese/k12/Makefile
index 83301a748cc1..a8ae2d0b85ff 100644
--- a/japanese/k12/Makefile
+++ b/japanese/k12/Makefile
@@ -18,6 +18,12 @@ MAINTAINER= mita@jp.FreeBSD.org
USE_X_PREFIX= yes
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 4
+RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+.endif
+
WRKSRC= ${WRKDIR}/fonts
EXTRACT_ONLY= knm_new_linux.tar.gz
@@ -41,4 +47,4 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/doc.orig/* ${PREFIX}/share/doc/k12
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/japanese/kanji18/Makefile b/japanese/kanji18/Makefile
index 7a54eae41d02..954e9597eabd 100644
--- a/japanese/kanji18/Makefile
+++ b/japanese/kanji18/Makefile
@@ -23,6 +23,12 @@ FONTSDIR= lib/X11/fonts/local
NO_WRKSUBDIR= yes
USE_X_PREFIX= yes
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 4
+RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+.endif
+
EXTRACT_CMD= zcat
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= | gunshar -d $(WRKDIR)
@@ -68,4 +74,4 @@ post-install:
@${SETENV} PKG_PREFIX=${PREFIX} \
${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/japanese/kappa20/Makefile b/japanese/kappa20/Makefile
index 0606cd640ef3..3ff2c6292739 100644
--- a/japanese/kappa20/Makefile
+++ b/japanese/kappa20/Makefile
@@ -13,8 +13,15 @@ DISTNAME= Kappa20-${PORTVERSION}
MAINTAINER= ginga@athena.club.ne.jp
-ALL_TARGET= default
USE_X_PREFIX= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 4
+RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+.endif
+
+ALL_TARGET= default
FONTSDIR= lib/X11/fonts/local
MAKE_ENV= INSTALL_DATA="${INSTALL_DATA}"
MAKE_ARGS= TARGETDIR="${PREFIX}/${FONTSDIR}"
@@ -32,4 +39,4 @@ post-install:
@${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/pcf/fonts.alias.kappa ${PREFIX}/share/doc/kappa20/
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/japanese/netscape-fonts/Makefile b/japanese/netscape-fonts/Makefile
index a6b02790166a..eb26d8401ee9 100644
--- a/japanese/netscape-fonts/Makefile
+++ b/japanese/netscape-fonts/Makefile
@@ -19,10 +19,17 @@ RUN_DEPENDS= \
${PREFIX}/lib/X11/fonts/local/k20b.pcf.gz:${PORTSDIR}/japanese/kappa20
USE_X_PREFIX= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 4
+RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+.endif
+
NO_BUILD= yes
do-install:
@${SETENV} PKG_PREFIX=${PREFIX} \
/usr/bin/perl ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/japanese/ngraph-fonts/Makefile b/japanese/ngraph-fonts/Makefile
index d61007057288..5e7d4bf0d720 100644
--- a/japanese/ngraph-fonts/Makefile
+++ b/japanese/ngraph-fonts/Makefile
@@ -18,8 +18,15 @@ RUN_DEPENDS= \
${X11BASE}/lib/X11/fonts/local/kanji26.pcf.gz:${PORTSDIR}/japanese/kanji26
USE_X_PREFIX= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 4
+RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+.endif
+
NO_BUILD= yes
do-install: # empty
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/japanese/truetypefonts/Makefile b/japanese/truetypefonts/Makefile
index 60ad2a4e569e..4f84efab9aef 100644
--- a/japanese/truetypefonts/Makefile
+++ b/japanese/truetypefonts/Makefile
@@ -14,12 +14,17 @@ DISTNAME= xtt-fonts_0.${PORTVERSION:S/.//g}-3
MAINTAINER= candy@kgc.co.jp
USE_X_PREFIX= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 4
+RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+.endif
+
WRKSRC= ${WRKDIR}/xtt-fonts-0.${PORTVERSION:S/.//g}
NO_BUILD= yes
FONTDIR= ${PREFIX}/lib/X11/fonts/TrueType
-.include <bsd.port.pre.mk>
-
do-install:
.if !exists(${FONTDIR})
@${ECHO} "*********************************************************"