diff options
author | jschauma <jschauma> | 2003-04-11 15:13:42 +0000 |
---|---|---|
committer | jschauma <jschauma> | 2003-04-11 15:13:42 +0000 |
commit | ccf71269dbbbb489a2d24abe20050c47c86c355a (patch) | |
tree | f6affff0ccf04056deda09c0d415df63f3715412 | |
parent | 41de2247510da983d722f47abb5d692a1efc48f3 (diff) | |
download | pkgsrc-ccf71269dbbbb489a2d24abe20050c47c86c355a.tar.gz |
Fix post-install to set the appropriate papersize.
Bump PKGREVISION since now setting PAPERSIZE to 'Letter' actually will
yield letter-sized default output.
-rw-r--r-- | print/teTeX-bin/Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/print/teTeX-bin/Makefile b/print/teTeX-bin/Makefile index 1227a43c124..f188d770a01 100644 --- a/print/teTeX-bin/Makefile +++ b/print/teTeX-bin/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.40 2003/04/07 17:39:19 tron Exp $ +# $NetBSD: Makefile,v 1.41 2003/04/11 15:13:42 jschauma Exp $ DISTNAME= teTeX-src-1.0.7 PKGNAME= teTeX-bin-1.0.7 -PKGREVISION= 2 +PKGREVISION= 3 WRKSRC= ${WRKDIR}/teTeX-1.0 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=systems/unix/teTeX/1.0/distrib/sources/} @@ -68,9 +68,14 @@ OWN_DIRS_PERMS+= ${TEXFONTSDIR}/tfm ${ROOT_USER} ${ROOT_GROUP} 1777 post-install: @${RM} ${PREFIX}/share/texmf/web2c/*.log - ### someone needs to adjust papersize to this: - #${LOCALBASE}/bin/texconfig dvips paper a4 - #${LOCALBASE}/bin/texconfig xdvi a4 +.if defined(PAPERSIZE) + ${LOCALBASE}/bin/texconfig dvips paper ${PAPERSIZE:tl} +. if ${PAPERSIZE} == "Letter" + ${LOCALBASE}/bin/texconfig xdvi us +. else + ${LOCALBASE}/bin/texconfig xdvi ${PAPERSIZE:tl} +. endif +.endif ${LOCALBASE}/bin/texconfig font ro ${LOCALBASE}/bin/texconfig font vardir /var/spool/texfonts ${LOCALBASE}/bin/texconfig font options appendonlydir varfonts |