diff options
Diffstat (limited to 'print/teTeX3-bin/Makefile')
-rw-r--r-- | print/teTeX3-bin/Makefile | 26 |
1 files changed, 6 insertions, 20 deletions
diff --git a/print/teTeX3-bin/Makefile b/print/teTeX3-bin/Makefile index 20879ff28f7..addf7467667 100644 --- a/print/teTeX3-bin/Makefile +++ b/print/teTeX3-bin/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.15 2006/04/05 16:04:01 jlam Exp $ +# $NetBSD: Makefile,v 1.16 2006/04/06 14:39:11 jlam Exp $ DISTNAME= tetex-src-3.0 PKGNAME= ${DISTNAME:C/tetex/teTeX/:C/src/bin/} -PKGREVISION= 8 +PKGREVISION= 9 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=systems/unix/teTeX/3.0/distrib/} @@ -24,14 +24,13 @@ REPLACE_PERL= texk/xdvik/t1mapper \ CONFIGURE_ARGS+= --without-texinfo --without-texi2html CONFIGURE_ARGS+= --with-xdvi-x-toolkit=xaw +MAKE_FLAGS+= vartexfonts=${VARTEXFONTS:Q} -.if defined(PAPERSIZE) +VARTEXFONTS?= ${VARBASE:Q}/spool/texfonts LOWER_PAPERSIZE_cmd= ${ECHO} ${PAPERSIZE} | ${TR} '[A-Z]' '[a-z]' LOWER_PAPERSIZE= ${LOWER_PAPERSIZE_cmd:sh} -.endif - -TEXCONFIG= ${SETENV} TEXMFCONFIG=${PREFIX}/share/texmf \ - ${PREFIX}/bin/texconfig +FILES_SUBST+= PAPERSIZE=${LOWER_PAPERSIZE:Q} +FILES_SUBST+= VARTEXFONTS=${VARTEXFONTS:Q} CONF_FILES+= ${PREFIX}/share/texmf/web2c/fmtutil.cnf.dist \ ${PREFIX}/share/texmf/web2c/fmtutil.cnf @@ -39,20 +38,7 @@ CONF_FILES+= ${PREFIX}/share/texmf/web2c/texmf.cnf.dist \ ${PREFIX}/share/texmf/web2c/texmf.cnf OWN_DIRS+= ${PREFIX}/share/texmf-var -post-install: -.if defined(PAPERSIZE) - ${TEXCONFIG} dvips paper ${LOWER_PAPERSIZE} -. if ${PAPERSIZE} == "Letter" - ${TEXCONFIG} xdvi paper us -. else - ${TEXCONFIG} xdvi paper ${LOWER_PAPERSIZE} -. endif -.endif - ${TEXCONFIG} font rw - ${TEXCONFIG} font vardir ${VARBASE}/spool/texfonts - .include "../../print/teTeX3-bin/Makefile.common" .include "../../graphics/xpm/buildlink3.mk" .include "../../mk/xaw.buildlink3.mk" - .include "../../mk/bsd.pkg.mk" |