summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2009-03-01 18:09:18 +0000
committerminskim <minskim@pkgsrc.org>2009-03-01 18:09:18 +0000
commitdabe31c211d511e0d68df926d02a3b6cdec74d0a (patch)
tree88639adc4f8404559da39f58644a6f152aafbf0c /print
parentec1f820d56a1abcb7043aea17bedd20b57e7b109 (diff)
downloadpkgsrc-dabe31c211d511e0d68df926d02a3b6cdec74d0a.tar.gz
- texlive-tetex is needed at build-time only.
- Make sure that generating config.ps is not affected by the system's config.ps. Bump PKGREVISION.
Diffstat (limited to 'print')
-rw-r--r--print/dvipsk/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/print/dvipsk/Makefile b/print/dvipsk/Makefile
index 8f593a3e99e..0d67077d35e 100644
--- a/print/dvipsk/Makefile
+++ b/print/dvipsk/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2009/02/17 19:10:49 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2009/03/01 18:09:18 minskim Exp $
DISTNAME= texlive-20080816-source
PKGNAME= dvipsk-5.97
+PKGREVISION= 1
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=systems/texlive/Source/}
EXTRACT_SUFX= .tar.lzma
@@ -12,8 +13,8 @@ COMMENT= DVI-to-PostScript translator
CONFLICTS+= teTeX-bin<3.0nb24
CONFLICTS+= teTeX-texmf<3.0nb9
+BUILD_DEPENDS+= texlive-tetex-[0-9]*:../../print/texlive-tetex
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 \
@@ -63,7 +64,8 @@ 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 \
+ env TEXMFCONFIG=${BIN_DVIPSK_PREFIX}/share/texmf \
+ TFC_TEXMFCONFIG=${WRKSRC}/texmf \
configPsFile=${WRKSRC}/config.ps \
${TETEX_PREFIX}/bin/texconfig dvips paper ${LOWER_PAPERSIZE}