summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2002-05-31 13:01:06 +0000
committerseb <seb@pkgsrc.org>2002-05-31 13:01:06 +0000
commit7630399254057dc231ad1ccb667a295d8663d890 (patch)
treea29b035c036fcf33b3bfa608f59016e48db05798 /print
parent861231d92671719a937d97791aeaec012e72896d (diff)
downloadpkgsrc-7630399254057dc231ad1ccb667a295d8663d890.tar.gz
Reimport of package ja-vfxdvik from japanese/vfxdvik into print/ja-vfxdvik.
This is part of the japanese category retirement. Pathnames to japanese/ adjusted.
Diffstat (limited to 'print')
-rw-r--r--print/ja-vfxdvik/DESCR1
-rw-r--r--print/ja-vfxdvik/Makefile68
-rw-r--r--print/ja-vfxdvik/PLIST10
-rw-r--r--print/ja-vfxdvik/distinfo11
-rw-r--r--print/ja-vfxdvik/patches/patch-ac96
-rw-r--r--print/ja-vfxdvik/patches/patch-ad13
-rw-r--r--print/ja-vfxdvik/patches/patch-ae16
-rw-r--r--print/ja-vfxdvik/patches/patch-af10
-rw-r--r--print/ja-vfxdvik/patches/patch-ag13
9 files changed, 238 insertions, 0 deletions
diff --git a/print/ja-vfxdvik/DESCR b/print/ja-vfxdvik/DESCR
new file mode 100644
index 00000000000..7a50642ef1d
--- /dev/null
+++ b/print/ja-vfxdvik/DESCR
@@ -0,0 +1 @@
+ja-vfxdvik is an extension of xdvik with Japanese support by vflib.
diff --git a/print/ja-vfxdvik/Makefile b/print/ja-vfxdvik/Makefile
new file mode 100644
index 00000000000..676de672df8
--- /dev/null
+++ b/print/ja-vfxdvik/Makefile
@@ -0,0 +1,68 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/05/31 13:01:06 seb Exp $
+#
+
+DISTNAME= xdvik-22.15
+PKGNAME= ja-vfxdvik-22.15
+PKGREVISION= 1
+CATEGORIES= japanese print
+MASTER_SITES= ftp://ftp.appi.keio.ac.jp/pub/xdvi/
+
+PATCH_SITES= ftp://ftp.appi.keio.ac.jp/pub/xdvi/
+PATCHFILES= xdvik-22.15-j1.04.patch.gz
+PATCH_DIST_ARGS=-d ${WRKSRC} --quiet -E -p1
+
+MAINTAINER= tech-pkg-ja@jp.netbsd.org
+HOMEPAGE= # no home page
+COMMENT= xdvik with vflib
+
+DEPENDS+= TeXfamily>=1.2.1:../../print/texfamily
+DEPENDS+= ja-vflib-lib-[0-9]*:../../print/ja-vflib-lib
+
+XDVI_DIR= ${WRKDIR}/${DISTNAME}/texk/xdvik
+
+USE_GMAKE= yes
+USE_X11= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--enable-local-texmf=texmf.local \
+ --without-texinfo \
+ --without-dialog \
+ --disable-multiplatform \
+ --enable-ipc \
+ --with-epsfwin \
+ --with-hp2627win \
+ --with-mftalkwin \
+ --with-x11 \
+ --with-system-wwwlib=yes \
+ --with-libwww-config=${LOCALBASE}/bin/libwww-config \
+ --with-system-pnglib \
+ --with-pnglib-libdir=${LOCALBASE}/lib \
+ --with-pnglib-include=${LOCALBASE}/include \
+ --with-system-zlib \
+ --enable-xdviprint=${LOCALBASE}/bin/vfxdviprint \
+ --enable-xdvietcdir=${LOCALBASE}/share/texmf.local/vfxdvi
+
+.include "../../mk/bsd.prefs.mk"
+.if defined(PAPERSIZE) && ${PAPERSIZE} == "A4"
+CONFIGURE_ARGS+=--enable-a4
+.endif
+
+.if ${OPSYS} != "SunOS"
+CONFIGURE_ARGS+=--enable-auto-core \
+ --with-zlib-libdir=/usr/lib \
+ --with-zlib-include=/usr/include
+.else
+CONFIGURE_ARGS+= --with-zlib-libdir=${LOCALBASE}/lib \
+ --with-zlib-include=${LOCALBASE}/include
+.endif
+
+CONFIGURE_ENV+= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
+ INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
+ INSTALL_DATA="${INSTALL_DATA}"
+
+do-build:
+ cd ${XDVI_DIR} && ${MAKE_PROGRAM}
+
+do-install:
+ cd ${XDVI_DIR} && ${MAKE_PROGRAM} install
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/print/ja-vfxdvik/PLIST b/print/ja-vfxdvik/PLIST
new file mode 100644
index 00000000000..c4257cb88da
--- /dev/null
+++ b/print/ja-vfxdvik/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/31 13:01:06 seb Exp $
+bin/vfxdvi.bin
+bin/vfxdvi
+bin/vfxdviprint
+man/man1/vfxdvi.1
+share/texmf.local/vfxdvi/vfontmap
+share/texmf.local/vfxdvi/xdvipaper.dvi2ps-j
+share/texmf.local/vfxdvi/xdvipaper.dvips
+share/texmf.local/vfxdvi/xdvipaper.jdvi2kps
+@dirrm share/texmf.local/vfxdvi
diff --git a/print/ja-vfxdvik/distinfo b/print/ja-vfxdvik/distinfo
new file mode 100644
index 00000000000..53643673ce0
--- /dev/null
+++ b/print/ja-vfxdvik/distinfo
@@ -0,0 +1,11 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/05/31 13:01:06 seb Exp $
+
+SHA1 (xdvik-22.15.tar.gz) = c453f43d60428bab08b4efddae0e882f5768c7cc
+Size (xdvik-22.15.tar.gz) = 1541496 bytes
+SHA1 (xdvik-22.15-j1.04.patch.gz) = 59667accf6497aabfbcba7a241c05a730c057a0d
+Size (xdvik-22.15-j1.04.patch.gz) = 133696 bytes
+SHA1 (patch-ac) = d117bec083069f98cfc419d717ba3878c2b94f40
+SHA1 (patch-ad) = 0931e15d67bd0ab3a24e3c436ce41cbd4ad2fcd5
+SHA1 (patch-ae) = ab7c26a017341467341d447753522cb66e0d0e52
+SHA1 (patch-af) = aebab7020f5507c3fc479810b43fd66deb0e56c4
+SHA1 (patch-ag) = c228a4a61e58bd79c5a7fbe443f7ef6c88272122
diff --git a/print/ja-vfxdvik/patches/patch-ac b/print/ja-vfxdvik/patches/patch-ac
new file mode 100644
index 00000000000..7962605f5f3
--- /dev/null
+++ b/print/ja-vfxdvik/patches/patch-ac
@@ -0,0 +1,96 @@
+$NetBSD: patch-ac,v 1.1.1.1 2002/05/31 13:01:06 seb Exp $
+
+--- texk/xdvik/Makefile.in.orig Wed May 30 22:11:44 2001
++++ texk/xdvik/Makefile.in Wed May 30 22:12:36 2001
+@@ -45,8 +45,9 @@
+ # -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 (some may not be present).
+ x_link = $(LDLIBWWW) $(x_ldflags) $(x_tool_libs) $(x_pre_libs) $(x_ext_lib) -lX11 $(x_extra_libs)
+
+-LDLIBWWW=@LDLIBWWW@
++LDLIBWWW=$(shell libwww-config --libs)
+ LIBWWWCPPFLAGS=@LIBWWWCPPFLAGS@
++#LIBWWWCPPFLAGS=$(shell libwww-config --cflags)
+ LIBWWWDEP=@LIBWWWDEP@
+ LIBWWWDIR = ../../libs/libwww
+ LIBWWWSRCDIR = $(srcdir)/../../libs/libwww
+@@ -69,13 +70,13 @@
+ paper.o tategaki.o vfontmap.o \
+ $(ALLOCA)
+
+-program = xdvi.bin
++program = vfxdvi.bin
+ programs = $(program)
+
+-default all: $(programs) xdvi.1 xdviprint
++default all: $(programs) vfxdvi.1 vfxdviprint
+
+-$(program): $(kpathsea) $(objects) $(LIBWWWDEP)
+- $(kpathsea_link) $(objects) $(x_link) $(VFLIB) $(LOADLIBES)
++$(program): $(kpathsea) $(objects)
++ $(link_command) $(objects) $(x_link) $(VFLIB) $(LOADLIBES)
+
+ squeeze: squeeze.o
+ $(link_command) squeeze.o $(LIBS) $(XLOADLIBES)
+@@ -83,10 +84,10 @@
+ psheader.c: psheader.txt squeeze
+ ./squeeze $(srcdir)/psheader.txt $@
+
+-xdvi.1: xdvi.man sedscript
++vfxdvi.1: xdvi.man sedscript
+ sed -f sedscript <$(srcdir)/xdvi.man >$@
+
+-xdviprint: Makefile xdviprint.sample
++vfxdviprint: Makefile xdviprint.sample
+ if test -x /usr/bin/nawk; then \
+ sed -e '/^## for @DVIFILTER@/,/^##/s/^# //' -e 's/awk/nawk/' \
+ -e "s,/usr/local/share/texmf/xdvi,$(XDVIETCDIR)," \
+@@ -102,9 +103,6 @@
+ $(SHELL) $(srcdir)/mksedscript $(srcdir) pkpath sizes vfpath \
+ figpath headerpath $(DEFS) $(prog_cflags) >$@
+
+-$(LIBWWWDIR)/libwww.a:
+- cd $(LIBWWWDIR); $(MAKE) $(makeargs) libwww.a
+-
+ # ac_include ../make/tkpathsea.mk
+
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -112,21 +110,21 @@
+ install: install-exec install-data
+ uninstall: uninstall-exec uninstall-data
+
+-install-exec: $(programs) xdviprint
++install-exec: $(programs) vfxdviprint
+ $(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir)
+ for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $(bindir) $$p; done
+- $(INSTALL_SCRIPT) $(srcdir)/xdvi-sh $(scriptdir)/xdvi
++ $(INSTALL_SCRIPT) $(srcdir)/xdvi-sh $(scriptdir)/vfxdvi
+ if test "@XDVIPRINTCMD@" != no; then \
+ if test ! -x @XDVIPRINTCMD@; then \
+- $(INSTALL_SCRIPT) $(srcdir)/xdviprint @XDVIPRINTCMD@; \
++ $(INSTALL_SCRIPT) $(srcdir)/vfxdviprint @XDVIPRINTCMD@; \
+ fi; \
+ fi
+ uninstall-exec:
+ for p in $(programs) xdvi; do rm -f $(bindir)/$$p; done
+
+-install-data: xdvi.1 vfontmap.sample
++install-data: vfxdvi.1 vfontmap.sample
+ $(SHELL) $(top_srcdir)/../mkinstalldirs $(mandir) $(psheaderdir) $(XDVIETCDIR)
+- $(INSTALL_DATA) xdvi.1 $(mandir)/xdvi.$(manext)
++ $(INSTALL_DATA) vfxdvi.1 $(mandir)/vfxdvi.$(manext)
+ if test ! -f $(XDVIETCDIR)/vfontmap; then \
+ $(INSTALL_DATA) vfontmap.sample $(XDVIETCDIR)/vfontmap; \
+ fi
+@@ -158,12 +156,8 @@
+ clean::
+ rm -f *.flc
+
+-# clean::
+-# test -f $(LIBWWWDIR)/Makefile && { cd $(LIBWWWDIR); $(MAKE) clean; } || true
+-
+ distclean::
+ rm -f psheader.c sedscript xdvi.1 *.flc
+-# test -f $(LIBWWWDIR)/Makefile && { cd $(LIBWWWDIR); $(MAKE) distclean; } || true
+
+ ac_include ../make/rdepend.mk
+ ac_include depend.make
diff --git a/print/ja-vfxdvik/patches/patch-ad b/print/ja-vfxdvik/patches/patch-ad
new file mode 100644
index 00000000000..e325605fe49
--- /dev/null
+++ b/print/ja-vfxdvik/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1.1.1 2002/05/31 13:01:06 seb Exp $
+
+--- texk/make/paths.mk.orig Mon Jan 11 00:42:53 1999
++++ texk/make/paths.mk Mon May 28 22:59:54 2001
+@@ -46,7 +46,7 @@
+ texmf = @texmfmain@
+
+ # The directory used by varfonts.
+-vartexfonts = /var/tmp/texfonts
++vartexfonts = /var/spool/texfonts
+
+ # Regular input files.
+ texinputdir = $(texmf)/tex
diff --git a/print/ja-vfxdvik/patches/patch-ae b/print/ja-vfxdvik/patches/patch-ae
new file mode 100644
index 00000000000..e111293bc96
--- /dev/null
+++ b/print/ja-vfxdvik/patches/patch-ae
@@ -0,0 +1,16 @@
+$NetBSD: patch-ae,v 1.1.1.1 2002/05/31 13:01:06 seb Exp $
+
+--- texk/xdvik/withenable.ac.orig Wed May 30 22:19:29 2001
++++ texk/xdvik/withenable.ac Wed May 30 22:24:24 2001
+@@ -57,9 +57,9 @@
+ esac)
+
+ # Check what command the user wants to use for print-out.
+-XDVIPRINTCMD='$(scriptdir)/xdviprint'
++XDVIPRINTCMD='$(scriptdir)/vfxdviprint'
+ XDVIPRINT_DEF="-DXDVIPRINTCMD=\\\"$XDVIPRINTCMD\\\""
+-AC_ARG_ENABLE(xdviprint,
++AC_ARG_ENABLE(vfxdviprint,
+ [ --enable-xdviprint=CMD set print-out script path or no; default /usr/local/bin/xdviprint],
+ [case $enableval in
+ yes) XDVIPRINTCMD='$(scriptdir)/xdviprint'
diff --git a/print/ja-vfxdvik/patches/patch-af b/print/ja-vfxdvik/patches/patch-af
new file mode 100644
index 00000000000..2e9f5487d92
--- /dev/null
+++ b/print/ja-vfxdvik/patches/patch-af
@@ -0,0 +1,10 @@
+$NetBSD: patch-af,v 1.1.1.1 2002/05/31 13:01:06 seb Exp $
+
+--- texk/xdvik/xdvi-sh.orig Wed May 30 21:56:50 2001
++++ texk/xdvik/xdvi-sh Wed May 30 21:56:30 2001
+@@ -45,4 +45,4 @@
+ XFILESEARCHPATH="$xdviapppath:${XFILESEARCHPATH-%D}"; export XFILESEARCHPATH
+ fi
+
+-exec xdvi.bin $NAMEOPT ${1+"$@"}
++exec vfxdvi.bin $NAMEOPT ${1+"$@"}
diff --git a/print/ja-vfxdvik/patches/patch-ag b/print/ja-vfxdvik/patches/patch-ag
new file mode 100644
index 00000000000..651673f136c
--- /dev/null
+++ b/print/ja-vfxdvik/patches/patch-ag
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1.1.1 2002/05/31 13:01:06 seb Exp $
+
+--- texk/make/common.mk.orig Wed May 30 21:58:55 2001
++++ texk/make/common.mk Wed May 30 21:58:01 2001
+@@ -42,7 +42,7 @@
+ kpathsea_dir = $(kpathsea_parent)/kpathsea
+ kpathsea_srcdir_parent = $(top_srcdir)/..
+ kpathsea_srcdir = $(kpathsea_srcdir_parent)/kpathsea
+-kpathsea = $(kpathsea_dir)/libkpathsea.la
++kpathsea = /usr/pkg/lib/libkpathsea.a
+
+ @MAINT@ifeq ($(CC), gcc)
+ @MAINT@XDEFS = -Wall -Wpointer-arith $(warn_more)