# $NetBSD: Makefile,v 1.15 2000/02/09 20:20:57 tron Exp $ # FreeBSD Id: Makefile,v 1.20 1997/08/05 06:56:41 tg Exp # DISTNAME= teTeX-src-1.0.6 PKGNAME= teTeX-bin-1.0.6 WRKSRC= ${WRKDIR}/teTeX-1.0 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=systems/unix/teTeX/1.0/distrib/sources/} MAINTAINER= hubertf@netbsd.org BUILD_DEPENDS+= ${LOCALBASE}/bin/bison:../../devel/bison DEPENDS+= teTeX-share-1.0:../teTeX-share DEPENDS+= dialog-0.6z:../../misc/dialog DEPENDS+= libwww-5.2.8:../../www/libwww DEPENDS+= ncurses>=4.2:../../devel/ncurses DEPENDS+= png>=1.0.3:../../graphics/png CONFLICTS+= omega-* ALL_TARGET= all INSTALL_TARGET= install strip DIST_SUBDIR= teTeX USE_GMAKE= yes USE_X11= yes CFLAGS+= -Dunix GNU_CONFIGURE= yes INFO_FILES= latex.info dvips.info web2c.info kpathsea.info CONFIGURE_ARGS+=--without-texinfo \ --without-dialog \ --disable-multiplatform \ --enable-ipc \ --with-epsfwin \ --with-hp2627win \ --with-mftalkwin \ --with-x11 \ --with-libwww-config=${LOCALBASE}/bin/libwww-config \ --with-system-ncurses \ --with-ncurses-libdir=${LOCALBASE}/lib \ --with-ncurses-include=${LOCALBASE}/include \ --with-system-pnglib \ --with-pnglib-libdir=${LOCALBASE}/lib \ --with-pnglib-include=${LOCALBASE}/include \ --with-system-zlib .include "../../mk/bsd.prefs.mk" .if defined(PAPERSIZE) && ${PAPERSIZE} == "A4" CONFIGURE_ARGS+=--enable-a4 .endif .if ${OPSYS} != "SunOS" CONFIGURE_ARGS+=--enable-auto-core \ --with-zlib-libdir=/usr/lib \ --with-zlib-include=/usr/include .else CONFIGURE_ARGS+= --with-zlib-libdir=${LOCALBASE}/lib \ --with-zlib-include=${LOCALBASE}/include .endif CONFIGURE_ENV+= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ INSTALL_DATA="${INSTALL_DATA}" post-install: @${RM} ${PREFIX}/share/texmf/web2c/*.log ### someone needs to adjust papersize to this: #texconfig dvips paper a4 #texconfig xdvi a4 texconfig font ro texconfig font vardir /var/spool/texfonts texconfig font options appendonlydir varfonts .include "../../mk/bsd.pkg.mk"