aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/xdvik
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>1998-06-14 15:58:50 +0800
committerkuriyama <kuriyama@FreeBSD.org>1998-06-14 15:58:50 +0800
commit813ea47e1e2dd23c84ae82a444515a888323ddc6 (patch)
treebf5fe7e66ffc71e0e67e9b2b787bff79eb2d9508 /japanese/xdvik
parent3a555a3650b51bfb476ba05f439598e92bc7af36 (diff)
downloadfreebsd-ports-gnome-813ea47e1e2dd23c84ae82a444515a888323ddc6.tar.gz
freebsd-ports-gnome-813ea47e1e2dd23c84ae82a444515a888323ddc6.tar.zst
freebsd-ports-gnome-813ea47e1e2dd23c84ae82a444515a888323ddc6.zip
DVI Previewer(kpathsearch) for X + jp-patch.
PR: ports/5881 Submitted by: Kentaro Inagaki <JBD01226@niftyserve.ne.jp>
Diffstat (limited to 'japanese/xdvik')
-rw-r--r--japanese/xdvik/Makefile46
-rw-r--r--japanese/xdvik/distinfo2
-rw-r--r--japanese/xdvik/files/patch-ab11
-rw-r--r--japanese/xdvik/files/vfontmap11
-rw-r--r--japanese/xdvik/pkg-comment1
-rw-r--r--japanese/xdvik/pkg-descr14
-rw-r--r--japanese/xdvik/pkg-plist21
7 files changed, 106 insertions, 0 deletions
diff --git a/japanese/xdvik/Makefile b/japanese/xdvik/Makefile
new file mode 100644
index 000000000000..e4022e0f742d
--- /dev/null
+++ b/japanese/xdvik/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: xdvik+jp-patch(use VFlib)
+# Version required: 20
+# Date created: 26 Feb 1998
+# Whom: Kentaro Inagaki <JBD01226@niftyserve.ne.jp>
+#
+# $Id$
+#
+
+DISTNAME= xdvik-20a
+PKGNAME= ja-vfxdvik-20a
+CATEGORIES= japanese print
+MASTER_SITES= ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-20/ \
+ ${MASTER_SITE_LOCAL}
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} xdvik20a-j1.1p15.patch.gz
+
+MAINTAINER= JBD01226@niftyserve.ne.jp
+
+RUN_DEPENDS= mf:${PORTSDIR}/japanese/ptex-common
+LIB_DEPENDS= VFlib\\.2\\.:${PORTSDIR}/japanese/vflib
+
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+
+GNU_CONFIGURE=YES
+CONFIGURE_ARGS=--with-dvifilter=dvi2ps
+#CONFIGURE_ARGS=--enable-shared=yes --with-dvifilter=dvi2ps
+USE_GMAKE=YES
+
+MAN1=xdvi.1 gsftopk.1
+
+pre-patch:
+ (cd ${WRKSRC}/xdvik ; \
+ ${GZCAT} ${DISTDIR}/xdvik20a-j1.1p15.patch.gz | ${PATCH} -s )
+
+pre-build:
+ (cd ${WRKSRC} ; find . -name '*.orig' -exec ${RM} -f {} \;)
+
+do-install:
+ (cd ${WRKSRC}/xdvik ; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
+
+post-install:
+ $(INSTALL_DATA) $(FILESDIR)/vfontmap $(PREFIX)/share/texmf/xdvi
+ ${MKDIR} ${PREFIX}/share/doc/xdvi
+ $(INSTALL_DATA) ${WRKSRC}/xdvik/README* ${PREFIX}/share/doc/xdvi
+ $(INSTALL_DATA) ${WRKSRC}/xdvik/ChangeLog* ${PREFIX}/share/doc/xdvi
+
+.include <bsd.port.mk>
diff --git a/japanese/xdvik/distinfo b/japanese/xdvik/distinfo
new file mode 100644
index 000000000000..c7bc83229af4
--- /dev/null
+++ b/japanese/xdvik/distinfo
@@ -0,0 +1,2 @@
+MD5 (xdvik-20a.tar.gz) = 58090c0a4e8f4cc5a406f47a95b81b67
+MD5 (xdvik20a-j1.1p15.patch.gz) = e260055ad86755b933326d30bc887a92
diff --git a/japanese/xdvik/files/patch-ab b/japanese/xdvik/files/patch-ab
new file mode 100644
index 000000000000..e02709054cd7
--- /dev/null
+++ b/japanese/xdvik/files/patch-ab
@@ -0,0 +1,11 @@
+--- xdvik/Makefile.in.orig Fri Jan 30 00:37:19 1998
++++ xdvik/Makefile.in Fri Jan 30 00:45:39 1998
+@@ -16,7 +16,7 @@
+ # define NOVFONTMAP when you don't use "vfontmap"
+ # define VI_KEY when you use VI_KEY
+ # define SMALL_PANEL when you use SMALL_PANEL
+-XDEFS= -DA4 -DNOTEXXET -DVI_KEY -DPTEX -DCOLOR
++XDEFS= -DA4 -DNOTEXXET -DVI_KEY -DPTEX -DCOLOR -DSMALL_PANEL -DSHRINK=\"7\" -DBDPI=300
+
+ FILTOPTTBLDIR = $(texmf)/xdvi
+
diff --git a/japanese/xdvik/files/vfontmap b/japanese/xdvik/files/vfontmap
new file mode 100644
index 000000000000..f1a95b4f87f5
--- /dev/null
+++ b/japanese/xdvik/files/vfontmap
@@ -0,0 +1,11 @@
+
+min min # for ASCII
+nmin min # for ASCII
+goth goth # for ASCII
+ngoth goth # for ASCII
+dm min # for NTT
+dg goth # for NTT
+
+mgoth maru
+fmin fmin
+fgoth goth
diff --git a/japanese/xdvik/pkg-comment b/japanese/xdvik/pkg-comment
new file mode 100644
index 000000000000..650692eba9be
--- /dev/null
+++ b/japanese/xdvik/pkg-comment
@@ -0,0 +1 @@
+DVI Previewer(kpathsearch) for X. + jp-patch
diff --git a/japanese/xdvik/pkg-descr b/japanese/xdvik/pkg-descr
new file mode 100644
index 000000000000..e4addccc9485
--- /dev/null
+++ b/japanese/xdvik/pkg-descr
@@ -0,0 +1,14 @@
+
+Japanese dvi file previewer for X.
+(xdvik-20a + xdvik20a-j1.1p15)
+
+ 1. support dvi file of ASCII Japanese TeX(and pTeX) and NTT jTeX.
+ 2. require METAFONT and VFlib(vector font library).
+ 3. require kpathsearch libraries version 3.0 (search library)
+ 4. support Color dvi file.
+ (but not support color anti-aliasing.so this mode is ugly preview!)
+ 5. built-in EPS preview(need to any ghostscript)
+ 6. print out from this program(use lpr).
+
+- Kentarou Inagaki
+JBD01226@niftyserve.ne.jp
diff --git a/japanese/xdvik/pkg-plist b/japanese/xdvik/pkg-plist
new file mode 100644
index 000000000000..63fa6a1efe1a
--- /dev/null
+++ b/japanese/xdvik/pkg-plist
@@ -0,0 +1,21 @@
+bin/xdvi
+bin/gsftopk
+man/man1/gsftopk.1.gz
+man/man1/xdvi.1.gz
+share/texmf/dvips/render.ps
+share/texmf/xdvi/vfontmap
+share/texmf/xdvi/xdvipaper.dvi2ps-j
+share/texmf/xdvi/xdvipaper.dvips
+share/texmf/xdvi/xdvipaper.jdvi2kps
+share/doc/xdvi/README
+share/doc/xdvi/README.jp-patch
+share/doc/xdvi/README.markpage+toc+printdvi
+share/doc/xdvi/README.markpage+toc+printdvi+paper
+share/doc/xdvi/README.tasai-ussy
+share/doc/xdvi/README.xdvik18f-j1.0.patch
+share/doc/xdvi/README.xdvik18f-j1.1p5.patch
+share/doc/xdvi/README.xdvik20a-j1.1.patch
+share/doc/xdvi/ChangeLog
+share/doc/xdvi/ChangeLog.xdvik20a-j1.1
+@dirrm share/texmf/xdvi
+@dirrm share/doc/xdvi