Initial import of ja-vfxdvik-22.15 package.
ja-vfxdvik is an extension of xdvik with Japanese support by vflib. This package was provided and posted to tech-pkg-ja mailing list by ORI Manabu, and modified slightly by me.
This commit is contained in:
parent
01a1bbfb17
commit
6b51176038
9 changed files with 237 additions and 0 deletions
67
japanese/vfxdvik/Makefile
Normal file
67
japanese/vfxdvik/Makefile
Normal file
|
@ -0,0 +1,67 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2001/06/06 05:13:48 kei Exp $
|
||||
#
|
||||
|
||||
DISTNAME= xdvik-22.15
|
||||
PKGNAME= ja-vfxdvik-22.15
|
||||
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:../../japanese/texfamily
|
||||
DEPENDS+= ja-vflib-lib-*:../../japanese/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"
|
11
japanese/vfxdvik/distinfo
Normal file
11
japanese/vfxdvik/distinfo
Normal file
|
@ -0,0 +1,11 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2001/06/06 05:13:48 kei 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
|
96
japanese/vfxdvik/patches/patch-ac
Normal file
96
japanese/vfxdvik/patches/patch-ac
Normal file
|
@ -0,0 +1,96 @@
|
|||
$NetBSD: patch-ac,v 1.1.1.1 2001/06/06 05:13:49 kei 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
|
13
japanese/vfxdvik/patches/patch-ad
Normal file
13
japanese/vfxdvik/patches/patch-ad
Normal file
|
@ -0,0 +1,13 @@
|
|||
$NetBSD: patch-ad,v 1.1.1.1 2001/06/06 05:13:49 kei 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
|
16
japanese/vfxdvik/patches/patch-ae
Normal file
16
japanese/vfxdvik/patches/patch-ae
Normal file
|
@ -0,0 +1,16 @@
|
|||
$NetBSD: patch-ae,v 1.1.1.1 2001/06/06 05:13:49 kei 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'
|
10
japanese/vfxdvik/patches/patch-af
Normal file
10
japanese/vfxdvik/patches/patch-af
Normal file
|
@ -0,0 +1,10 @@
|
|||
$NetBSD: patch-af,v 1.1.1.1 2001/06/06 05:13:49 kei 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+"$@"}
|
13
japanese/vfxdvik/patches/patch-ag
Normal file
13
japanese/vfxdvik/patches/patch-ag
Normal file
|
@ -0,0 +1,13 @@
|
|||
$NetBSD: patch-ag,v 1.1.1.1 2001/06/06 05:13:49 kei 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)
|
1
japanese/vfxdvik/pkg/DESCR
Normal file
1
japanese/vfxdvik/pkg/DESCR
Normal file
|
@ -0,0 +1 @@
|
|||
ja-vfxdvik is an extension of xdvik with Japanese support by vflib.
|
10
japanese/vfxdvik/pkg/PLIST
Normal file
10
japanese/vfxdvik/pkg/PLIST
Normal file
|
@ -0,0 +1,10 @@
|
|||
@comment $NetBSD: PLIST,v 1.1.1.1 2001/06/06 05:13:48 kei 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
|
Loading…
Reference in a new issue