Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jan 2000 21:48:31 -0600 (CST)
From:      Stephen Montgomery-Smith <stephen@cauchy.math.missouri.edu>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/16150: new port for dvipdfm
Message-ID:  <200001170348.VAA42700@cauchy.math.missouri.edu>

next in thread | raw e-mail | index | archive | help

>Number:         16150
>Category:       ports
>Synopsis:       new port for dvipdfm
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 16 19:50:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Stephen Montgomery-Smith
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
University of Missouri
>Environment:


>Description:


>How-To-Repeat:


>Fix:
	
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	dvipdfm
#	dvipdfm/files
#	dvipdfm/files/md5
#	dvipdfm/patches
#	dvipdfm/pkg
#	dvipdfm/pkg/COMMENT
#	dvipdfm/pkg/DESCR
#	dvipdfm/pkg/PLIST
#	dvipdfm/pkg/MESSAGE
#	dvipdfm/Makefile
#
echo c - dvipdfm
mkdir -p dvipdfm > /dev/null 2>&1
echo c - dvipdfm/files
mkdir -p dvipdfm/files > /dev/null 2>&1
echo x - dvipdfm/files/md5
sed 's/^X//' >dvipdfm/files/md5 << 'END-of-dvipdfm/files/md5'
XMD5 (dvipdfm-0.12.7.tar.gz) = b056a7814cdb8fb38300e7436ece97b5
END-of-dvipdfm/files/md5
echo c - dvipdfm/patches
mkdir -p dvipdfm/patches > /dev/null 2>&1
echo c - dvipdfm/pkg
mkdir -p dvipdfm/pkg > /dev/null 2>&1
echo x - dvipdfm/pkg/COMMENT
sed 's/^X//' >dvipdfm/pkg/COMMENT << 'END-of-dvipdfm/pkg/COMMENT'
XConvert DVI files to PDF files
END-of-dvipdfm/pkg/COMMENT
echo x - dvipdfm/pkg/DESCR
sed 's/^X//' >dvipdfm/pkg/DESCR << 'END-of-dvipdfm/pkg/DESCR'
XDvipdfm is a DVI to PDF translator, developed by Mark A. Wicks.
XIt tends to produce nicer output than by using, say, dvips 
Xfollowed by ps2pdf.
X
XThis port is designed to be used with teTeX, which it will load
Xas a dependency.  teTeX is incompatible with other versions of
Xtex (such as that from /usr/ports/print/tex) and latex, etc,
Xand these should be deinstalled first.
X
XWWW: http://odo.kettering.edu/dvipdfm/
X
XStephen Montgomery-Smith
Xstephen@math.missouri.edu
END-of-dvipdfm/pkg/DESCR
echo x - dvipdfm/pkg/PLIST
sed 's/^X//' >dvipdfm/pkg/PLIST << 'END-of-dvipdfm/pkg/PLIST'
Xbin/dvipdfm
Xbin/ebb
Xbin/dvipdft
Xshare/texmf/dvipdfm/base/ot1.enc
Xshare/texmf/dvipdfm/base/ot1alt.enc
Xshare/texmf/dvipdfm/config/t1fonts.map
Xshare/texmf/dvipdfm/config/config
Xshare/texmf/dvipdfm/config/cmr.map
Xshare/texmf/dvipdfm/config/psbase14.map
Xshare/texmf/dvipdfm/config/lw35urw.map
Xshare/texmf/dvipdfm/config/lw35urwa.map
Xshare/dvipdfm/dvipdfm.def
Xshare/dvipdfm/hdvipdfm.def
Xshare/texmf/doc/dvipdfm/dvipdfm.tex
Xshare/texmf/doc/dvipdfm/mwicks.bb
Xshare/texmf/doc/dvipdfm/mwicks.jpeg
Xshare/texmf/doc/dvipdfm/transistor.bb
Xshare/texmf/doc/dvipdfm/transistor.eps
Xshare/texmf/doc/dvipdfm/transistor.fig
Xshare/texmf/doc/dvipdfm/transistor.pdf
Xshare/texmf/doc/dvipdfm/dvipdfm.pdf
X@dirrm share/texmf/dvipdfm/base
X@dirrm share/texmf/dvipdfm/config
X@dirrm share/texmf/dvipdfm
X@dirrm share/dvipdfm
X@dirrm share/texmf/doc/dvipdfm
END-of-dvipdfm/pkg/PLIST
echo x - dvipdfm/pkg/MESSAGE
sed 's/^X//' >dvipdfm/pkg/MESSAGE << 'END-of-dvipdfm/pkg/MESSAGE'
XReplace the dvipdfm.def in your LaTex distribution with the one
Xprovided by the latest dvipdfm distribution.  This is necessary for
X.eps and .png file support.  The install script will not do this
Xfor you because I do not believe it is healthy to overwrite a file
Xsupplied by a different distribution.  If you want to use hyperref
Xwith "breaklinks" support, you may want to replace hdvipdfm.def
Xwith the version in this distribution.
X
XThe files dvipdfm.def and hdvipdfm.def from the latest dvipdfm
Xdistribution may be found in /usr/local/share/dvipdfm.  The files
Xthat should to be replaced may be found in 
X/usr/local/share/texmf/tex/latex/graphics.
X
XEdit the config script in the texmf/dvipdfm directory and change to
Xsuit your needs.  An important configuration option is to set the
Xhelper application for converting PS/EPS files to PDF format.  By
Xdefault this is setup for GhostScript.  If the idea
Xof executing running a command in a shell scares you,
Xcomment out the line with the command string.  Alternatively,
Xif you really want to disable it, comment the #define HAVE_SYSTEM
Xin config.h 
X
XIMPORTANT: If you installed this from the packages rather than the
Xports, you MUST run mktexlsr as root.
END-of-dvipdfm/pkg/MESSAGE
echo x - dvipdfm/Makefile
sed 's/^X//' >dvipdfm/Makefile << 'END-of-dvipdfm/Makefile'
X# New ports collection makefile for:	dvipdfm
X# Version required:	0.12.7
X# Date created:		January 16 2000
X# Whom:			Stephen Montgomery-Smith <stephen@math.missouri.edu>
X#
X# $FreeBSD$
X#
X
XDISTNAME=		dvipdfm-0.12.7
XCATEGORIES=		print
XMASTER_SITES=		http://odo.kettering.edu/dvipdfm/
X
XMAINTAINER=		stephen@math.missouri.edu
X
XBUILD_DEPENDS=		${LOCALBASE}/lib/libkpathsea.a:${PORTSDIR}/print/teTeX \
X			${LOCALBASE}/lib/libpng.a:${PORTSDIR}/graphics/png
X
XRUN_DEPENDS=		kpsewhich:${PORTSDIR}/print/teTeX
X
XWRKSRC=			${WRKDIR}/dvipdfm
X
XGNU_CONFIGURE=		yes
XCONFIGURE_ENV+=		CPPFLAGS=-I${PREFIX}/include \
X			CFLAGS=-I${PREFIX}/include\
X			LDFLAGS=-L${PREFIX}/lib
XCONFIGURE_ARGS+=	--datadir=${PREFIX}/share
X
Xpost-install:
X	strip ${PREFIX}/bin/dvipdfm
X	strip ${PREFIX}/bin/ebb
X	mktexlsr
X	${MKDIR} ${PREFIX}/share/dvipdfm
X	${INSTALL_DATA} ${WRKSRC}/latex-support/dvipdfm.def ${PREFIX}/share/dvipdfm
X	${INSTALL_DATA} ${WRKSRC}/latex-support/hdvipdfm.def ${PREFIX}/share/dvipdfm
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${PREFIX}/share/texmf/doc/dvipdfm
X	${INSTALL_DATA} ${WRKSRC}/doc/dvipdfm.tex ${PREFIX}/share/texmf/doc/dvipdfm
X	${INSTALL_DATA} ${WRKSRC}/doc/mwicks.bb ${PREFIX}/share/texmf/doc/dvipdfm
X	${INSTALL_DATA} ${WRKSRC}/doc/mwicks.jpeg ${PREFIX}/share/texmf/doc/dvipdfm
X	${INSTALL_DATA} ${WRKSRC}/doc/transistor.bb ${PREFIX}/share/texmf/doc/dvipdfm
X	${INSTALL_DATA} ${WRKSRC}/doc/transistor.eps ${PREFIX}/share/texmf/doc/dvipdfm
X	${INSTALL_DATA} ${WRKSRC}/doc/transistor.fig ${PREFIX}/share/texmf/doc/dvipdfm
X	${INSTALL_DATA} ${WRKSRC}/doc/transistor.pdf ${PREFIX}/share/texmf/doc/dvipdfm
X	( cd ${PREFIX}/share/texmf/doc/dvipdfm ; tex dvipdfm ; ${PREFIX}/bin/dvipdfm dvipdfm ; ${RM} dvipdfm.log dvipdfm.dvi )
X.endif
X	${CAT} ${MASTERDIR}/pkg/MESSAGE
X
X.include <bsd.port.mk>
END-of-dvipdfm/Makefile
exit



>Release-Note:
>Audit-Trail:
>Unformatted:
 Stephen Montgomery-Smith


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001170348.VAA42700>