summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print/Makefile1
-rw-r--r--print/dvipdfm/Makefile48
-rw-r--r--print/dvipdfm/distinfo1
-rw-r--r--print/dvipdfm/pkg-comment1
-rw-r--r--print/dvipdfm/pkg-descr13
-rw-r--r--print/dvipdfm/pkg-message24
-rw-r--r--print/dvipdfm/pkg-plist26
7 files changed, 114 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile
index 5cf98a9d14fa..9717c1df91ec 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -23,6 +23,7 @@
SUBDIR += detex
SUBDIR += dvi2tty
SUBDIR += dvi2xx
+ SUBDIR += dvipdfm
SUBDIR += dvips
SUBDIR += dvips2ascii
SUBDIR += dviselect
diff --git a/print/dvipdfm/Makefile b/print/dvipdfm/Makefile
new file mode 100644
index 000000000000..2f2f80635656
--- /dev/null
+++ b/print/dvipdfm/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: dvipdfm
+# Version required: 0.12.7
+# Date created: 16 January 2000
+# Whom: Stephen Montgomery-Smith <stephen@math.missouri.edu>
+#
+# $FreeBSD$
+#
+
+DISTNAME= dvipdfm-0.12.7
+CATEGORIES= print
+MASTER_SITES= http://odo.kettering.edu/dvipdfm/
+
+MAINTAINER= stephen@math.missouri.edu
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/libkpathsea.a:${PORTSDIR}/print/teTeX \
+ ${LOCALBASE}/lib/libpng.a:${PORTSDIR}/graphics/png
+
+RUN_DEPENDS= kpsewhich:${PORTSDIR}/print/teTeX
+
+WRKSRC= ${WRKDIR}/dvipdfm
+
+GNU_CONFIGURE= yes
+CONFIGURE_ENV+= CPPFLAGS=-I${PREFIX}/include \
+ 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} ${MASTERDIR}/pkg/MESSAGE
+
+.include <bsd.port.mk>
diff --git a/print/dvipdfm/distinfo b/print/dvipdfm/distinfo
new file mode 100644
index 000000000000..b2f0d6910831
--- /dev/null
+++ b/print/dvipdfm/distinfo
@@ -0,0 +1 @@
+MD5 (dvipdfm-0.12.7.tar.gz) = b056a7814cdb8fb38300e7436ece97b5
diff --git a/print/dvipdfm/pkg-comment b/print/dvipdfm/pkg-comment
new file mode 100644
index 000000000000..5b23e6066a76
--- /dev/null
+++ b/print/dvipdfm/pkg-comment
@@ -0,0 +1 @@
+Convert DVI files to PDF files
diff --git a/print/dvipdfm/pkg-descr b/print/dvipdfm/pkg-descr
new file mode 100644
index 000000000000..ab4ab5a22cc9
--- /dev/null
+++ b/print/dvipdfm/pkg-descr
@@ -0,0 +1,13 @@
+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 teTeX, which it will load
+as a dependency. teTeX is incompatible with other versions of
+tex (such as that from /usr/ports/print/tex) and latex, etc,
+and these should be deinstalled first.
+
+WWW: http://odo.kettering.edu/dvipdfm/
+
+Stephen Montgomery-Smith
+stephen@math.missouri.edu
diff --git a/print/dvipdfm/pkg-message b/print/dvipdfm/pkg-message
new file mode 100644
index 000000000000..55fc8b918981
--- /dev/null
+++ b/print/dvipdfm/pkg-message
@@ -0,0 +1,24 @@
+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. If you want to use hyperref
+with "breaklinks" support, you may want to replace hdvipdfm.def
+with the version in this distribution.
+
+The files dvipdfm.def and hdvipdfm.def from the latest dvipdfm
+distribution may be found in /usr/local/share/dvipdfm. The files
+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
+
+IMPORTANT: If you installed this from the packages rather than the
+ports, you MUST run mktexlsr as root.
diff --git a/print/dvipdfm/pkg-plist b/print/dvipdfm/pkg-plist
new file mode 100644
index 000000000000..495874b9d40e
--- /dev/null
+++ b/print/dvipdfm/pkg-plist
@@ -0,0 +1,26 @@
+bin/dvipdfm
+bin/dvipdft
+bin/ebb
+share/dvipdfm/dvipdfm.def
+share/dvipdfm/hdvipdfm.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/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
+@dirrm share/dvipdfm
+@dirrm share/texmf/doc/dvipdfm
+@dirrm share/texmf/dvipdfm/base
+@dirrm share/texmf/dvipdfm/config
+@dirrm share/texmf/dvipdfm