2013-08-22 11:21:57 +02:00
|
|
|
# $NetBSD: Makefile,v 1.34 2013/08/22 09:21:58 prlw1 Exp $
|
2009-02-01 07:05:58 +01:00
|
|
|
|
2012-07-11 00:34:38 +02:00
|
|
|
DISTNAME= texlive-20120701-source
|
|
|
|
PKGNAME= web2c-2012
|
2013-08-22 11:21:57 +02:00
|
|
|
PKGREVISION= 10
|
2009-02-01 07:05:58 +01:00
|
|
|
CATEGORIES= print
|
2012-07-11 00:34:38 +02:00
|
|
|
MASTER_SITES= ftp://tug.org/historic/systems/texlive/2012/
|
2010-01-16 04:15:38 +01:00
|
|
|
EXTRACT_SUFX= .tar.xz
|
2009-02-01 07:05:58 +01:00
|
|
|
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
2009-04-11 21:54:42 +02:00
|
|
|
HOMEPAGE= http://www.tug.org/web2c/
|
2009-02-01 07:05:58 +01:00
|
|
|
COMMENT= TeX implementation translating WEB to C
|
|
|
|
|
2010-09-13 06:09:54 +02:00
|
|
|
CONFLICTS+= ja-ptex-bin-[0-9]*
|
2009-04-12 09:33:35 +02:00
|
|
|
CONFLICTS+= teTeX-bin<=3.0nb28
|
2010-09-13 06:09:54 +02:00
|
|
|
CONFLICTS+= texlive-tetex<2010
|
2011-07-28 06:34:06 +02:00
|
|
|
DEPENDS+= kpathsea>=6.0.1:../../print/kpathsea
|
2012-08-14 23:05:51 +02:00
|
|
|
DEPENDS+= ptexenc>=1.3.0:../../print/ptexenc
|
2009-02-01 07:05:58 +01:00
|
|
|
|
2010-01-16 04:15:38 +01:00
|
|
|
EXTRACT_ELEMENTS= ${DISTNAME}/build-aux \
|
|
|
|
${DISTNAME}/libs/obsdcompat \
|
2009-02-01 07:05:58 +01:00
|
|
|
${DISTNAME}/texk/web2c
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
INFO_FILES= yes
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
USE_LIBTOOL= yes
|
2010-01-16 04:15:38 +01:00
|
|
|
USE_TOOLS+= gmake lex yacc pkg-config
|
2009-02-01 07:05:58 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/texk/web2c
|
|
|
|
|
2010-01-16 04:15:38 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-luatex
|
|
|
|
CONFIGURE_ARGS+= --disable-xetex
|
|
|
|
CONFIGURE_ARGS+= --with-x=no
|
|
|
|
CONFIGURE_ARGS+= --without-mf-x-toolkit
|
|
|
|
CONFIGURE_ARGS+= --with-system-kpathsea \
|
|
|
|
--with-kpathsea-includes=${BUILDLINK_PREFIX.kpathsea}/include \
|
|
|
|
--with-kpathsea-libdir=${BUILDLINK_PREFIX.kpathsea}/lib
|
|
|
|
CONFIGURE_ARGS+= --with-system-libpng \
|
|
|
|
--with-libpng-includes=${BUILDLINK_PREFIX.png}/include \
|
|
|
|
--with-libpng-libdir=${BUILDLINK_PREFIX.png}/lib
|
2011-01-28 02:54:44 +01:00
|
|
|
CONFIGURE_ARGS+= --with-system-ptexenc
|
2010-09-19 17:35:59 +02:00
|
|
|
CONFIGURE_ARGS+= --with-system-xpdf
|
2009-02-01 07:05:58 +01:00
|
|
|
CONFIGURE_ARGS+= --with-system-zlib \
|
2010-01-16 04:15:38 +01:00
|
|
|
--with-zlib-includes=${BUILDLINK_PREFIX.zlib}/include \
|
2009-02-01 07:05:58 +01:00
|
|
|
--with-zlib-libdir=${BUILDLINK_PREFIX.zlib}/lib
|
2010-09-19 17:35:59 +02:00
|
|
|
LIBTOOL_OVERRIDE= ../*/libtool */libtool
|
2009-02-01 07:05:58 +01:00
|
|
|
|
2010-01-16 04:15:38 +01:00
|
|
|
CONFIGURE_DIRS= ${WRKDIR}/${DISTNAME}/libs/obsdcompat \
|
2009-02-01 07:05:58 +01:00
|
|
|
${WRKDIR}/${DISTNAME}/texk/web2c
|
|
|
|
INSTALL_DIRS= ${WRKDIR}/${DISTNAME}/texk/web2c
|
|
|
|
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
|
|
.include "../../print/kpathsea/buildlink3.mk"
|
2010-09-19 17:35:59 +02:00
|
|
|
.include "../../print/poppler/buildlink3.mk"
|
|
|
|
.include "../../print/poppler-includes/buildlink3.mk"
|
2011-01-28 02:54:44 +01:00
|
|
|
.include "../../print/ptexenc/buildlink3.mk"
|
2009-02-01 07:05:58 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|