summaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-09-03 17:50:54 +0000
committerknu <knu@FreeBSD.org>2001-09-03 17:50:54 +0000
commit52f98537b6b7f85458292e41b4cf2d89a371b29a (patch)
tree6aa71990fe55337a9aa686e9c5688bb6a6415f74 /japanese
parentdc3747899497cd2af2fea9b50704c5307f7ca24c (diff)
downloadFreeBSD-ports-52f98537b6b7f85458292e41b4cf2d89a371b29a.zip
FreeBSD-ports-52f98537b6b7f85458292e41b4cf2d89a371b29a.tar.gz
Add ja-dvipdfm, a DVI to PDF converter (Japanese version).
PR: ports/28809 Submitted by: HIRATA Yasuyuki <yasu@asuka.net>
Diffstat (limited to 'japanese')
-rw-r--r--japanese/Makefile1
-rw-r--r--japanese/dvipdfm/Makefile55
-rw-r--r--japanese/dvipdfm/distinfo2
-rw-r--r--japanese/dvipdfm/pkg-comment1
-rw-r--r--japanese/dvipdfm/pkg-descr15
-rw-r--r--japanese/dvipdfm/pkg-message22
-rw-r--r--japanese/dvipdfm/pkg-plist29
7 files changed, 125 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile
index 7f493b6..e88cfed 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -40,6 +40,7 @@
SUBDIR += dvi2dvi
SUBDIR += dvi2ps
SUBDIR += dvi2tty
+ SUBDIR += dvipdfm
SUBDIR += dvipsk
SUBDIR += dvipsk-vflib
SUBDIR += e2ps
diff --git a/japanese/dvipdfm/Makefile b/japanese/dvipdfm/Makefile
new file mode 100644
index 0000000..694a436
--- /dev/null
+++ b/japanese/dvipdfm/Makefile
@@ -0,0 +1,55 @@
+# New ports collection makefile for: ja-dvipdfm
+# Date created: 07 July 2001
+# Whom: HIRATA Yasuyuki <yasu@asuka.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dvipdfm
+PORTVERSION= 0.13.2c
+CATEGORIES= japanese print
+MASTER_SITES= http://gaspra.kettering.edu/dvipdfm/
+
+PATCH_SITES= http://hamilcar.phys.kyushu-u.ac.jp/~hirata/dvipdfm/distfiles/
+PATCHFILES= ${DISTNAME}-jpatch-p1.diff.gz
+
+PATCH_DIST_STRIP= -p1
+
+MAINTAINER= yasu@asuka.net
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/libkpathsea.a:${PORTSDIR}/japanese/ptex-common \
+ ${LOCALBASE}/share/doc/cmpsfont/READ.ME:${PORTSDIR}/print/cmpsfont
+LIB_DEPENDS= png:${PORTSDIR}/graphics/png
+RUN_DEPENDS= kpsewhich:${PORTSDIR}/japanese/ptex-common \
+ ${LOCALBASE}/share/doc/cmpsfont/READ.ME:${PORTSDIR}/print/cmpsfont
+
+MAN1= dvipdfm.1
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+GNU_CONFIGURE= yes
+CONFIGURE_ENV+= CPPFLAGS="${CXXFLAGS} -I${PREFIX}/include" \
+ CFLAGS="${CFLAGS} -I${PREFIX}/include" \
+ LDFLAGS=-L${PREFIX}/lib
+CONFIGURE_ARGS+= --datadir=${PREFIX}/share
+
+post-install:
+ strip ${PREFIX}/bin/dvipdfm
+ strip ${PREFIX}/bin/ebb
+ mktexlsr
+ ${MKDIR} ${PREFIX}/share/dvipdfm
+ ${INSTALL_DATA} ${WRKSRC}/latex-support/dvipdfm.def ${PREFIX}/share/dvipdfm
+# ${INSTALL_DATA} ${WRKSRC}/latex-support/hdvipdfm.def ${PREFIX}/share/dvipdfm
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/texmf/doc/dvipdfm
+ ${INSTALL_DATA} ${WRKSRC}/doc/dvipdfm.tex ${PREFIX}/share/texmf/doc/dvipdfm
+ ${INSTALL_DATA} ${WRKSRC}/doc/mwicks.bb ${PREFIX}/share/texmf/doc/dvipdfm
+ ${INSTALL_DATA} ${WRKSRC}/doc/mwicks.jpeg ${PREFIX}/share/texmf/doc/dvipdfm
+ ${INSTALL_DATA} ${WRKSRC}/doc/transistor.bb ${PREFIX}/share/texmf/doc/dvipdfm
+ ${INSTALL_DATA} ${WRKSRC}/doc/transistor.eps ${PREFIX}/share/texmf/doc/dvipdfm
+ ${INSTALL_DATA} ${WRKSRC}/doc/transistor.fig ${PREFIX}/share/texmf/doc/dvipdfm
+ ${INSTALL_DATA} ${WRKSRC}/doc/transistor.pdf ${PREFIX}/share/texmf/doc/dvipdfm
+ ( cd ${PREFIX}/share/texmf/doc/dvipdfm ; tex dvipdfm ; ${PREFIX}/bin/dvipdfm dvipdfm ; ${RM} dvipdfm.log dvipdfm.dvi )
+.endif
+ ${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/japanese/dvipdfm/distinfo b/japanese/dvipdfm/distinfo
new file mode 100644
index 0000000..a2847c0
--- /dev/null
+++ b/japanese/dvipdfm/distinfo
@@ -0,0 +1,2 @@
+MD5 (dvipdfm-0.13.2c.tar.gz) = 82c2113261fad5c7f48d96c4515b731b
+MD5 (dvipdfm-0.13.2c-jpatch-p1.diff.gz) = e5a0aae41f2548e838efe36a2107a24b
diff --git a/japanese/dvipdfm/pkg-comment b/japanese/dvipdfm/pkg-comment
new file mode 100644
index 0000000..903189b
--- /dev/null
+++ b/japanese/dvipdfm/pkg-comment
@@ -0,0 +1 @@
+DVI to PDF converter (Japanese version)
diff --git a/japanese/dvipdfm/pkg-descr b/japanese/dvipdfm/pkg-descr
new file mode 100644
index 0000000..48aceaf
--- /dev/null
+++ b/japanese/dvipdfm/pkg-descr
@@ -0,0 +1,15 @@
+Dvipdfm is a DVI to PDF translator, developed by Mark A. Wicks.
+It tends to produce nicer output than by using, say, dvips
+followed by ps2pdf.
+
+This port is designed to be used with pTeX and cmpsfont, which it
+will load as a dependency.
+
+WWW: http://gaspra.kettering.edu/dvipdfm/
+ http://hamilcar.phys.kyushu-u.ac.jp/~hirata/dvipdfm/ (Japanese patch)
+
+(japanese/dvipdfm is based on print/dvipdfm written by Stephen
+Montgomery-Smith.)
+
+----
+HIRATA Yasuyuki <yasu@asuka.net>
diff --git a/japanese/dvipdfm/pkg-message b/japanese/dvipdfm/pkg-message
new file mode 100644
index 0000000..1310347
--- /dev/null
+++ b/japanese/dvipdfm/pkg-message
@@ -0,0 +1,22 @@
+These are some instructions that came with dvipdfm. I never
+follow them myself, but I will tell you about them in case they
+are useful to you.
+
+Replace the dvipdfm.def in your LaTex distribution with the one
+provided by the latest dvipdfm distribution. This is necessary for
+.eps and .png file support. The install script will not do this
+for you because I do not believe it is healthy to overwrite a file
+supplied by a different distribution.
+
+The file dvipdfm.def from the latest dvipdfm distribution may be
+found in /usr/local/share/dvipdfm. The file that should to be
+replaced may be found in /usr/local/share/texmf/tex/latex/graphics.
+
+Edit the config script in the texmf/dvipdfm directory and change to
+suit your needs. An important configuration option is to set the
+helper application for converting PS/EPS files to PDF format. By
+default this is setup for GhostScript. If the idea
+of executing running a command in a shell scares you,
+comment out the line with the command string. Alternatively,
+if you really want to disable it, comment the #define HAVE_SYSTEM
+in config.h
diff --git a/japanese/dvipdfm/pkg-plist b/japanese/dvipdfm/pkg-plist
new file mode 100644
index 0000000..6b0a360
--- /dev/null
+++ b/japanese/dvipdfm/pkg-plist
@@ -0,0 +1,29 @@
+bin/dvipdfm
+bin/dvipdft
+bin/ebb
+share/dvipdfm/dvipdfm.def
+share/texmf/doc/dvipdfm/dvipdfm.pdf
+share/texmf/doc/dvipdfm/dvipdfm.tex
+share/texmf/doc/dvipdfm/mwicks.bb
+share/texmf/doc/dvipdfm/mwicks.jpeg
+share/texmf/doc/dvipdfm/transistor.bb
+share/texmf/doc/dvipdfm/transistor.eps
+share/texmf/doc/dvipdfm/transistor.fig
+share/texmf/doc/dvipdfm/transistor.pdf
+share/texmf/dvipdfm/base/ot1.enc
+share/texmf/dvipdfm/base/ot1alt.enc
+share/texmf/dvipdfm/base/ot1r.enc
+share/texmf/dvipdfm/config/cmr.map
+share/texmf/dvipdfm/config/config
+share/texmf/dvipdfm/config/lw35urw.map
+share/texmf/dvipdfm/config/lw35urwa.map
+share/texmf/dvipdfm/config/psbase14.map
+share/texmf/dvipdfm/config/t1fonts.map
+share/texmf/dvipdfm/config/cid.map
+@exec %D/bin/mktexlsr
+@unexec %D/bin/mktexlsr
+@dirrm share/dvipdfm
+@dirrm share/texmf/doc/dvipdfm
+@dirrm share/texmf/dvipdfm/base
+@dirrm share/texmf/dvipdfm/config
+@dirrm share/texmf/dvipdfm
OpenPOWER on IntegriCloud