1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/devel/tex-web2c/Makefile
2014-03-13 05:21:30 +00:00

60 lines
1.6 KiB
Makefile

# $FreeBSD$
PORTNAME= web2c
PORTVERSION= 20120701
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ftp://tug.org/historic/systems/texlive/2012/
PKGNAMEPREFIX= tex-
DISTNAME= texlive-${PORTVERSION}-source
DIST_SUBDIR= TeX
MAINTAINER= hrs@FreeBSD.org
COMMENT= TeX implementation translating WEB to C
LIB_DEPENDS= openjpeg:${PORTSDIR}/graphics/openjpeg \
png15:${PORTSDIR}/graphics/png \
zzip:${PORTSDIR}/devel/zziplib
USE_TEX= texlive kpathsea
USES= pkgconfig gmake tar:xz
EXTRACT_AFTER_ARGS= ${EXTRACT_FILES}
EXTRACT_FILES= ${DISTNAME}/build-aux \
${DISTNAME}/libs/obsdcompat \
${DISTNAME}/libs/xpdf \
${DISTNAME}/texk/web2c
WRKSRC= ${WRKDIR}/${DISTNAME}/texk/web2c
GNU_CONFIGURE= yes
CONFIGURE_ENV= OBSDCOMPAT_INCLUDES=-I${WRKSRC}/../../libs/obsdcompat
CONFIGURE_ARGS= --disable-luatex \
--disable-xetex \
--disable-aleph \
--disable-ptex \
--disable-eptex \
--disable-uptex \
--disable-euptex \
--with-x=no \
--without-mf-x-toolkit \
--with-system-icu \
--with-icu-includes=${LOCALBASE}/include \
--with-icu-libdir=${LOCALBASE}/lib \
--with-system-kpathsea \
--with-kpathsea-includes=${LOCALBASE}/include \
--with-kpathsea-libdir=${LOCALBASE}/lib \
--with-system-libpng \
--with-libpng-includes=${LOCALBASE}/include \
--with-libpng-libdir=${LOCALBASE}/lib \
--with-system-zlib \
--with-system-zziplib
CFLAGS+= -I${LOCALBASE}/include
INFO= web2c
pre-configure:
for D in libs/obsdcompat libs/xpdf; do \
cd ${WRKDIR}/${DISTNAME}/$$D && \
${SETENV} ${CONFIGURE_ENV} ${SH} ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}; \
done
.include <bsd.port.mk>