3 PORTNAME= basic-engines
6 MASTER_SITES= TEX_CTAN/systems/texlive/Source/
8 DISTNAME= texlive-20150521-source
11 MAINTAINER= hrs@FreeBSD.org
12 COMMENT= Basic TeX Engines
14 LIB_DEPENDS= libpng.so:graphics/png
16 USES= pkgconfig libtool tar:xz
17 USE_TEX= kpathsea web2c>=20150521_1
18 EXTRACT_AFTER_ARGS= ${EXTRACT_FILES:S,^,${DISTNAME}/,}
19 EXTRACT_FILES= build-aux \
22 WRKSRC= ${WRKDIR}/${DISTNAME}/texk/web2c
24 EXCLUDE_ENGINES=aleph luatex luajittex mf \
25 mf-nowin ptex eptex uptex euptex xetex \
26 otangle mp pmp upmp web2c web-progs synctex
27 CONFIGURE_ARGS= ${EXCLUDE_ENGINES:S/^/--disable-/} \
30 --without-mf-x-toolkit \
32 --with-system-kpathsea
34 CONFIGURE_ARGS+=--with-system-$L \
35 --with-$L-include=${LOCALBASE}/include \
36 --with-$L-libdir=${LOCALBASE}/lib
38 CFLAGS+= -I${LOCALBASE}/include
39 INSTALL_TARGET= install-strip
42 cd ${WRKDIR}/${DISTNAME}/libs/xpdf && \
43 ${SETENV} CC="${CC}" CPP="${CPP}" CXX="${CXX}" \
44 CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" \
45 CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" \
47 ${CONFIGURE_ENV} ${SH} ${CONFIGURE_SCRIPT} \
50 .include <bsd.port.mk>