diff options
author | danw <danw@pkgsrc.org> | 2004-03-17 16:46:02 +0000 |
---|---|---|
committer | danw <danw@pkgsrc.org> | 2004-03-17 16:46:02 +0000 |
commit | 3c5461ad0626b3ed793adf62e369e802ceb53cde (patch) | |
tree | d17ce3d0f6319b7d4db3a4aab47f5bee98e7010b /print | |
parent | 2e9fe0335166ef252b33d5f386937523d49b714e (diff) | |
download | pkgsrc-3c5461ad0626b3ed793adf62e369e802ceb53cde.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 |