2005-11-09 23:23:05 +01:00
|
|
|
# $NetBSD: Makefile,v 1.9 2005/11/09 22:23:05 minskim Exp $
|
2005-04-01 00:09:18 +02:00
|
|
|
|
|
|
|
DISTNAME= tetex-src-3.0
|
|
|
|
PKGNAME= ${DISTNAME:C/tetex/teTeX/:C/src/bin/}
|
2005-11-09 23:23:05 +01:00
|
|
|
PKGREVISION= 3
|
2005-04-01 00:09:18 +02:00
|
|
|
CATEGORIES= print
|
|
|
|
MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=systems/unix/teTeX/3.0/distrib/}
|
|
|
|
|
|
|
|
MAINTAINER= kei@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.tug.org/tetex/
|
|
|
|
COMMENT= TeX distribution for UNIX compatible systems - binaries
|
|
|
|
|
|
|
|
BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
|
2005-07-19 12:11:48 +02:00
|
|
|
DEPENDS+= teTeX-texmf>=3.0:../../print/teTeX3-texmf
|
2005-10-01 00:01:33 +02:00
|
|
|
DEPENDS+= dialog>=0.6z:../../misc/dialog
|
2005-04-01 00:09:18 +02:00
|
|
|
|
|
|
|
# games/omega previously installed an omega executable too
|
|
|
|
CONFLICTS+= omega<0.90.4nb1
|
|
|
|
|
|
|
|
INFO_FILES= latex.info dvips.info web2c.info kpathsea.info
|
|
|
|
|
|
|
|
REPLACE_PERL= texk/xdvik/t1mapper \
|
|
|
|
texk/oxdvik/t1mapper
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --without-texinfo --without-texi2html
|
2005-06-07 15:34:06 +02:00
|
|
|
CONFIGURE_ARGS+= --with-xdvi-x-toolkit=xaw
|
2005-04-01 00:09:18 +02:00
|
|
|
|
|
|
|
.if defined(PAPERSIZE)
|
2005-04-29 01:23:41 +02:00
|
|
|
LOWER_PAPERSIZE_cmd= ${ECHO} ${PAPERSIZE} | ${TR} '[A-Z]' '[a-z]'
|
|
|
|
LOWER_PAPERSIZE= ${LOWER_PAPERSIZE_cmd:sh}
|
2005-04-01 00:09:18 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${RM} -f ${PREFIX}/share/texmf/web2c/*.log
|
|
|
|
.if defined(PAPERSIZE)
|
|
|
|
${LOCALBASE}/bin/texconfig dvips paper ${LOWER_PAPERSIZE}
|
|
|
|
. if ${PAPERSIZE} == "Letter"
|
2005-04-09 15:18:32 +02:00
|
|
|
${LOCALBASE}/bin/texconfig xdvi paper us
|
2005-04-01 00:09:18 +02:00
|
|
|
. else
|
2005-04-09 15:18:32 +02:00
|
|
|
${LOCALBASE}/bin/texconfig xdvi paper ${LOWER_PAPERSIZE}
|
2005-04-01 00:09:18 +02:00
|
|
|
. endif
|
|
|
|
.endif
|
|
|
|
${LOCALBASE}/bin/texconfig font rw
|
|
|
|
${LOCALBASE}/bin/texconfig font vardir ${VARBASE}/spool/texfonts
|
|
|
|
|
2005-04-09 01:06:47 +02:00
|
|
|
.include "../../print/teTeX3-bin/Makefile.common"
|
2005-04-10 23:52:37 +02:00
|
|
|
.include "../../graphics/xpm/buildlink3.mk"
|
2005-04-01 00:09:18 +02:00
|
|
|
.include "../../mk/xaw.buildlink3.mk"
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|