aboutsummaryrefslogtreecommitdiff
path: root/vietnamese/vnxfonts
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-02-10 23:21:00 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-02-10 23:21:00 +0000
commit0aab18025a52e12a25d3665f5018856cfd5420a7 (patch)
tree22ccb2763986b857614fd9e787b9ad070a30d40c /vietnamese/vnxfonts
parent02594a710224ed38af32da3839d28f9a151f4acb (diff)
downloadports-0aab18025a52e12a25d3665f5018856cfd5420a7.tar.gz
ports-0aab18025a52e12a25d3665f5018856cfd5420a7.zip
These X fonts allow you to display Vietnamese characters in an Xterm and
other X applications.
Notes
Notes: svn path=/head/; revision=38185
Diffstat (limited to 'vietnamese/vnxfonts')
-rw-r--r--vietnamese/vnxfonts/Makefile38
-rw-r--r--vietnamese/vnxfonts/distinfo1
-rw-r--r--vietnamese/vnxfonts/files/patch-Makefile66
-rw-r--r--vietnamese/vnxfonts/pkg-comment1
-rw-r--r--vietnamese/vnxfonts/pkg-descr7
-rw-r--r--vietnamese/vnxfonts/pkg-install8
-rw-r--r--vietnamese/vnxfonts/pkg-plist12
7 files changed, 133 insertions, 0 deletions
diff --git a/vietnamese/vnxfonts/Makefile b/vietnamese/vnxfonts/Makefile
new file mode 100644
index 000000000000..077163dae9c5
--- /dev/null
+++ b/vietnamese/vnxfonts/Makefile
@@ -0,0 +1,38 @@
+# ex:ts=8
+# Ports collection makefile for: VN-Xfonts
+# Version required: 1.1.1
+# Date created: Tue Dec 3, 1996
+# Whom: David O'Brien (obrien@NUXI.com)
+#
+# $FreeBSD$
+#
+# version # is VISCII version supported + .<edit_revision>
+
+PORTNAME= vnxfonts
+PORTVERSION= 1.1.1
+CATEGORIES= vietnamese x11-fonts
+MASTER_SITES= ftp://ftp.media.mit.edu/pub/Vietnet/Viscii/Unix/ \
+ ftp://ftp.monash.edu.au/pub/vietnam/unix/
+DISTNAME= Xfonts
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= obrien@FreeBSD.org
+
+WRKSRC= ${WRKDIR}/fonts/X
+
+.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} ; \
+ ${INSTALL_DATA} fonts.dir *.pcf.Z \
+ ${PREFIX}/lib/X11/fonts/vietnamese
+ @${SETENV} PKG_PREFIX=${PREFIX} \
+ ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+
+.include <bsd.port.post.mk>
diff --git a/vietnamese/vnxfonts/distinfo b/vietnamese/vnxfonts/distinfo
new file mode 100644
index 000000000000..c3929bff11a4
--- /dev/null
+++ b/vietnamese/vnxfonts/distinfo
@@ -0,0 +1 @@
+MD5 (Xfonts.tar.Z) = 362b01da0184dec24fdb4a8fe368ceb5
diff --git a/vietnamese/vnxfonts/files/patch-Makefile b/vietnamese/vnxfonts/files/patch-Makefile
new file mode 100644
index 000000000000..ae46f331a862
--- /dev/null
+++ b/vietnamese/vnxfonts/files/patch-Makefile
@@ -0,0 +1,66 @@
+--- Makefile.orig Thu Sep 14 07:57:23 1995
++++ Makefile Sat Feb 10 14:33:17 2001
+@@ -1,4 +1,4 @@
+-.SUFFIXES: .src .bdf .snf .fb .pcf
++.SUFFIXES: .src .bdf .snf .fb .pcf .pcf.Z
+
+ SHELL = /bin/sh
+ ECHO = echo $(TAB)
+@@ -18,15 +18,18 @@
+ F6 = etl24-viscii
+ F7 = vn6x13
+ F8 = vn16x30
+-F9 = etl16-viscii1
++F9 = etl16-viscii
++F10 = etl24-viscii1
+ BDF = $(F1).bdf $(F2).bdf $(F3).bdf $(F4).bdf $(F5).bdf $(F6).bdf\
+- $(F7).bdf $(F8).bdf
++ $(F7).bdf $(F8).bdf $(F9).bdf
+ SNF = $(F1).snf $(F2).snf $(F3).snf $(F4).snf $(F5).snf $(F6).snf\
+- $(F7).snf $(F8).snf
++ $(F7).snf $(F8).snf $(F9).snf
+ PCF = $(F1).pcf $(F2).pcf $(F3).pcf $(F4).pcf $(F5).pcf $(F6).pcf\
+- $(F7).pcf $(F8).pcf
++ $(F7).pcf $(F8).pcf $(F9).pcf
++PCFZ = $(F1).pcf.Z $(F2).pcf.Z $(F3).pcf.Z $(F4).pcf.Z $(F5).pcf.Z \
++ $(F6).pcf.Z $(F7).pcf.Z $(F8).pcf.Z $(F9).pcf.Z
+ FB = $(F1).fb $(F2).fb $(F3).fb $(F4).fb $(F5).fb $(F6).fb\
+- $(F7).fb $(F8).fb
++ $(F7).fb $(F8).fb $(F9).fb
+
+ .src.bdf:
+ @echo -n "Generating $@ from $*.src... "
+@@ -35,6 +38,10 @@
+ .bdf.pcf:
+ $(BDFTOPCF) $*.bdf > $*.pcf
+
++.bdf.pcf.Z:
++ $(BDFTOPCF) $*.bdf > $*.pcf
++ compress -f -v $*.pcf
++
+ .bdf.snf:
+ $(BDFTOSNF) $*.bdf > $*.snf
+
+@@ -47,7 +54,7 @@
+ @echo $(TAB)We\'re going to do some font conversion.
+ @echo $(TAB)Depending on your system set-up, some of
+ @echo $(TAB)the conversion programs may not exist.
+- @echo $(TAB)Don't worry about this; it means that
++ @echo "$(TAB)Don't worry about this; it means that"
+ @echo $(TAB)your font format is one of the others.
+ @echo $(TAB)We try to cover PCF, SNF, and FB formats.
+ @echo $(TAB)You're out of luck if NONE of these work.
+@@ -88,11 +95,11 @@
+ @touch $(MADEFLAG)
+ @echo Done! Run \"xset +fp `pwd`\" to install X fonts
+
+-allpcf: $(PCF)
++allpcf: $(PCFZ)
+ # The BDF files are generated anyway, and if they stick around
+ # MKFONTDIR will generate some confusing error messages for PCF systems.
+ # Well, we have to keep .bdf around for executable users
+- @chmod go+r *.pcf
++ @chmod go+r *.pcf.Z
+
+ allsnf: $(SNF)
+ chmod go+r *.snf
diff --git a/vietnamese/vnxfonts/pkg-comment b/vietnamese/vnxfonts/pkg-comment
new file mode 100644
index 000000000000..4287c1bd6664
--- /dev/null
+++ b/vietnamese/vnxfonts/pkg-comment
@@ -0,0 +1 @@
+X fonts for displaying Vietnamese
diff --git a/vietnamese/vnxfonts/pkg-descr b/vietnamese/vnxfonts/pkg-descr
new file mode 100644
index 000000000000..1862b1d385fb
--- /dev/null
+++ b/vietnamese/vnxfonts/pkg-descr
@@ -0,0 +1,7 @@
+Tha^n cha`o ca'c ba.n,
+
+These X fonts allow you to display Vietnamese characters in an Xterm and
+other X applications.
+
+David O'Brien
+obrien@NUXI.com
diff --git a/vietnamese/vnxfonts/pkg-install b/vietnamese/vnxfonts/pkg-install
new file mode 100644
index 000000000000..5cfd6c47fc5f
--- /dev/null
+++ b/vietnamese/vnxfonts/pkg-install
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ "$2" != "POST-INSTALL" ]; then
+ exit 0
+fi
+
+cd ${PKG_PREFIX}/lib/X11/fonts/vietnamese
+mkfontdir >/dev/null 2>&1
diff --git a/vietnamese/vnxfonts/pkg-plist b/vietnamese/vnxfonts/pkg-plist
new file mode 100644
index 000000000000..b08c88404f8c
--- /dev/null
+++ b/vietnamese/vnxfonts/pkg-plist
@@ -0,0 +1,12 @@
+@comment $FreeBSD$
+lib/X11/fonts/vietnamese/fonts.dir
+lib/X11/fonts/vietnamese/Rom14-VN.pcf.Z
+lib/X11/fonts/vietnamese/etl16-viscii.pcf.Z
+lib/X11/fonts/vietnamese/etl24-viscii.pcf.Z
+lib/X11/fonts/vietnamese/vn-r14.pcf.Z
+lib/X11/fonts/vietnamese/vn10x20.pcf.Z
+lib/X11/fonts/vietnamese/vn16x30.pcf.Z
+lib/X11/fonts/vietnamese/vn6x13.pcf.Z
+lib/X11/fonts/vietnamese/vn9x15.pcf.Z
+lib/X11/fonts/vietnamese/vnlutRS18.pcf.Z
+@dirrm lib/X11/fonts/vietnamese