blob: 0c586f5d94b847c5b796c0f7a857a193f105809d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
# $NetBSD: Makefile,v 1.90 2019/11/07 12:38:08 wiz Exp $
PKGREVISION= 3
.include "../../print/texlive/Makefile.common"
PKGNAME= web2c-2019
CATEGORIES= print
HOMEPAGE= http://www.tug.org/web2c/
COMMENT= TeX implementation translating WEB to C
DEPENDS+= kpathsea>=6.2.1:../../print/kpathsea
DEPENDS+= ptexenc>=1.3.7:../../print/ptexenc
EXTRACT_ELEMENTS+= ${DISTNAME}/texk/web2c
USE_LANGUAGES= c c++11
USE_TOOLS+= gmake lex yacc
GNU_CONFIGURE_STRICT= no # texk/web2c/web2c doesn't know the options
PKGCONFIG_OVERRIDE= synctexdir/synctex.pc.in
INFO_FILES= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/texk/web2c
CONFIGURE_ARGS+= --disable-luatex
CONFIGURE_ARGS+= --disable-luatex53
CONFIGURE_ARGS+= --disable-luajittex
CONFIGURE_ARGS+= --disable-mflua
CONFIGURE_ARGS+= --disable-mfluajit
CONFIGURE_ARGS+= --disable-xetex
CONFIGURE_ARGS+= --with-x=no
CONFIGURE_ARGS+= --without-mf-x-toolkit
CONFIGURE_ARGS+= --with-system-kpathsea
CONFIGURE_ARGS+= --with-system-libpng
CONFIGURE_ARGS+= --with-system-cairo
CONFIGURE_ARGS+= --with-system-gmp
CONFIGURE_ARGS+= --with-gmp-includes=${BUILDLINK_PREFIX.gmp}/include
CONFIGURE_ARGS+= --with-gmp-libdir=${BUILDLINK_PREFIX.gmp}/lib
CONFIGURE_ARGS+= --with-system-mpfr
CONFIGURE_ARGS+= --with-mpfr-includes=${BUILDLINK_PREFIX.mpfr}/include
CONFIGURE_ARGS+= --with-mpfr-libdir=${BUILDLINK_PREFIX.mpfr}/lib
CONFIGURE_ARGS+= --with-system-pixman
CONFIGURE_ARGS+= --with-system-poppler
CONFIGURE_ARGS+= --with-system-xpdf
CONFIGURE_ARGS+= --with-system-ptexenc
CONFIGURE_ARGS+= --with-system-zlib
CONFIGURE_ARGS+= --with-zlib-includes=${BUILDLINK_PREFIX.zlib}/include
CONFIGURE_ARGS+= --with-zlib-libdir=${BUILDLINK_PREFIX.zlib}/lib
CONFIGURE_ARGS+= --with-system-zziplib
LIBTOOL_OVERRIDE= ../*/libtool */libtool
CONFIGURE_DIRS= ${WRKDIR}/${DISTNAME}/texk/web2c
INSTALL_DIRS= ${WRKDIR}/${DISTNAME}/texk/web2c
pre-configure:
${CP} ${WRKSRC}/pdftexdir/pdftoepdf-poppler0.75.0.cc ${WRKSRC}/pdftexdir/pdftoepdf.cc
${CP} ${WRKSRC}/pdftexdir/pdftosrc-newpoppler.cc ${WRKSRC}/pdftexdir/pdftosrc.cc
.include "../../archivers/zziplib/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/cairo/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../math/mpfr/buildlink3.mk"
.include "../../print/kpathsea/buildlink3.mk"
.include "../../print/poppler/buildlink3.mk"
.include "../../print/poppler-includes/buildlink3.mk"
.include "../../print/ptexenc/buildlink3.mk"
.include "../../x11/pixman/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|