aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/dvipsk-vflib
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-07-20 10:58:33 +0800
committersteve <steve@FreeBSD.org>1998-07-20 10:58:33 +0800
commit83b7577a0390ad9f3f12b7f41b564ff08c512f66 (patch)
tree2643478912321acb4a92f4020998b7b8c01850d5 /japanese/dvipsk-vflib
parent0afdb980653102011289d45b1648599c6e23a483 (diff)
downloadfreebsd-ports-gnome-83b7577a0390ad9f3f12b7f41b564ff08c512f66.tar.gz
freebsd-ports-gnome-83b7577a0390ad9f3f12b7f41b564ff08c512f66.tar.zst
freebsd-ports-gnome-83b7577a0390ad9f3f12b7f41b564ff08c512f66.zip
Initial import of dvipsk with vflib version 5.78a.
The japanese version of dvipsk with vflib. PR: 7199 Submitted by: Makoto WATANABE <watanabe@zlab.phys.nagoya-u.ac.jp>
Diffstat (limited to 'japanese/dvipsk-vflib')
-rw-r--r--japanese/dvipsk-vflib/Makefile111
-rw-r--r--japanese/dvipsk-vflib/distinfo3
-rw-r--r--japanese/dvipsk-vflib/files/patch-aa37
-rw-r--r--japanese/dvipsk-vflib/files/patch-ab14
-rw-r--r--japanese/dvipsk-vflib/files/patch-ac11
-rw-r--r--japanese/dvipsk-vflib/files/patch-ad17
-rw-r--r--japanese/dvipsk-vflib/files/patch-ae8
-rw-r--r--japanese/dvipsk-vflib/pkg-comment1
-rw-r--r--japanese/dvipsk-vflib/pkg-descr18
-rw-r--r--japanese/dvipsk-vflib/pkg-plist102
10 files changed, 322 insertions, 0 deletions
diff --git a/japanese/dvipsk-vflib/Makefile b/japanese/dvipsk-vflib/Makefile
new file mode 100644
index 000000000000..a0846ca74486
--- /dev/null
+++ b/japanese/dvipsk-vflib/Makefile
@@ -0,0 +1,111 @@
+# New ports collection makefile for: dvipsk + jpatch + vflib-patch
+# Version required: 5.78a + p1.4 + 1.1alpha
+# Date created: 25 Aug 1997
+# Whom: Makoto WATANABE <watanabe@zlab.phys.nagoya-u.ac.jp>
+#
+# $Id$
+#
+
+DISTNAME= dvipsk-5.78a
+PKGNAME= ja-dvipsk-vflib-5.78a
+CATEGORIES= japanese print
+MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/ptex218/ \
+ ftp://ftp.center.osaka-u.ac.jp/CTAN/dviware/dvipsk/ \
+ ftp://ftp.riken.go.jp/pub/CTAN/dviware/dvipsk/ \
+ ftp://ftp.u-aizu.ac.jp/pub/tex/CTAN/dviware/dvipsk/ \
+ http://math.shinshu-u.ac.jp/~nakayama/howto/tex/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} dvipsk-jpatch-p1.4.tar.gz \
+ dvipsk-vflib-1.1alpha.patch.tgz
+
+MAINTAINER= watanabe@zlab.phys.nagoya-u.ac.jp
+
+RUN_DEPENDS= ptex-common:${PORTSDIR}/japanese/ptex-common \
+ ${PREFIX}/share/fonts/vf-a2bk:${PORTSDIR}/japanese/vftool
+LIB_DEPENDS= VFlib2\\.23\\.:${PORTSDIR}/japanese/vflib
+
+MANUAL_PACKAGE_BUILD= incompatible with other versions of dvipsk-*
+
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= ac_cv_path_install="${INSTALL} -c -o ${BINOWN} -g ${BINGRP}"
+MAKE_FLAGS= XCFLAGS="-I${PREFIX}/include" XLOADLIBES="-L${PREFIX}/lib"
+MAN1= dvips.1 afm2tfm.1
+
+TEXMF= ${PREFIX}/share/texmf
+DVIPSDIR= ${TEXMF}/dvips
+TEXDIR= ${TEXMF}/tex
+BINARIES= dvips afm2tfm
+BACKUP_FILES= base/asex.enc base/psfonts.map config/config.ps
+BASE_FILES= vffonts.pro cmfonts.map cyrfonts.map eufonts.map lafonts.map \
+ reencode/asex.enc
+CONTRIB_DIRS= afm-extra bbfig configs psfig volker
+CONTRIB_FILES= MakeTeXPK.pl PSTricks colorsep.pro config.proto crop.lpr \
+ timesmat.sty whichinpath afm-extra/*.ed bbfig/bb* \
+ configs/*[^g] psfig/README psfig/lprep* volker/*
+PLAIN_MACROS= psfig/psfig.tex psfntmac/ps_plain.tex
+LATEX209_MACROS=latex209/*.sty psfntmac/ps_lfonts.tex pspic/*
+DOCS= ../README.jpatch ../README.vflib dvipsk/README \
+ dvipsk/dvips.texi dvipsk/dvips.help
+
+pre-patch:
+ @${PATCH} -p -s -d ${WRKSRC} < ${WRKDIR}/dvipsk.patch
+ @${PATCH} -p -s -d ${WRKSRC} < ${WRKDIR}/dvipsk-vflib-1.1alpha.patch
+
+post-build:
+ @(\
+ cd ${WRKSRC}/dvipsk/contrib ; \
+ ../squeeze < colorsep.lpro > colorsep.pro \
+ )
+
+pre-install:
+ @if [ ! -f ${PREFIX}/info/dir ] ; then \
+ ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir ; \
+ fi
+ @for i in ${BACKUP_FILES} ; do \
+ if [ -f ${DVIPSDIR}/$$i ] ; then \
+ ${MV} ${DVIPSDIR}/$$i ${DVIPSDIR}/$$i.bak ; \
+ fi ; \
+ done
+
+post-install:
+ @for i in ${BINARIES} ; do \
+ strip ${PREFIX}/bin/$$i ; \
+ done
+ @${MKDIR} ${DVIPSDIR}/config
+ @for i in ${CONTRIB_DIRS} ; do \
+ ${MKDIR} ${DVIPSDIR}/contrib/$$i ; \
+ done
+ @${MKDIR} ${TEXDIR}/latex209/dvips
+ @(\
+ cd ${WRKSRC}/dvipsk ; \
+ for i in ${BASE_FILES} ; do \
+ ${INSTALL_DATA} $$i ${DVIPSDIR}/base ; \
+ done ; \
+ ${INSTALL_DATA} config.ps ${DVIPSDIR}/config ; \
+ cd ${WRKSRC}/dvipsk/contrib ; \
+ for i in ${CONTRIB_FILES} ; do \
+ ${INSTALL_DATA} $$i ${DVIPSDIR}/contrib/$$i ; \
+ done ; \
+ for i in ${PLAIN_MACROS} ; do \
+ ${INSTALL_DATA} $$i ${TEXDIR}/plain/dvips ; \
+ done ; \
+ for i in ${LATEX209_MACROS} ; do \
+ ${INSTALL_DATA} $$i ${TEXDIR}/latex209/dvips ; \
+ done \
+ )
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/dvips
+ @for i in ${DOCS} ; do \
+ ${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/dvips ; \
+ done
+ @${LN} -fs ${DVIPSDIR}/contrib ${PREFIX}/share/doc/dvips/contrib
+.endif
+.if defined(BATCH)
+ @${SETENV} PKG_PREFIX=${PREFIX} \
+ ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL BATCH
+.else
+ @${SETENV} PKG_PREFIX=${PREFIX} \
+ ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
+.endif
+
+.include <bsd.port.mk>
diff --git a/japanese/dvipsk-vflib/distinfo b/japanese/dvipsk-vflib/distinfo
new file mode 100644
index 000000000000..db5491c32696
--- /dev/null
+++ b/japanese/dvipsk-vflib/distinfo
@@ -0,0 +1,3 @@
+MD5 (dvipsk-5.78a.tar.gz) = 7731c81a2614f62ff892b296d257c4d0
+MD5 (dvipsk-jpatch-p1.4.tar.gz) = 20b10a562e0f931768e258118ea773ba
+MD5 (dvipsk-vflib-1.1alpha.patch.tgz) = f2eff40c3b2afe732c6e2a0b8469c2db
diff --git a/japanese/dvipsk-vflib/files/patch-aa b/japanese/dvipsk-vflib/files/patch-aa
new file mode 100644
index 000000000000..eeb8a043af10
--- /dev/null
+++ b/japanese/dvipsk-vflib/files/patch-aa
@@ -0,0 +1,37 @@
+--- Makefile.in.orig Thu Mar 12 06:37:45 1998
++++ Makefile.in Sun Jun 28 11:41:59 1998
+@@ -34,7 +34,7 @@
+ (cd $$d && $(MAKE) $(makeargs) $@) || break; else true; fi; done
+
+ install install-data install-exec:
+- for d in kpathsea $(programs); do if test -d $$d; then \
++ for d in $(programs); do if test -d $$d; then \
+ (cd $$d && $(MAKE) $(installargs) $@) || break; else true; fi; done
+
+ # Other standard targets for everything.
+--- dvipsk/Makefile.in.orig Sat Jul 4 15:27:03 1998
++++ dvipsk/Makefile.in Sat Jul 4 15:29:46 1998
+@@ -81,9 +81,9 @@
+ install-data: $(program).info
+ $(SHELL) $(top_srcdir)/../mkinstalldirs $(mandir) $(infodir) $(psheaderdir)/base $(dvips_plain_macrodir)
+ # PostScript prologues and encodings.
+- for h in $(prologues); do $(INSTALL_DATA) $$h $(psheaderdir)/base/$$h; done
+- cd $(srcdir)/reencode && \
+- for e in *.enc; do $(INSTALL_DATA) $$e $(psheaderdir)/base/$$e; done
++# for h in $(prologues); do $(INSTALL_DATA) $$h $(psheaderdir)/base/$$h; done
++# cd $(srcdir)/reencode && \
++# for e in *.enc; do $(INSTALL_DATA) $$e $(psheaderdir)/base/$$e; done
+ # config.ps. Any one config.ps will be wrong for most people, so don't
+ # install anything by default.
+ # if test ! -r $(psheaderdir)/base/config.ps \
+@@ -104,8 +104,8 @@
+ $(INSTALL_DATA) $(srcdir)/dvips.1 $(mandir)/dvips.$(manext)
+ $(INSTALL_DATA) $(srcdir)/afm2tfm.1 $(mandir)/afm2tfm.$(manext)
+ # TeX macros.
+- cd $(srcdir)/tex && for m in *.tex; do \
+- $(INSTALL_DATA) $$m $(dvips_plain_macrodir)/$$m; done
++# cd $(srcdir)/tex && for m in *.tex; do \
++# $(INSTALL_DATA) $$m $(dvips_plain_macrodir)/$$m; done
+ $(POSTINSTALL)
+ if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
+ install-info --info-dir=$(infodir) $(infodir)/$(program).info; \
diff --git a/japanese/dvipsk-vflib/files/patch-ab b/japanese/dvipsk-vflib/files/patch-ab
new file mode 100644
index 000000000000..95ef6ba14047
--- /dev/null
+++ b/japanese/dvipsk-vflib/files/patch-ab
@@ -0,0 +1,14 @@
+--- dvipsk/config.ps.orig Sun Jun 28 11:43:25 1998
++++ dvipsk/config.ps Sun Jun 28 11:46:02 1998
+@@ -4,9 +4,9 @@
+ *
+ m 470000
+ *
+-* And send output by default to the printer.
++* Run as a filter by default.
+ *
+-* o !lpr
++f
+ *
+ * Additional .map files
+ *
diff --git a/japanese/dvipsk-vflib/files/patch-ac b/japanese/dvipsk-vflib/files/patch-ac
new file mode 100644
index 000000000000..f299b12ce8fb
--- /dev/null
+++ b/japanese/dvipsk-vflib/files/patch-ac
@@ -0,0 +1,11 @@
+--- dvipsk/dvips.h.orig2 Sat Jul 4 15:27:05 1998
++++ dvipsk/dvips.h Sat Jul 4 15:34:20 1998
+@@ -43,7 +43,7 @@
+ #include "[.vms]vms.h"
+ #endif /* VMS */
+ #ifdef VFLIB
+-#include "VF.h"
++#include <VF.h>
+ #define CCTOJIS(x) (((x)/94+0x21)*256 + ((x)%94) + 0x21)
+ #endif
+ #include <stdlib.h>
diff --git a/japanese/dvipsk-vflib/files/patch-ad b/japanese/dvipsk-vflib/files/patch-ad
new file mode 100644
index 000000000000..c58442db8a64
--- /dev/null
+++ b/japanese/dvipsk-vflib/files/patch-ad
@@ -0,0 +1,17 @@
+--- dvipsk/psfonts.map.orig2 Sat Jul 4 15:26:51 1998
++++ dvipsk/psfonts.map Sat Jul 4 15:38:24 1998
+@@ -531,10 +531,10 @@
+ cshb0 CgShannonBd <cshb.pfa
+ cshx0 CgShannonExBd <cshx.pfa
+
+-rml Ryumin-Light-H
+-rmlv Ryumin-Light-V
+-gbm GothicBBB-Medium-H
+-gbmv GothicBBB-Medium-V
++rml Ryumin-Light-H <`r-watanabe-mincho
++gbm GothicBBB-Medium-H <`r-watanabe-mincho
++rmlv Ryumin-Light-V <`r-watanabe-mincho
++gbmv GothicBBB-Medium-V <`r-watanabe-mincho
+
+ %
+ % Local variables:
diff --git a/japanese/dvipsk-vflib/files/patch-ae b/japanese/dvipsk-vflib/files/patch-ae
new file mode 100644
index 000000000000..7196864e2c68
--- /dev/null
+++ b/japanese/dvipsk-vflib/files/patch-ae
@@ -0,0 +1,8 @@
+--- dvipsk/xdefs.make.orig Sun Jul 19 21:07:20 1998
++++ dvipsk/xdefs.make Sun Jul 19 21:07:33 1998
+@@ -1,4 +1,4 @@
+ VFPRO=vffonts.pro
+ VFOBJS=downvfchar.o
+-VFLIB=-lVFlib
++VFLIB=-lVFlib2 -lttf
+ XDEFS=-DVFLIB
diff --git a/japanese/dvipsk-vflib/pkg-comment b/japanese/dvipsk-vflib/pkg-comment
new file mode 100644
index 000000000000..ea41a78fa4a5
--- /dev/null
+++ b/japanese/dvipsk-vflib/pkg-comment
@@ -0,0 +1 @@
+A DVI to PostScript translator + Japanese patch + vflib patch
diff --git a/japanese/dvipsk-vflib/pkg-descr b/japanese/dvipsk-vflib/pkg-descr
new file mode 100644
index 000000000000..1bc7678ed809
--- /dev/null
+++ b/japanese/dvipsk-vflib/pkg-descr
@@ -0,0 +1,18 @@
+Dvipsk converts a DVI file produced by TeX (or other program) to
+a PostScript file. Missing fonts can be automatically generated if
+METAFONT exists on the system, or can be converted from `gf' to `pk'
+format on demand. Dvips also supports `tpic', `psfig', `emtex',
+and `METAPOST'.
+
+The dvipsk program is modified version of Tom Rokicki's dvips and
+use the kpathsea library for configuration and path searching.
+You may have to set some variables in the path configuration file for
+kpathsea /usr/local/share/texmf/web2c/texmf.cnf so that the program
+can find PK fonts, Virtual fonts and TFM files. For example,
+
+PKFONTS = .:/usr/local/lib/fonts//:{$TEXMF/fonts:$VARTEXFONTS}//pk//
+VFFONTS = .:/usr/local/share/fonts/vf-a2bk:$TEXMF/fonts//vf//
+TFMFONTS = .:/usr/local/share/fonts/vf-a2bk:{$TEXMF/fonts:$VARTEXFONTS}//tfm//
+
+- Makoto WATANABE
+watanabe@zlab.phys.nagoya-u.ac.jp
diff --git a/japanese/dvipsk-vflib/pkg-plist b/japanese/dvipsk-vflib/pkg-plist
new file mode 100644
index 000000000000..61d5b5256b92
--- /dev/null
+++ b/japanese/dvipsk-vflib/pkg-plist
@@ -0,0 +1,102 @@
+bin/dvips
+bin/afm2tfm
+@unexec install-info --delete %D/info/dvips.info %D/info/dir
+info/dvips.info
+info/dvips.info-1
+info/dvips.info-2
+info/dvips.info-3
+info/dvips.info-4
+@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
+@exec install-info %D/info/dvips.info %D/info/dir
+man/man1/dvips.1.gz
+man/man1/afm2tfm.1.gz
+@exec for i in base/asex.enc base/psfonts.map config/config.ps ; do if [ -f %D/share/texmf/dvips/$i ] ; then mv %D/share/texmf/dvips/$i %D/share/texmf/dvips/$i.bak ; fi ; done
+share/texmf/dvips/base/vffonts.pro
+share/texmf/dvips/base/asex.enc
+share/texmf/dvips/base/cmfonts.map
+share/texmf/dvips/base/cyrfonts.map
+share/texmf/dvips/base/eufonts.map
+share/texmf/dvips/base/lafonts.map
+share/texmf/dvips/base/psfonts.map
+share/texmf/dvips/config/config.ps
+@unexec for i in base/asex.enc base/psfonts.map config/config.ps ; do if [ -f %D/share/texmf/dvips/$i.bak ] ; then mv %D/share/texmf/dvips/$i.bak %D/share/texmf/dvips/$i ; fi ; done
+share/texmf/dvips/contrib/MakeTeXPK.pl
+share/texmf/dvips/contrib/PSTricks
+share/texmf/dvips/contrib/colorsep.pro
+share/texmf/dvips/contrib/config.proto
+share/texmf/dvips/contrib/crop.lpr
+share/texmf/dvips/contrib/timesmat.sty
+share/texmf/dvips/contrib/whichinpath
+share/texmf/dvips/contrib/afm-extra/ptmr.ed
+share/texmf/dvips/contrib/afm-extra/ptmro.ed
+share/texmf/dvips/contrib/bbfig/bb.ps
+share/texmf/dvips/contrib/bbfig/bbfig
+share/texmf/dvips/contrib/bbfig/bbfig.1
+share/texmf/dvips/contrib/configs/2a4.ps
+share/texmf/dvips/contrib/configs/config.fax
+share/texmf/dvips/contrib/configs/config.lino
+share/texmf/dvips/contrib/configs/config.lj2p
+share/texmf/dvips/contrib/configs/config.post3x3
+share/texmf/dvips/contrib/configs/config.rokicki
+share/texmf/dvips/contrib/configs/loop.ps
+share/texmf/dvips/contrib/configs/mkdvipspapers
+share/texmf/dvips/contrib/configs/papersize.level2
+share/texmf/dvips/contrib/configs/papersize.simple
+share/texmf/dvips/contrib/configs/prepipe.ps
+share/texmf/dvips/contrib/configs/showpage.ps
+share/texmf/dvips/contrib/psfig/README
+share/texmf/dvips/contrib/psfig/lprep68.pro
+share/texmf/dvips/contrib/psfig/lprep68.ps
+share/texmf/dvips/contrib/psfig/lprep70.pro
+share/texmf/dvips/contrib/psfig/lprep70.ps
+share/texmf/dvips/contrib/volker/README
+share/texmf/dvips/contrib/volker/a3.cfg
+share/texmf/dvips/contrib/volker/duplong.cfg
+share/texmf/dvips/contrib/volker/dupshort.cfg
+share/texmf/dvips/contrib/volker/inv.cfg
+share/texmf/dvips/contrib/volker/scr100.cfg
+share/texmf/dvips/contrib/volker/scr100-0.cfg
+share/texmf/dvips/contrib/volker/scr110.cfg
+share/texmf/dvips/contrib/volker/scr120.cfg
+share/texmf/dvips/contrib/volker/scr130.cfg
+share/texmf/dvips/contrib/volker/scr140.cfg
+share/texmf/dvips/contrib/volker/scr150.cfg
+share/texmf/dvips/contrib/volker/scr70.cfg
+share/texmf/dvips/contrib/volker/scr80.cfg
+share/texmf/dvips/contrib/volker/scr85.cfg
+share/texmf/dvips/contrib/volker/scr90.cfg
+share/texmf/dvips/contrib/volker/simplex.cfg
+share/texmf/tex/plain/dvips/psfig.tex
+share/texmf/tex/plain/dvips/ps_plain.tex
+share/texmf/tex/latex209/dvips/avantgarde.sty
+share/texmf/tex/latex209/dvips/blackdvi.sty
+share/texmf/tex/latex209/dvips/bookman.sty
+share/texmf/tex/latex209/dvips/chancery.sty
+share/texmf/tex/latex209/dvips/colordvi.sty
+share/texmf/tex/latex209/dvips/epsf.sty
+share/texmf/tex/latex209/dvips/lucida.sty
+share/texmf/tex/latex209/dvips/ncs.sty
+share/texmf/tex/latex209/dvips/palatino.sty
+share/texmf/tex/latex209/dvips/psfonts.sty
+share/texmf/tex/latex209/dvips/psgreek.sty
+share/texmf/tex/latex209/dvips/rotate.sty
+share/texmf/tex/latex209/dvips/times.sty
+share/texmf/tex/latex209/dvips/ps_lfonts.tex
+share/texmf/tex/latex209/dvips/pspic.readme
+share/texmf/tex/latex209/dvips/pspic.sty
+share/doc/dvips/README
+share/doc/dvips/README.jpatch
+share/doc/dvips/README.vflib
+share/doc/dvips/dvips.texi
+share/doc/dvips/dvips.help
+@exec ln -fs %D/share/texmf/dvips/contrib %D/share/doc/dvips/contrib
+@unexec rm %D/share/doc/dvips/contrib
+@dirrm share/texmf/dvips/contrib/afm-extra
+@dirrm share/texmf/dvips/contrib/bbfig
+@dirrm share/texmf/dvips/contrib/configs
+@dirrm share/texmf/dvips/contrib/psfig
+@dirrm share/texmf/dvips/contrib/volker
+@dirrm share/texmf/dvips/contrib
+@dirrm share/texmf/tex/latex209/dvips
+@dirrm share/doc/dvips
+@unexec if [ -f %D/share/texmf/web2c/texmf.cnf.bak ] ; then rm -f %D/share/texmf/web2c/texmf.cnf ; mv %D/share/texmf/web2c/texmf.cnf.bak %D/share/texmf/web2c/texmf.cnf ; fi