aboutsummaryrefslogtreecommitdiff
path: root/vietnamese
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2004-07-23 19:10:32 +0000
committerEric Anholt <anholt@FreeBSD.org>2004-07-23 19:10:32 +0000
commit4eb209da7d941e66e0cb065aead6bda76c9e97f3 (patch)
treec9cf2fdcee3885499960b9c706dacac0a0080f8e /vietnamese
parentb188150955302fdc3c1402eb0688a84d1f2cf451 (diff)
downloadports-4eb209da7d941e66e0cb065aead6bda76c9e97f3.tar.gz
ports-4eb209da7d941e66e0cb065aead6bda76c9e97f3.zip
Notes
Diffstat (limited to 'vietnamese')
-rw-r--r--vietnamese/unicode-uhoai/Makefile12
-rw-r--r--vietnamese/vnterm/Makefile6
-rw-r--r--vietnamese/vnxfonts/Makefile12
3 files changed, 10 insertions, 20 deletions
diff --git a/vietnamese/unicode-uhoai/Makefile b/vietnamese/unicode-uhoai/Makefile
index 7372e0e7965b..9495923dddc6 100644
--- a/vietnamese/unicode-uhoai/Makefile
+++ b/vietnamese/unicode-uhoai/Makefile
@@ -20,13 +20,9 @@ NO_WRKSUBDIR= yes
USE_X_PREFIX= yes
NO_BUILD= taken care of in do-install target
-.include <bsd.port.pre.mk>
-
-BUILD_DEPENDS= ttmkfdir:${PORTSDIR}/x11-fonts/ttmkfdir
-.if ${XFREE86_VERSION} == 4
-BUILD_DEPENDS+= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
-RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
-.endif
+BUILD_DEPENDS= ttmkfdir:${PORTSDIR}/x11-fonts/ttmkfdir \
+ bdftopcf:${X_CLIENTS_PORT}
+RUN_DEPENDS= mkfontdir:${X_CLIENTS_PORT}
do-install:
@${MKDIR} ${PREFIX}/lib/X11/fonts/TrueType
@@ -35,6 +31,6 @@ do-install:
@${SETENV} PKG_PREFIX=${PREFIX} \
${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
EXTRACT_BEFORE_ARGS+= -L
diff --git a/vietnamese/vnterm/Makefile b/vietnamese/vnterm/Makefile
index 896a78c9818a..abed01cea476 100644
--- a/vietnamese/vnterm/Makefile
+++ b/vietnamese/vnterm/Makefile
@@ -20,11 +20,9 @@ USE_IMAKE= yes
.include <bsd.port.pre.mk>
-BUILD_DEPENDS= ${LOCALBASE}/lib/libviqr.a:${PORTSDIR}/vietnamese/libviet
+BUILD_DEPENDS= ${LOCALBASE}/lib/libviqr.a:${PORTSDIR}/vietnamese/libviet \
+ mkfontdir:${X_CLIENTS_PORT}
RUN_DEPENDS= ${PREFIX}/lib/X11/fonts/vietnamese/fonts.dir:${PORTSDIR}/vietnamese/vnxfonts
-.if ${XFREE86_VERSION} == 4
-BUILD_DEPENDS+= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
-.endif
EXTRACT_AFTER_ARGS= | ${TAR} -xf - xc/programs/xterm
WRKSRC= ${WRKDIR}/xc/programs/xterm
diff --git a/vietnamese/vnxfonts/Makefile b/vietnamese/vnxfonts/Makefile
index 62aa2307c60d..f2337c3ecca9 100644
--- a/vietnamese/vnxfonts/Makefile
+++ b/vietnamese/vnxfonts/Makefile
@@ -19,16 +19,12 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= obrien@FreeBSD.org
COMMENT= X fonts for displaying Vietnamese
+BUILD_DEPENDS= bdftopcf:${X_CLIENTS_PORT}
+RUN_DEPENDS= mkfontdir:${X_CLIENTS_PORT}
+
WRKSRC= ${WRKDIR}/fonts/X
USE_X_PREFIX= yes
-.include <bsd.port.pre.mk>
-
-.if ${XFREE86_VERSION} == 4
-BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
-RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
-.endif
-
do-install:
@${MKDIR} ${PREFIX}/lib/X11/fonts/vietnamese
@cd ${WRKSRC} ; \
@@ -39,4 +35,4 @@ do-install:
@${SETENV} PKG_PREFIX=${PREFIX} \
${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>