diff options
author | minskim <minskim@pkgsrc.org> | 2009-02-17 19:10:49 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2009-02-17 19:10:49 +0000 |
commit | f926fb448b0608bf4fb6265ac5aa4f4e40058948 (patch) | |
tree | 5728bd7348b32b4819b1f3c98c92ad6768fab14c /print | |
parent | 7f5c3dd790e6c1985f1e5be0c526952d87fa9417 (diff) | |
download | pkgsrc-f926fb448b0608bf4fb6265ac5aa4f4e40058948.tar.gz |
Import dvipsk-5.97 as print/dvipsk.
dvips takes a DVI file file[.dvi] produced by TeX (or by some other
processor such as GFtoDVI) and converts it to PostScript, normally
sending the result directly to the (laser)printer. The DVI file may
be specified without the .dvi extension. Fonts used may either be
resident in the printer or defined as bitmaps in PK files, or a
`virtual' combination of both. If the mktexpk program is installed,
either be resident in the printer or defined as bitmaps in PK files,
or a `virtual' combination of both. If the mktexpk program is
installed, dvips will automatically invoke METAFONT to generate fonts
that don't already exist.
Diffstat (limited to 'print')
-rw-r--r-- | print/dvipsk/DESCR | 10 | ||||
-rw-r--r-- | print/dvipsk/Makefile | 74 | ||||
-rw-r--r-- | print/dvipsk/PLIST | 17 | ||||
-rw-r--r-- | print/dvipsk/distinfo | 6 | ||||
-rw-r--r-- | print/dvipsk/patches/patch-aa | 14 |
5 files changed, 121 insertions, 0 deletions
diff --git a/print/dvipsk/DESCR b/print/dvipsk/DESCR new file mode 100644 index 00000000000..ac609a80692 --- /dev/null +++ b/print/dvipsk/DESCR @@ -0,0 +1,10 @@ +dvips takes a DVI file file[.dvi] produced by TeX (or by some other +processor such as GFtoDVI) and converts it to PostScript, normally +sending the result directly to the (laser)printer. The DVI file may +be specified without the .dvi extension. Fonts used may either be +resident in the printer or defined as bitmaps in PK files, or a +`virtual' combination of both. If the mktexpk program is installed, +either be resident in the printer or defined as bitmaps in PK files, +or a `virtual' combination of both. If the mktexpk program is +installed, dvips will automatically invoke METAFONT to generate fonts +that don't already exist. diff --git a/print/dvipsk/Makefile b/print/dvipsk/Makefile new file mode 100644 index 00000000000..8f593a3e99e --- /dev/null +++ b/print/dvipsk/Makefile @@ -0,0 +1,74 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/02/17 19:10:49 minskim Exp $ + +DISTNAME= texlive-20080816-source +PKGNAME= dvipsk-5.97 +CATEGORIES= print +MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=systems/texlive/Source/} +EXTRACT_SUFX= .tar.lzma + +MAINTAINER= minskim@NetBSD.org +HOMEPAGE= http://www.radicaleye.com/dvips.html +COMMENT= DVI-to-PostScript translator + +CONFLICTS+= teTeX-bin<3.0nb24 +CONFLICTS+= teTeX-texmf<3.0nb9 +DEPENDS+= tex-bin-dvipsk-[0-9]*:../../print/tex-bin-dvipsk +DEPENDS+= texlive-tetex-[0-9]*:../../print/texlive-tetex + +EXTRACT_ELEMENTS= ${DISTNAME}/texk/dvipsk \ + ${DISTNAME}/texk/make \ + ${DISTNAME}/texk/install.sh \ + ${DISTNAME}/texk/mkinstalldirs + +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes +INFO_FILES= yes +USE_LIBTOOL= yes +WRKSRC= ${WRKDIR}/${DISTNAME}/texk/dvipsk + +FIND_PREFIX:= TETEX_PREFIX=texlive-tetex BIN_DVIPSK_PREFIX=tex-bin-dvipsk +.include "../../mk/find-prefix.mk" + +MAKE_ENV+= KPATHSEA_PREFIX=${BUILDLINK_PREFIX.kpathsea} +MAKE_FLAGS+= LIBTOOL=${LIBTOOL:Q} \ + kpathsea_parent=${BUILDLINK_PREFIX.kpathsea}/include \ + kpathsea_srcdir=${BUILDLINK_PREFIX.kpathsea}/include/kpathsea \ + kpathsea=${BUILDLINK_PREFIX.kpathsea}/lib/libkpathsea.la + +INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \ + infodir=${DESTDIR}${PREFIX}/${PKGINFODIR} \ + mandir=${DESTDIR}${PREFIX}/${PKGMANDIR} + +PKG_SYSCONFSUBDIR= texmf + +MAKE_DIRS+= ${PKG_SYSCONFDIR}/dvips/config +CONF_FILES= ${PREFIX}/share/texmf-dist/dvips/config/config.ps \ + ${PKG_SYSCONFDIR}/dvips/config/config.ps + +BUILD_DEFS+= PAPERSIZE +LOWER_PAPERSIZE_cmd= ${ECHO} ${PAPERSIZE} | ${TR} '[A-Z]' '[a-z]' +LOWER_PAPERSIZE= ${LOWER_PAPERSIZE_cmd:sh} + +INSTALLATION_DIRS+= share/texmf-dist/dvips/config + +TEX_TEXMF_DIRS+= ${PKG_SYSCONFDIR} +TEX_TEXMF_DIRS+= ${PREFIX}/share/texmf +TEX_TEXMF_DIRS+= ${PREFIX}/share/texmf-dist + +.include "../../print/kpathsea/buildlink3.mk" +.include "../../print/kpathsea/texmf.mk" + +post-build: + ${MKDIR} -p ${WRKSRC}/texmf/dvips/config + ${CP} ${BIN_DVIPSK_PREFIX}/share/texmf/dvips/config/config.ps \ + ${WRKSRC}/texmf/dvips/config + env TFC_TEXMFCONFIG=${WRKSRC}/texmf \ + configPsFile=${WRKSRC}/config.ps \ + ${TETEX_PREFIX}/bin/texconfig dvips paper ${LOWER_PAPERSIZE} + +post-install: + ${INSTALL_DATA} ${WRKSRC}/texmf/dvips/config/config.ps \ + ${DESTDIR}${PREFIX}/share/texmf-dist/dvips/config + +.include "../../mk/bsd.pkg.mk" diff --git a/print/dvipsk/PLIST b/print/dvipsk/PLIST new file mode 100644 index 00000000000..29deb3bbb42 --- /dev/null +++ b/print/dvipsk/PLIST @@ -0,0 +1,17 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2009/02/17 19:10:49 minskim Exp $ +bin/afm2tfm +bin/dvips +bin/odvips +info/dvips.info +man/man1/afm2tfm.1 +man/man1/dvips.1 +man/man1/odvips.1 +share/texmf-dist/dvips/config/config.ps +share/texmf/dvips/base/color.pro +share/texmf/dvips/base/crop.pro +share/texmf/dvips/base/finclude.pro +share/texmf/dvips/base/hps.pro +share/texmf/dvips/base/special.pro +share/texmf/dvips/base/tex.pro +share/texmf/dvips/base/texc.pro +share/texmf/dvips/base/texps.pro diff --git a/print/dvipsk/distinfo b/print/dvipsk/distinfo new file mode 100644 index 00000000000..9b912d03e63 --- /dev/null +++ b/print/dvipsk/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2009/02/17 19:10:49 minskim Exp $ + +SHA1 (texlive-20080816-source.tar.lzma) = 730986c628bd658b5062face9e400f61203d6b8d +RMD160 (texlive-20080816-source.tar.lzma) = 629784b111c0d4bc9fac9f9131f63203d6e1dd38 +Size (texlive-20080816-source.tar.lzma) = 23175835 bytes +SHA1 (patch-aa) = dc2c5ff745a3c73aebb9f16c2b5f525195f4026a diff --git a/print/dvipsk/patches/patch-aa b/print/dvipsk/patches/patch-aa new file mode 100644 index 00000000000..2d8ad9a33d0 --- /dev/null +++ b/print/dvipsk/patches/patch-aa @@ -0,0 +1,14 @@ +$NetBSD: patch-aa,v 1.1.1.1 2009/02/17 19:10:49 minskim Exp $ + +Use the kpathsea library in print/kpathsea. + +--- Makefile.in.orig 2008-04-29 15:40:29.000000000 -0700 ++++ Makefile.in +@@ -66,7 +66,6 @@ $(prologues): squeeze + texc.lpro: texc.script tex.lpro + $(SHELL) $(srcdir)/texc.script $(srcdir)/tex.lpro $@ + +-kpse_include ../make/tkpathsea.mk + + # The environment for running check. + # No need to specify TEXMF, as ../kpathsea/texmf.cnf should contain |