diff options
author | danw <danw> | 2004-03-17 16:46:02 +0000 |
---|---|---|
committer | danw <danw> | 2004-03-17 16:46:02 +0000 |
commit | 6d66900abf09ff90a8601083f3128ccf21aad9ba (patch) | |
tree | d17ce3d0f6319b7d4db3a4aab47f5bee98e7010b /print | |
parent | 03bde7a5ad76dd315a33f1b6a1dc658356e779b0 (diff) | |
download | pkgsrc-6d66900abf09ff90a8601083f3128ccf21aad9ba.tar.gz |
Don't use :tl to lowercasify the paper size, so this will work on older
NetBSD and non-NetBSD platforms
Diffstat (limited to 'print')
-rw-r--r-- | print/teTeX-bin/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/print/teTeX-bin/Makefile b/print/teTeX-bin/Makefile index 3ec825eea94..ac7c285acf0 100644 --- a/print/teTeX-bin/Makefile +++ b/print/teTeX-bin/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.53 2004/02/14 18:16:03 snj Exp $ +# $NetBSD: Makefile,v 1.54 2004/03/17 16:46:02 danw Exp $ DISTNAME= tetex-src-${TETEX_BIN_VERS} PKGNAME= teTeX-bin-${TETEX_BIN_VERS} @@ -28,14 +28,18 @@ REPLACE_PERL= texk/xdvik/t1mapper \ CONFLICTS+= coreutils-[0-9]* .endif +.if defined(PAPERSIZE) +LOWER_PAPERSIZE!= ${ECHO} ${PAPERSIZE} | ${TR} '[A-Z]' '[a-z]' +.endif + post-install: - @${RM} ${PREFIX}/share/texmf/web2c/*.log + @${RM} -f ${PREFIX}/share/texmf/web2c/*.log .if defined(PAPERSIZE) - ${LOCALBASE}/bin/texconfig dvips paper ${PAPERSIZE:tl} + ${LOCALBASE}/bin/texconfig dvips paper ${LOWER_PAPERSIZE} . if ${PAPERSIZE} == "Letter" ${LOCALBASE}/bin/texconfig xdvi us . else - ${LOCALBASE}/bin/texconfig xdvi ${PAPERSIZE:tl} + ${LOCALBASE}/bin/texconfig xdvi ${LOWER_PAPERSIZE} . endif .endif ${LOCALBASE}/bin/texconfig font ro |