1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Remove dvi2ps because it is no longer supported and japanese/dvipsk

can be used as an alternative.
This commit is contained in:
Hiroki Sato 2006-09-23 10:17:51 +00:00
parent 96e0a3a57c
commit 645816b394
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=173642
12 changed files with 1 additions and 441 deletions

1
MOVED
View File

@ -2468,3 +2468,4 @@ net-im/jabber-aim||2006-09-18|This transport is deprecated, use net-im/jabber-py
databases/firebird-devel|databases/firebird2-server|2006-09-18|firebird-devel is obsolete, use firebird2-server instead
audio/wmtune||2006-09-21|Has expired: mastersite disappeared, no longer maintained by author
palm/pilot-link-devel||2006-09-22|no longer needed, removed
japanese/dvi2ps|japanese/dvipsk|2006-09-23|Removed because no longer supported and dvipsk has enough compatibility

View File

@ -38,7 +38,6 @@
SUBDIR += diclookup-mule
SUBDIR += drpl
SUBDIR += dvi2dvi
SUBDIR += dvi2ps
SUBDIR += dvi2tty
SUBDIR += dvipdfm
SUBDIR += dvipsk

View File

@ -1,54 +0,0 @@
# New ports collection makefile for: jp-dvi2ps
# Date created: 15 Sep 1996
# Whom: Mita Yoshio <mita@jp.FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= dvi2ps
PORTVERSION= 3.2
PORTREVISION= 1
CATEGORIES= japanese print
MASTER_SITES= ftp://ftp.math.s.chiba-u.ac.jp/tex/
DISTNAME= ${PORTNAME}-${PORTVERSION}j
MAINTAINER= hrs@FreeBSD.org
COMMENT= DVI to PostScript converter Japanese version
BUILD_DEPENDS= ${LOCALBASE}/lib/libkpathsea.a:${PORTSDIR}/japanese/ptex-base
LIB_DEPENDS= VFlib2.24:${PORTSDIR}/japanese/vflib
MAN1= dvi2ps.1
MANLANG= "" ja
IGNORE= is obsolete and no longer supported with teTeX 3.0
DEPRECATED= ${IGNORE}
EXPIRATION_DATE=2006-12-01
.include <bsd.port.pre.mk>
post-patch:
@(cd ${WRKSRC}; make newlib)
post-build:
@(cd ${WRKSRC}/tools; \
cc -O -o nup nup.c; \
cc -O -o texfix texfix.c\
)
post-install:
@(cd ${WRKSRC}; \
make install-lib; \
${CP} -R doc ${PREFIX}/lib/dvi2ps/ ;\
${INSTALL_DATA} ${WRKSRC}/man/dvi2ps.man ${PREFIX}/man/man1/dvi2ps.1 ;\
${INSTALL_DATA} ${WRKSRC}/man/dvi2ps.jman \
${PREFIX}/man/ja/man1/dvi2ps.1 ;\
${RM} -f ${PREFIX}/lib/dvi2ps/doc/dvi2ps.jman ;\
${INSTALL_SCRIPT} tools/fontlink ${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 ;\
)
@${SH} ${PKGREQ} ${PKGNAME} INSTALL
.include <bsd.port.post.mk>

View File

@ -1,3 +0,0 @@
MD5 (dvi2ps-3.2j.tar.gz) = 3fed7be3c7992100689f6a0d03a92e17
SHA256 (dvi2ps-3.2j.tar.gz) = 3e7b06bf75250f9c8e521ddd85793fec94e6c95b8c0f1f83740e1ba1f36abe53
SIZE (dvi2ps-3.2j.tar.gz) = 171083

View File

@ -1,78 +0,0 @@
--- Makefile.orig Mon Sep 11 18:16:11 2000
+++ Makefile Tue May 18 03:21:53 2004
@@ -2,7 +2,7 @@
# your site:
#
# BINAREA and DVI2LIB are relative to PREFIX
-PREFIX=${DESTDIR}/usr/local
+PREFIX?=/usr/local
# where dvi2ps is installed
BINAREA=${PREFIX}/bin
#
@@ -46,7 +46,7 @@
# FREETYPE -- FTLIB, FTINC
# VFLIB -- FTLIB, FTINC, VFLIB, VFLIBINC
FTLIB = -L${PREFIX}/lib -lttf
-FTINC = -I${PREFIX}/include/freetype
+FTINC = -I${PREFIX}/include/freetype1/freetype
VFLIB = -L${PREFIX}/lib -lVFlib2
VFLIBINC = -I${PREFIX}/include
@@ -57,7 +57,7 @@
#
CC=gcc
#
-CCFLAGS = -g -O -DPOSIX
+CCFLAGS = -g -O -DPOSIX -DHAVE_PROTOTYPES
#CCFLAGS = -O # SUNOS 4.X etc ...
#CCFLAGS = -O -DPOSIX # NetBSD FreeBSD (gcc 2.X), Linux
#CCFLAGS = -O -DMSDOS -DPOSIX # DJGCC (gcc 2.X)
@@ -74,7 +74,7 @@
# You don't have to change the definition variables in the folllowing.
#
FONTLIB = ${VFLIB} ${FTLIB}
-CFLAGS = ${CCFLAGS} ${FONTF} ${KPSEINC}
+CFLAGS+= ${CCFLAGS} ${FONTF} ${KPSEINC}
CNFCFLAGS = ${CFLAGS} -DDVI2PATH=\"${DVI2PATH}\" \
-DDVI2LIB=\"${DVI2LIB}\" -DFONTDESC=\"//${FONTDESC}\" \
-DRESOLUTION=${RESOLUTION} -DMFMODE=\"${MFMODE}\" \
@@ -151,32 +151,32 @@
${INSTALL} -c -s -m 755 dvi2ps ${BINAREA}/dvi2ps
install-header: ${PSHEADERS} lib/dvi2.ps
- -mkdir ${DVI2LIB}
- -mkdir ${DVI2HEADERS}
+ -mkdir -p ${DVI2LIB}
+ -mkdir -p ${DVI2HEADERS}
cp -p ${PSHEADERS} ${DVI2HEADERS}
cp -p lib/dvi2.ps ${DVI2LIB}
chmod -R a+r ${DVI2HEADERS} ${DVI2LIB}/dvi2.ps
install-lib: ${PSHEADERS}
- -mkdir ${DVI2LIB}
+ -mkdir -p ${DVI2LIB}
cp -pr lib/* ${DVI2LIB}
chmod -R a+r ${DVI2LIB}
lib/dvi2.ps: ${HDR}/dvi2.ps ${HDR}/special.ps
cat ${HDR}/dvi2.ps ${HDR}/special.ps > lib/dvi2.ps
${HDR}/dvi2.ps: dvi2.psdoc
- -mkdir lib ${HDR}
+ -mkdir -p lib ${HDR}
./tools/psstrip < dvi2.psdoc | \
sed -e s/'##XCOORD##'/${LEFTMARGIN}/ -e s/'##YCOORD##'/${TOPMARGIN}/ \
> ${HDR}/dvi2.ps
${HDR}/special.ps: special.psdoc
- -mkdir lib ${HDR}
+ -mkdir -p lib ${HDR}
./tools/psstrip < special.psdoc > ${HDR}/special.ps
${HDR}/psifont.ps: psifont.psdoc
- -mkdir lib ${HDR}
+ -mkdir -p lib ${HDR}
./tools/psstrip < psifont.psdoc > ${HDR}/psifont.ps
${HDR}/color.ps: color.psdoc
- -mkdir lib ${HDR}
+ -mkdir -p lib ${HDR}
./tools/psstrip < color.psdoc > ${HDR}/color.ps
install-man:

View File

@ -1,65 +0,0 @@
--- /dev/null Sat May 12 10:56:25 2001
+++ lib/fontdesc Sat May 12 13:00:38 2001
@@ -0,0 +1,62 @@
+#
+# 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>
+# May 12 2001 MITA Yoshio <mita@FreeBSD.org>
+
+# change RESOLUTION number according to your printer resolution!!!
+define RESOLUTION 300
+resolution $RESOLUTION
+
+# ASCII pLaTeX2e related definitions
+# copied from ./configk and modified.
+
+define tmf /usr/local/share/texmf/fonts
+define enc /usr/local/share/texmf/dvips/base/
+#cconvdir cconv
+vfontcap /usr/local/lib/VFlib/2.25.2/vfontcap
+
+# Old LaTeX (version 2.09 aka NTT-jTeX 1.52 and ASCII pTeX 1.7) related defs.
+
+define f /usr/local/lib/fonts
+define af /usr/local/share/tex/jfonts/jfms
+define nsf /usr/local/share/tex/jfonts
+
+# Header file for PostScript
+include headers/dvi2.ps
+
+#################### NTT jTeX ####################
+# 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
+
+#################### ASCII pTeX / pLaTeX2e ####################
+# First, convert pTeX dvi -> built-in kanji dvi by virtual font
+font jvf * 0 $tmf/vf//makejvf/
+# then, use built-in kanji
+font jfm * 0 $af/%f.tfm
+font jfm * 0 $tmf/tfm/makejvf//
+map rml JSNR Ryumin-Light-H
+map gbm JSNR GothicBBB-Medium-H
+map rmlv JSNR Ryumin-Light-V
+map gbmv JSNR GothicBBB-Medium-V
+map ryumin-l JSNR Ryumin-Light-H
+map gtbbb-m JSNR GothicBBB-Medium-H
+map ryumin-l-v JSNR Ryumin-Light-V
+map gtbbb-m-v JSNR GothicBBB-Medium-V
+
+#################### Roman characters ####################
+# For Roman character, try searching pk fonts (pkfonts?00-1.0) at first
+font pk * 4 /usr/local/lib/fonts/pk$RESOLUTION/%f.%mpk
+
+# if not, Try automatically generated pkfonts.
+font pk * 4 /var/tmp/texfonts/pk//
+
+# Compatibility with times.sty of LaTeX2e (ja-ptex- package)
+# You can use Times-Roman font in LaTeX by putting one line in TeX source file:
+# \usepackage{times}
+# For your info: To preview DVI file with times font, you should use
+# ja-vfxdvi300-17 package for now (May 2001).
+fontdesc fonts$kpse/psfonts-8r

View File

@ -1,33 +0,0 @@
--- run.c.orig Fri May 11 00:08:14 2001
+++ run.c Fri May 11 00:07:26 2001
@@ -30,6 +30,9 @@
char *tcp, *tcp1; /* temporary character pointers */
char *tmp;
int ch;
+#ifdef __FreeBSD__
+ int tmpid; /* FreeBSD uses mkstemp instead of mktemp */
+#endif
extern BOOLEAN epsf;
for (argind = 1; argind < argc; argind++) {
@@ -206,11 +209,20 @@
((tmp = getenv("TEMP")) == NULL))
tmp = TMP;
(void)strcpy(dvifilename, tmp);
+#ifdef __FreeBSD__
+ (void)strcat(dvifilename, DVITEMPLATE);
+ (void)strcat(dvifilename,".dvi");
+ if((tmpid = mkstemps (dvifilename, 4)) == -1)
+ Fatal("can't create DVI file for stdin");
+ dvifp = fdopen(tmpid, "w+");
+#else
+
(void)mktemp(strcat(dvifilename, DVITEMPLATE));
(void)strcpy(rootname, dvifilename); /* not used now */
(void)strcat(dvifilename, ".dvi");
if ((dvifp = BINARYWOPEN(dvifilename)) == NULL)
Fatal("can't create DVI file for stdin");
+#endif
stdindvi = TRUE;
#if !defined(MSDOS) && !defined(WIN32)
(void)signal(SIGHUP, sigabort);

View File

@ -1,20 +0,0 @@
--- tools/texfix.c.orig Fri Sep 25 12:35:18 1992
+++ tools/texfix.c Sat Feb 15 01:00:24 2003
@@ -35,7 +35,7 @@
char line[BUFSIZ], line2[BUFSIZ];
char tmpstr[] = "/tmp/tfXXXXXX";
char *tmpfn;
-int cleanup();
+void cleanup();
main()
{
@@ -111,7 +111,7 @@
return 1;
}
-cleanup()
+void cleanup()
{
unlink(tmpfn);
exit(0);

View File

@ -1,24 +0,0 @@
--- defs.h.orig Tue May 18 03:17:26 2004
+++ defs.h Tue May 18 03:15:26 2004
@@ -51,21 +51,11 @@
char *realloc();
char *calloc();
int free();
-#ifdef ANSI
-char *sprintf(char *, const char *, ...);
-#else
-char *sprintf();
-#endif
#else /* POSIX */
void *malloc();
void *realloc();
void *calloc();
void free();
-#ifdef ANSI
-int sprintf(char *, const char *, ...);
-#else
-int sprintf();
-#endif
#endif
char *mktemp();
char *getenv();

View File

@ -1,14 +0,0 @@
DVI to PostScript converter.
A 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 pkfont package of appropreate resolution such as
pkfonts300-1.0, pkfonts600-1.0
- Default resolution is set to 300dpi in fontdesc file. You can
modify it according to your site, or override it by command line option:
dvi2ps -D RESOLUTION=(your resolution).
See /usr/local/lib/dvi2ps/doc/* files for customization.

View File

@ -1,140 +0,0 @@
bin/dvi2ps
bin/MakePK
bin/nup
bin/texfix
bin/psstrip
lib/dvi2ps/headers/color.ps
lib/dvi2ps/headers/psifont.ps
lib/dvi2ps/headers/special.ps
lib/dvi2ps/headers/dvi2.ps
lib/dvi2ps/dvi2.ps
lib/dvi2ps/fontsk/a2n
lib/dvi2ps/fontsk/vtex
lib/dvi2ps/fontsk/psfonts.ps
lib/dvi2ps/fontsk/psfonts-std
lib/dvi2ps/fontsk/psfonts-misc.map
lib/dvi2ps/fontsk/psfonts-0
lib/dvi2ps/fontsk/psfonts-8r.map
lib/dvi2ps/fontsk/psfonts
lib/dvi2ps/fontsk/psfonts-8r
lib/dvi2ps/fontsk/psfonts-std.map
lib/dvi2ps/fontsk/psfonts-0.map
lib/dvi2ps/fontsk/t1cm.map
lib/dvi2ps/fontsk/ntt-wada
lib/dvi2ps/fontsk/ntt-bitmap
lib/dvi2ps/fontsk/ntt-bikanji
lib/dvi2ps/fontsk/n2a
lib/dvi2ps/fontsk/muldecomp
lib/dvi2ps/fontsk/mul-bitmap
lib/dvi2ps/fontsk/generate
lib/dvi2ps/fontsk/asc-wadaz
lib/dvi2ps/fontsk/fonts-t1
lib/dvi2ps/fontsk/ntt-wadaz
lib/dvi2ps/fontsk/bikan-wada
lib/dvi2ps/fontsk/bikan-rsp
lib/dvi2ps/fontsk/bikan-mor2
lib/dvi2ps/fontsk/t1ams.map
lib/dvi2ps/fontsk/t1ams0.map
lib/dvi2ps/fontsk/mul-bikanji
lib/dvi2ps/fontsk/bikan-wadaz
lib/dvi2ps/fontsk/asc-wada
lib/dvi2ps/fontsk/asc-bitmap
lib/dvi2ps/fontsk/asc-bikanji
lib/dvi2ps/fontsk/vtex.ps
lib/dvi2ps/fontsk/nttdecomp
lib/dvi2ps/fontsk/fonts-bitmap
lib/dvi2ps/fonts/mul-bikanji
lib/dvi2ps/fonts/muldecomp
lib/dvi2ps/fonts/psfonts
lib/dvi2ps/fonts/asc-bikanji
lib/dvi2ps/fonts/ntt-bikanji
lib/dvi2ps/fonts/psfonts-8r
lib/dvi2ps/fonts/psfonts-0
lib/dvi2ps/fonts/psfonts.ps
lib/dvi2ps/fonts/fonts-t1
lib/dvi2ps/fonts/psfonts-std
lib/dvi2ps/fonts/t1ams.map
lib/dvi2ps/fonts/n2a
lib/dvi2ps/fonts/a2n
lib/dvi2ps/fonts/mul-bitmap
lib/dvi2ps/fonts/ntt-wadaz
lib/dvi2ps/fonts/psfonts-8r.map
lib/dvi2ps/fonts/psfonts-std.map
lib/dvi2ps/fonts/psfonts-misc.map
lib/dvi2ps/fonts/vtex.ps
lib/dvi2ps/fonts/vtex
lib/dvi2ps/fonts/psfonts-0.map
lib/dvi2ps/fonts/t1cm.map
lib/dvi2ps/fonts/generate
lib/dvi2ps/fonts/bikan-wadaz
lib/dvi2ps/fonts/bikan-wada
lib/dvi2ps/fonts/ntt-wada
lib/dvi2ps/fonts/asc-wada
lib/dvi2ps/fonts/asc-bitmap
lib/dvi2ps/fonts/ntt-bitmap
lib/dvi2ps/fonts/bikan-rsp
lib/dvi2ps/fonts/bikan-mor2
lib/dvi2ps/fonts/nttdecomp
lib/dvi2ps/fonts/asc-wadaz
lib/dvi2ps/fonts/fonts-bitmap
lib/dvi2ps/printer/RicohSP10
lib/dvi2ps/printer/LWII
lib/dvi2ps/printer/SPARC
lib/dvi2ps/printer/LW16
lib/dvi2ps/tombo.ps
lib/dvi2ps/oldfix.ps
lib/dvi2ps/old
lib/dvi2ps/multex
lib/dvi2ps/macfix.ps
lib/dvi2ps/header
lib/dvi2ps/fontdesc.orig
lib/dvi2ps/fontdesc
lib/dvi2ps/dvips.ps
lib/dvi2ps/defaulttray.ps
lib/dvi2ps/configk
lib/dvi2ps/config
lib/dvi2ps/bothside.ps
lib/dvi2ps/bmbi
lib/dvi2ps/bitmap
lib/dvi2ps/bitbk
lib/dvi2ps/bikant1
lib/dvi2ps/bikanji
lib/dvi2ps/bifont
lib/dvi2ps/SPARCptr
lib/dvi2ps/RicohSP10
lib/dvi2ps/LWIINTX-J
lib/dvi2ps/wadalabz
lib/dvi2ps/LW16-600J
lib/dvi2ps/wadalab
lib/dvi2ps/vtexe
lib/dvi2ps/tumble.ps
lib/dvi2ps/doc/vfontcap.add
lib/dvi2ps/doc/changes.doc
lib/dvi2ps/doc/fontdesc.doc
lib/dvi2ps/doc/lprdvi.doc
lib/dvi2ps/doc/history
lib/dvi2ps/doc/printers.doc
lib/dvi2ps/doc/install.doc
lib/dvi2ps/doc/psfiles.doc
lib/dvi2ps/doc/texfix.doc
lib/dvi2ps/doc/dvi2ps.doc
lib/dvi2ps/doc/lib.doc
lib/dvi2ps/doc/nup.doc
lib/dvi2ps/doc/report.doc
lib/dvi2ps/doc/special.doc
lib/dvi2ps/doc/psfonts.doc
lib/dvi2ps/doc/vfref.doc
lib/dvi2ps/doc/kanji.doc
lib/dvi2ps/doc/metafont.doc
lib/dvi2ps/doc/local.mf
lib/dvi2ps/doc/hints.doc
lib/dvi2ps/doc/QandA
lib/dvi2ps/doc/DOCS
lib/dvi2ps/doc/bugs.doc
lib/dvi2ps/fontlink
@dirrm lib/dvi2ps/headers
@dirrm lib/dvi2ps/fontsk
@dirrm lib/dvi2ps/fonts
@dirrm lib/dvi2ps/printer
@dirrm lib/dvi2ps/doc
@dirrm lib/dvi2ps

View File

@ -1,9 +0,0 @@
#!/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 customization *"
echo "**********************************************************"