pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/dvipsk Import dvipsk-5.97 as print/dvipsk.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d347d4e6f40a
branches:  trunk
changeset: 554658:d347d4e6f40a
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Tue Feb 17 19:10:49 2009 +0000

description:
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:

 print/dvipsk/DESCR            |  10 +++++
 print/dvipsk/Makefile         |  74 +++++++++++++++++++++++++++++++++++++++++++
 print/dvipsk/PLIST            |  17 +++++++++
 print/dvipsk/distinfo         |   6 +++
 print/dvipsk/patches/patch-aa |  14 ++++++++
 5 files changed, 121 insertions(+), 0 deletions(-)

diffs (141 lines):

diff -r 9ff421f23fa2 -r d347d4e6f40a print/dvipsk/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/dvipsk/DESCR        Tue Feb 17 19:10:49 2009 +0000
@@ -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 -r 9ff421f23fa2 -r d347d4e6f40a print/dvipsk/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/dvipsk/Makefile     Tue Feb 17 19:10:49 2009 +0000
@@ -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@localhost
+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 -r 9ff421f23fa2 -r d347d4e6f40a print/dvipsk/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/dvipsk/PLIST        Tue Feb 17 19:10:49 2009 +0000
@@ -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 -r 9ff421f23fa2 -r d347d4e6f40a print/dvipsk/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/dvipsk/distinfo     Tue Feb 17 19:10:49 2009 +0000
@@ -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 -r 9ff421f23fa2 -r d347d4e6f40a print/dvipsk/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/dvipsk/patches/patch-aa     Tue Feb 17 19:10:49 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index