diff options
author | obrien <obrien@FreeBSD.org> | 1996-12-09 02:02:49 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1996-12-09 02:02:49 +0000 |
commit | cd0132f11cd7dc61285d940af2fc75c6f1eb8b84 (patch) | |
tree | 1daa4b5e4aa18b7d8212567b4c68451143e456a3 /vietnamese | |
parent | 61d278b872d0a22255ea3b45ee2e863df9dfcacc (diff) | |
download | FreeBSD-ports-cd0132f11cd7dc61285d940af2fc75c6f1eb8b84.zip FreeBSD-ports-cd0132f11cd7dc61285d940af2fc75c6f1eb8b84.tar.gz |
vnlpr is a shell script that utilizes the vnpstext and vn7to8 utilities
to print vietnames text on PostScript printer on Unix machines using
various Type-1 fonts supplied by TriChlor and the Courier fonts from
the vnpstext package.
Diffstat (limited to 'vietnamese')
-rw-r--r-- | vietnamese/vnlpr/Makefile | 41 | ||||
-rw-r--r-- | vietnamese/vnlpr/distinfo | 1 | ||||
-rw-r--r-- | vietnamese/vnlpr/pkg-comment | 1 | ||||
-rw-r--r-- | vietnamese/vnlpr/pkg-descr | 45 | ||||
-rw-r--r-- | vietnamese/vnlpr/pkg-plist | 17 |
5 files changed, 105 insertions, 0 deletions
diff --git a/vietnamese/vnlpr/Makefile b/vietnamese/vnlpr/Makefile new file mode 100644 index 0000000..1fe6731 --- /dev/null +++ b/vietnamese/vnlpr/Makefile @@ -0,0 +1,41 @@ +# ex:ts=8 +# Ports collection makefile for: vnlpr +# Version required: 2.0 +# Date created: Sat Dec 7, 1996 +# Whom: David O'Brien (obrien@cs.ucdavis.edu) +# +# $Id: Makefile,v 1.1.1.1 1996/08/09 04:17:16 asami Exp $ +# + +DISTNAME= vnlpr +PKGNAME= vn-vnlpr-2.0 +CATEGORIES= vietnamese +MASTER_SITES= ftp://ftp.media.mit.edu/pub/Vietnet/Viscii/Unix/ \ + ftp://ftp.monash.edu.au/pub/vietnam/unix/ +EXTRACT_SUFX= .tar.Z + +MAINTAINER= obrien@cs.ucdavis.edu + +RUN_DEPENDS= vn7to8:${PORTSDIR}/vietnamese/vn7to8 \ + vnpstext:${PORTSDIR}/vietnamese/vnpstext + +pre-patch: + @/bin/mv ${WRKSRC}/vnlpr ${WRKSRC}/vnlpr.in + +do-build: + sed -e "s:^set VNLIB=./:set VNLIB=${PREFIX}/share/vn-fonts:" \ + -e 's/^set PRINTER="barrons"/#set PRINTER="postscript"/' \ + ${WRKSRC}/vnlpr.in > ${WRKSRC}/vnlpr + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/vnlpr ${PREFIX}/bin + @${MKDIR} ${PREFIX}/share/vn-fonts + ${INSTALL_DATA} ${WRKSRC}/*.ps ${PREFIX}/share/vn-fonts + ${INSTALL_DATA} ${WRKSRC}/*.gsf ${PREFIX}/share/vn-fonts +.if !defined(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/vnlpr + ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/vnlpr + ${INSTALL_MAN} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/vnlpr +.endif + +.include <bsd.port.mk> diff --git a/vietnamese/vnlpr/distinfo b/vietnamese/vnlpr/distinfo new file mode 100644 index 0000000..dd1f43b --- /dev/null +++ b/vietnamese/vnlpr/distinfo @@ -0,0 +1 @@ +MD5 (vnlpr.tar.Z) = 48ee11619260b84c5f68ae7fe7c12a6a diff --git a/vietnamese/vnlpr/pkg-comment b/vietnamese/vnlpr/pkg-comment new file mode 100644 index 0000000..767c2ef --- /dev/null +++ b/vietnamese/vnlpr/pkg-comment @@ -0,0 +1 @@ +shell script and set of fonts to print Vietnamese text on PostScript printer diff --git a/vietnamese/vnlpr/pkg-descr b/vietnamese/vnlpr/pkg-descr new file mode 100644 index 0000000..466b5b7 --- /dev/null +++ b/vietnamese/vnlpr/pkg-descr @@ -0,0 +1,45 @@ + vnlpr is a shell script that utilizes the vnpstext and vn7to8 +utilities to print vietnames text on PostScript printer on Unix machines +using various Type-1 fonts supplied by TriChlor and the Courier fonts +from the vnpstext package. + + The Type-1 font files are converted from the pfb files. + + am_11.gsf A'nh Minh font (Optima) + hm_11.gsf Heo May font (Helvetica) + hy_11.gsf Hoa`ng Ye^'n font (Present Script) + mq_11.gsf Minh Qua^n font (Courier) + pt_11.gsf Phu+o+ng Tha?o font (Brush Script) + th_11.gsf Tha Hu+o+ng font (Chancery) + uh_11.gsf U Hoa`i font (Utopia) + + These fonts can also be used with the ghostscript package for +conversion of PostScript file into other printer formats. + + The .gsf files should be placed at the same place as the initialization +files for the vnpstext package. + + pr_am.ps, pr_hm.ps, pr_hy.ps, pr_mq.ps, pr_pt.ps, pr_th.ps and +pr_uh.ps are PostScript files that show the above font types. + + Instruction for using the vnlpr script is in the begining of the +script, and also by typing 'vnlpr -h' will show a description of the +usage also. +You'll need to edit the VNLIB environment variable in vnlpr so it point +to this directory that contains the .gsf files. You must also install +vnpstext first. + + For example: + + vnlpr -mq -s 8 emtoi + This print emtoi using MinhQua^n size 8 + + vnlpr -uh -s 10 -i emtoi + This print emtoi using U Hoa`i Italic size 10 + + + Read the INSTALL file for installation procedure. + +- Happy printing - + +Written by Phu`ng Gia Cu+ (phung@spin.chem.utah.edu) diff --git a/vietnamese/vnlpr/pkg-plist b/vietnamese/vnlpr/pkg-plist new file mode 100644 index 0000000..2d43e34 --- /dev/null +++ b/vietnamese/vnlpr/pkg-plist @@ -0,0 +1,17 @@ +bin/vnlpr +share/vn-fonts/initcour.ps +share/vn-fonts/initcourb.ps +share/vn-fonts/pr-am.ps +share/vn-fonts/pr-hm.ps +share/vn-fonts/pr-hy.ps +share/vn-fonts/pr-mq.ps +share/vn-fonts/pr-pt.ps +share/vn-fonts/pr-th.ps +share/vn-fonts/pr-uh.ps +share/vn-fonts/am_11.gsf +share/vn-fonts/hm_11.gsf +share/vn-fonts/hy_11.gsf +share/vn-fonts/mq_11.gsf +share/vn-fonts/pt_11.gsf +share/vn-fonts/th_11.gsf +share/vn-fonts/uh_11.gsf |