diff options
author | asami <asami@FreeBSD.org> | 1996-11-09 20:55:12 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1996-11-09 20:55:12 +0800 |
commit | 48f085c5dfc04cdcefcb695725c34cb5170bdd66 (patch) | |
tree | 765dcdbf79a3fb106785d2e994e7d16847490bfd | |
parent | a0c3f2511f876db2e8c4cfe4aa39766b6c9f0988 (diff) | |
download | freebsd-ports-gnome-48f085c5dfc04cdcefcb695725c34cb5170bdd66.tar.gz freebsd-ports-gnome-48f085c5dfc04cdcefcb695725c34cb5170bdd66.tar.zst freebsd-ports-gnome-48f085c5dfc04cdcefcb695725c34cb5170bdd66.zip |
Japanese version of dvi2ps
Submitted by: MITA Yoshio <mita@ee.t.u-tokyo.ac.jp>
-rw-r--r-- | japanese/dvi2ps/Makefile | 39 | ||||
-rw-r--r-- | japanese/dvi2ps/distinfo | 1 | ||||
-rw-r--r-- | japanese/dvi2ps/files/patch-aa | 61 | ||||
-rw-r--r-- | japanese/dvi2ps/files/patch-ab | 37 | ||||
-rw-r--r-- | japanese/dvi2ps/pkg-comment | 1 | ||||
-rw-r--r-- | japanese/dvi2ps/pkg-descr | 11 | ||||
-rw-r--r-- | japanese/dvi2ps/pkg-plist | 91 | ||||
-rw-r--r-- | japanese/dvi2ps/pkg-req | 9 |
8 files changed, 250 insertions, 0 deletions
diff --git a/japanese/dvi2ps/Makefile b/japanese/dvi2ps/Makefile new file mode 100644 index 000000000000..3c041f995293 --- /dev/null +++ b/japanese/dvi2ps/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: jp-dvi2ps +# Version required: 2.0beta4 +# Date created: 15 Sep 1996 +# Whom: Mita Yoshio <mita@jp.FreeBSD.org> +# +# $Id$ +# + +DISTNAME= dvi2ps-2.0j-beta4 +PKGNAME= jp-dvi2ps-2.0b4 +CATEGORIES+= japanese print +MASTER_SITES= ftp://ftp.math.s.chiba-u.ac.jp/tex/ +DISTFILES= dvi2ps-2.0j-beta4.tar.gz + +MAINTAINER= mita@jp.FreeBSD.org + +BUILD_DEPENDS= ${PREFIX}/lib/VFlib.a:${PORTSDIR}/japanese/vflib + +post-patch: + @(cd ${WRKSRC}; make newlib) + +post-build: + @(cd ${WRKSRC}/tools; \ + cc -O -o nup nup.c; \ + cc -O -traditional -o texfix texfix.c\ + ) +post-install: + @(cd ${WRKSRC}; \ + make install-lib; \ + ${CP} -R doc ${PREFIX}/lib/dvi2ps/ ;\ + ${INSTALL_SCRIPT} tools/lnfonts ${PREFIX}/lib/dvi2ps ;\ + ${INSTALL_PROGRAM} tools/nup ${PREFIX}/bin ;\ + ${INSTALL_PROGRAM} tools/texfix ${PREFIX}/bin ;\ + ${INSTALL_SCRIPT} tools/psstrip ${PREFIX}/bin ;\ + ${INSTALL_SCRIPT} tools/MakePK ${PREFIX}/bin ;\ + ) + @/bin/sh ${PKGDIR}/REQ ${PKGNAME} INSTALL + +.include <bsd.port.mk> diff --git a/japanese/dvi2ps/distinfo b/japanese/dvi2ps/distinfo new file mode 100644 index 000000000000..422afffff31b --- /dev/null +++ b/japanese/dvi2ps/distinfo @@ -0,0 +1 @@ +MD5 (dvi2ps-2.0j-beta4.tar.gz) = 2826a4525d6218a34e6e360775abde07 diff --git a/japanese/dvi2ps/files/patch-aa b/japanese/dvi2ps/files/patch-aa new file mode 100644 index 000000000000..749ad01803b8 --- /dev/null +++ b/japanese/dvi2ps/files/patch-aa @@ -0,0 +1,61 @@ +*** Makefile.orig Fri Oct 4 12:01:36 1996 +--- Makefile Fri Nov 8 21:35:39 1996 +*************** +*** 1,11 **** + # The following file and directory specifications may need changing at + # your site: + # + # where dvi2ps is installed +! BINAREA=/usr/local/bin + # + # directory for dvi2ps: where the auxiliary files are installed +! DVI2LIB=/usr/local/lib/dvi2ps + # + # name of default fontdesc file in your site + FONTDESC=fontdesc +--- 1,12 ---- + # The following file and directory specifications may need changing at + # your site: + # ++ PREFIX?= /usr/local + # where dvi2ps is installed +! BINAREA=${PREFIX}/bin + # + # directory for dvi2ps: where the auxiliary files are installed +! DVI2LIB=${PREFIX}/lib/dvi2ps + # + # name of default fontdesc file in your site + FONTDESC=fontdesc +*************** +*** 36,50 **** + # optional font formats + FONTF = -DVFLIB + # VFlib library (comment out next line if -DFVLIB is not included) +! VFLIB = VFlib.a + + # + CC=cc + # +! CCFLAGS = -g + #CCFLAGS = -O # SUN etc ... + #CCFLAGS = -O -traditional -DPOSIX # 386bsd (gcc 1.X) +! #CCFLAGS = -O -DPOSIX # NetBSD FreeBSD (gcc 2.X), Linux + #CCFLAGS = -O -bsd # NeXT + #CCFLAGS = -O -DMSDOS -DPOSIX # DJGCC (gcc 2.X) + #CCFLAGS = -O -DSYSV # SysV +--- 37,51 ---- + # optional font formats + FONTF = -DVFLIB + # VFlib library (comment out next line if -DFVLIB is not included) +! VFLIB = ${PREFIX}/lib/VFlib.a + + # + CC=cc + # +! #CCFLAGS = -g + #CCFLAGS = -O # SUN etc ... + #CCFLAGS = -O -traditional -DPOSIX # 386bsd (gcc 1.X) +! CCFLAGS = -O -DPOSIX -m486 # NetBSD FreeBSD (gcc 2.X), Linux + #CCFLAGS = -O -bsd # NeXT + #CCFLAGS = -O -DMSDOS -DPOSIX # DJGCC (gcc 2.X) + #CCFLAGS = -O -DSYSV # SysV diff --git a/japanese/dvi2ps/files/patch-ab b/japanese/dvi2ps/files/patch-ab new file mode 100644 index 000000000000..28963c10b9f6 --- /dev/null +++ b/japanese/dvi2ps/files/patch-ab @@ -0,0 +1,37 @@ +*** /dev/null Fri Nov 8 21:17:53 1996 +--- lib/fontdesc Fri Nov 8 21:18:34 1996 +*************** +*** 0 **** +--- 1,32 ---- ++ # ++ # dvi2ps fontdesc file for FreeBSD jtex209 and platex ports collection. ++ # Print out Japanese by printer font and English by pk font. ++ # Nov. 9 1996 MITA Yoshio <mita@jp.FreeBSD.org> ++ ++ # change resolution below according to your site. ++ define RESOLUTION 300 ++ ++ define f /usr/local/lib/fonts ++ define af /usr/local/share/tex/jfonts/jfms ++ define pf /usr/local/lib/texmf/fonts/public/ptex ++ define nsf /usr/local/share/tex/jfonts/ ++ ++ include dvi2.ps ++ resolution $RESOLUTION ++ ++ # English font with pk fonts ++ font pk * 3 $f/pk$RESOLUTION/%f.%mpk ++ ++ # jstfm NTT JTeX with DNP font tfm ++ font jstfm * 0 $nsf/mincho/%f.tfm ++ font jstfm * 0 $nsf/gothic/%f.tfm ++ builtin dm%j SINR Ryumin-Light-H ++ builtin dg%j SINR GothicBBB-Medium-H ++ ++ ++ # built-in kanji for ASCII Nihongo TeX ++ include fonts/ascfix-c.ps ++ font jfm * 0 $af/%f.tfm ++ font jfm * 0 $pf/tfm/%f.tfm ++ builtin min JINA "/Ryumin-Light-H Ryumin-Metrics Set-New-Metrics" ++ builtin goth JINA "/GothicBBB-Medium-H Gothic-Metrics Set-New-Metrics" diff --git a/japanese/dvi2ps/pkg-comment b/japanese/dvi2ps/pkg-comment new file mode 100644 index 000000000000..d51b2a18cf94 --- /dev/null +++ b/japanese/dvi2ps/pkg-comment @@ -0,0 +1 @@ +dvi to postscript converter Japanese version diff --git a/japanese/dvi2ps/pkg-descr b/japanese/dvi2ps/pkg-descr new file mode 100644 index 000000000000..a2a7128c2100 --- /dev/null +++ b/japanese/dvi2ps/pkg-descr @@ -0,0 +1,11 @@ +dvi to postscrpt converter. + +Sample font description file `/usr/local/lib/dvi2ps/fontdesc' is installed. +Those who want to print out English fonts by pkfont and Japanese by +printer builtin font can use it directly. +(Remember to add pkfonts by package or so.) + +Default resolution is set to 300dpi in fontdesc file, +modify it according to your site. + +See /usr/local/lib/dvi2ps/doc/* files for customize. diff --git a/japanese/dvi2ps/pkg-plist b/japanese/dvi2ps/pkg-plist new file mode 100644 index 000000000000..39338b9dada5 --- /dev/null +++ b/japanese/dvi2ps/pkg-plist @@ -0,0 +1,91 @@ +bin/dvi2ps +bin/MakePK +bin/nup +bin/psstrip +bin/texfix +lib/dvi2ps/LW16-600J +lib/dvi2ps/LWIINTX-J +lib/dvi2ps/RicohSP10 +lib/dvi2ps/SPARCptr +lib/dvi2ps/bibase +lib/dvi2ps/bifont +lib/dvi2ps/bikanji +lib/dvi2ps/bitbk +lib/dvi2ps/bitmap +lib/dvi2ps/config +lib/dvi2ps/defaulttray.ps +lib/dvi2ps/dvi2.ps +lib/dvi2ps/dvips.ps +lib/dvi2ps/lnfonts +lib/dvi2ps/macfix.ps +lib/dvi2ps/mtex +lib/dvi2ps/old +lib/dvi2ps/oldfix.ps +lib/dvi2ps/psifont.ps +lib/dvi2ps/tombo.ps +lib/dvi2ps/vflib +lib/dvi2ps/vtexe +lib/dvi2ps/wadalab +lib/dvi2ps/doc/bugs.doc +lib/dvi2ps/doc/changes.doc +lib/dvi2ps/doc/dvi2ps.doc +lib/dvi2ps/doc/dvi2ps.jman +lib/dvi2ps/doc/dvi2ps.man +lib/dvi2ps/doc/fontdesc.doc +lib/dvi2ps/doc/history +lib/dvi2ps/doc/install.doc +lib/dvi2ps/doc/kanji.doc +lib/dvi2ps/doc/lib.doc +lib/dvi2ps/doc/local.mf +lib/dvi2ps/doc/lprdvi.doc +lib/dvi2ps/doc/metafont.doc +lib/dvi2ps/doc/nup.doc +lib/dvi2ps/doc/printers.doc +lib/dvi2ps/doc/psfiles.doc +lib/dvi2ps/doc/psfonts.doc +lib/dvi2ps/doc/report.doc +lib/dvi2ps/doc/special.doc +lib/dvi2ps/doc/texfix.doc +lib/dvi2ps/doc/vfontcap +lib/dvi2ps/doc/vfref.doc +lib/dvi2ps/fontdesc +lib/dvi2ps/fonts/a2n +lib/dvi2ps/fonts/asc-bikanji +lib/dvi2ps/fonts/asc-bitmap +lib/dvi2ps/fonts/asc-bk +lib/dvi2ps/fonts/asc-vflkanji +lib/dvi2ps/fonts/asc-wlkanji +lib/dvi2ps/fonts/ascfix-b.ps +lib/dvi2ps/fonts/ascfix-c.ps +lib/dvi2ps/fonts/ascfix-m.ps +lib/dvi2ps/fonts/bikan-mor2 +lib/dvi2ps/fonts/bikan-rsp +lib/dvi2ps/fonts/bikan-vfl +lib/dvi2ps/fonts/bikan-wl +lib/dvi2ps/fonts/cmps.map +lib/dvi2ps/fonts/curdir +lib/dvi2ps/fonts/efontdef +lib/dvi2ps/fonts/generate +lib/dvi2ps/fonts/ml-bikanji +lib/dvi2ps/fonts/ml-bitmap +lib/dvi2ps/fonts/mldecomp +lib/dvi2ps/fonts/n2a +lib/dvi2ps/fonts/ntt-bikanji +lib/dvi2ps/fonts/ntt-bitmap +lib/dvi2ps/fonts/ntt-vflkanji +lib/dvi2ps/fonts/ntt-wlkanji +lib/dvi2ps/fonts/psfonts +lib/dvi2ps/fonts/psfonts.map +lib/dvi2ps/fonts/psfonts.ps +lib/dvi2ps/fonts/psfonts0 +lib/dvi2ps/fonts/psfonts2 +lib/dvi2ps/fonts/psfonts2.map +lib/dvi2ps/fonts/psfonts2.ps +lib/dvi2ps/fonts/psfonts3 +lib/dvi2ps/fonts/psfonts3.map +lib/dvi2ps/fonts/vtex +lib/dvi2ps/fonts/vtex.ps +lib/dvi2ps/printer/LW16 +lib/dvi2ps/printer/LWII +lib/dvi2ps/printer/RicohSP10 +lib/dvi2ps/printer/SPARC diff --git a/japanese/dvi2ps/pkg-req b/japanese/dvi2ps/pkg-req new file mode 100644 index 000000000000..a4db2b5fb08b --- /dev/null +++ b/japanese/dvi2ps/pkg-req @@ -0,0 +1,9 @@ +#!/bin/sh +if [ "$2" != "INSTALL" ]; then + exit 0 +fi +echo "**********************************************************" +echo "* Modify RESOLUTION in /usr/local/lib/dvi2ps/fontdesc *" +echo "* See /usr/local/lib/dvi2ps/doc/* for customize *" +echo "**********************************************************" + |