aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>2000-09-12 19:08:05 +0800
committerasami <asami@FreeBSD.org>2000-09-12 19:08:05 +0800
commit6e012c844b936e05d0eec98fd0c653828d56d9ef (patch)
treea9051cdfdb437814124438255e25105e0e94cd7d
parent26b64903c91d4e9cc56e8a8939a5ece4bdc276d4 (diff)
downloadfreebsd-ports-graphics-6e012c844b936e05d0eec98fd0c653828d56d9ef.tar.gz
freebsd-ports-graphics-6e012c844b936e05d0eec98fd0c653828d56d9ef.tar.zst
freebsd-ports-graphics-6e012c844b936e05d0eec98fd0c653828d56d9ef.zip
Add dependency to mkfontdir:XFree86-4-clients when XFREE86_VERSION=4.
Submitted by: bento and gohan
-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
-rw-r--r--korean/baekmukfonts-bdf/Makefile8
-rw-r--r--korean/hanyangfonts/Makefile9
-rw-r--r--korean/mizifont/Makefile9
-rw-r--r--vietnamese/vnterm/Makefile9
14 files changed, 108 insertions, 16 deletions
diff --git a/japanese/alias-fonts/Makefile b/japanese/alias-fonts/Makefile
index a6b02790166..eb26d8401ee 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 1409e1ae88a..f48f153fe5b 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 5b1cafe270e..4ea6289f350 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 6c386f49559..97855c9ec89 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 83301a748cc..a8ae2d0b85f 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 7a54eae41d0..954e9597eab 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 0606cd640ef..3ff2c629273 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 a6b02790166..eb26d8401ee 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 d6100705728..5e7d4bf0d72 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 60ad2a4e569..4f84efab9ae 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} "*********************************************************"
diff --git a/korean/baekmukfonts-bdf/Makefile b/korean/baekmukfonts-bdf/Makefile
index cc6c8dc9f8c..7832ab39b09 100644
--- a/korean/baekmukfonts-bdf/Makefile
+++ b/korean/baekmukfonts-bdf/Makefile
@@ -20,6 +20,12 @@ MAINTAINER= cjh@freebsd.org
USE_X_PREFIX= yes
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 4
+RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+.endif
+
FONTLIST= batang10 batang10b batang12 batang12b batang14 batang14b \
batang16 batang16b batang18 batang18b batang20 batang20b \
batang24 batang24b \
@@ -58,4 +64,4 @@ do-install:
.endfor
@(cd ${PREFIX}/${FONTSDIR} && mkfontdir .)
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/korean/hanyangfonts/Makefile b/korean/hanyangfonts/Makefile
index 180ec4eba52..7d1f9ca1c95 100644
--- a/korean/hanyangfonts/Makefile
+++ b/korean/hanyangfonts/Makefile
@@ -15,6 +15,13 @@ DISTNAME= hanyang-font-pcf
MAINTAINER= cjh@FreeBSD.org
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
FONTS= hgm10 hgm12 hgm14 hgm16 hgm18 hgm20 \
@@ -35,4 +42,4 @@ do-install:
done; \
mkfontdir ${PREFIX}/lib/X11/fonts/local
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/korean/mizifont/Makefile b/korean/mizifont/Makefile
index c5ce064129f..58f9c3f1931 100644
--- a/korean/mizifont/Makefile
+++ b/korean/mizifont/Makefile
@@ -17,6 +17,13 @@ MAINTAINER= cjh@FreeBSD.org
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/misc/rpm
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
RPM2CPIO= rpm2cpio
@@ -49,4 +56,4 @@ do-install:
post-install:
@${CAT} ${PKGDIR}/MESSAGE
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/vietnamese/vnterm/Makefile b/vietnamese/vnterm/Makefile
index 8c57be8e299..571dc46cbb1 100644
--- a/vietnamese/vnterm/Makefile
+++ b/vietnamese/vnterm/Makefile
@@ -17,6 +17,13 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= obrien@FreeBSD.org
USE_IMAKE= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 4
+RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+.endif
+
XMKMF= xmkmf
MAN1= vnterm.1
CFLAGS+= -I../../include
@@ -40,4 +47,4 @@ post-install:
@${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/vnterm
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>