summaryrefslogtreecommitdiff
path: root/devel/tex-web2c
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2015-07-19 20:33:34 +0000
committerHiroki Sato <hrs@FreeBSD.org>2015-07-19 20:33:34 +0000
commit90410e570da38ffd6b5077fafe644b17378e70a9 (patch)
tree346ed2be37b627807351d830ba39e46d40a65664 /devel/tex-web2c
parentConvert to USES=libarchive, reduce over linking (diff)
Update TeXLive to TL2015.
- print/texlive-infra was renamed with print/texlive-tlmgr. Note that currently tlmgr(1) does not work because of lack of TLPDB. This will be fixed. - Lua libraries used in LuaTeX are separated into devel/tex-libtexlua and devel/texlibtexluajit. USE_TEX supports them via keywords "texlua" and "texluajit". - libsynctex is currently installed by devel/tex-web2c. This will be separated into a single port. - Add graphics/libpotrace and use installed libpotrace and libharfbuzz.
Diffstat (limited to 'devel/tex-web2c')
-rw-r--r--devel/tex-web2c/Makefile42
-rw-r--r--devel/tex-web2c/distinfo4
-rw-r--r--devel/tex-web2c/files/patch-Makefile.in11
-rw-r--r--devel/tex-web2c/pkg-plist11
4 files changed, 43 insertions, 25 deletions
diff --git a/devel/tex-web2c/Makefile b/devel/tex-web2c/Makefile
index 66b6a7e48427..5738f342b5a5 100644
--- a/devel/tex-web2c/Makefile
+++ b/devel/tex-web2c/Makefile
@@ -1,10 +1,9 @@
# $FreeBSD$
PORTNAME= web2c
-PORTVERSION= 20140525
-PORTREVISION= 2
+PORTVERSION= 20150521
CATEGORIES= devel
-MASTER_SITES= ftp://tug.org/historic/systems/texlive/2014/
+MASTER_SITES= ftp://tug.org/historic/systems/texlive/2015/
PKGNAMEPREFIX= tex-
DISTNAME= texlive-${PORTVERSION}-source
DIST_SUBDIR= TeX
@@ -14,17 +13,18 @@ COMMENT= TeX implementation translating WEB to C
LIB_DEPENDS= libopenjpeg.so:${PORTSDIR}/graphics/openjpeg15 \
libpng.so:${PORTSDIR}/graphics/png \
- libzzip.so:${PORTSDIR}/devel/zziplib
+ libzzip.so:${PORTSDIR}/devel/zziplib \
+ libmpfr.so:${PORTSDIR}/math/mpfr
-USE_TEX= kpathsea
+USES= pkgconfig gmake libtool tar:xz
+USE_TEX= kpathsea ptexenc
USE_XORG= pixman
-USES= pkgconfig gmake tar:xz
-EXTRACT_AFTER_ARGS= ${EXTRACT_FILES}
-EXTRACT_FILES= ${DISTNAME}/build-aux \
- ${DISTNAME}/libs/xpdf \
- ${DISTNAME}/libs/cairo \
- ${DISTNAME}/libs/pixman \
- ${DISTNAME}/texk/web2c
+USE_GNOME= cairo
+USE_LDCONFIG= yes
+EXTRACT_AFTER_ARGS= ${EXTRACT_FILES:S,^,${DISTNAME}/,}
+EXTRACT_FILES= build-aux \
+ libs/xpdf \
+ texk/web2c
WRKSRC= ${WRKDIR}/${DISTNAME}/texk/web2c
GNU_CONFIGURE= yes
CONFIGURE_ENV= OBSDCOMPAT_INCLUDES=-I${WRKSRC}/../../libs/obsdcompat
@@ -38,24 +38,20 @@ CONFIGURE_ARGS= --disable-luatex \
--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-pixman \
--with-system-zlib \
--with-system-zziplib
+.for L in pixman cairo gmp mpfr libpng icu kpathsea ptexenc
+CONFIGURE_ARGS+=--with-system-$L \
+ --with-$L-include=${LOCALBASE}/include \
+ --with-$L-libdir=${LOCALBASE}/lib
+.endfor
CFLAGS+= -I${LOCALBASE}/include
+INSTALL_TARGET= install-strip
INFO= web2c
pre-configure:
- for D in libs/xpdf libs/cairo; do \
+ for D in libs/xpdf; do \
cd ${WRKDIR}/${DISTNAME}/$$D && \
${SETENV} CC="${CC}" CPP="${CPP}" CXX="${CXX}" \
CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" CXXFLAGS="${CXXFLAGS}" \
diff --git a/devel/tex-web2c/distinfo b/devel/tex-web2c/distinfo
index e1dface9f9c6..5e60be0fc6e1 100644
--- a/devel/tex-web2c/distinfo
+++ b/devel/tex-web2c/distinfo
@@ -1,2 +1,2 @@
-SHA256 (TeX/texlive-20140525-source.tar.xz) = 08bb4eb02923ac65ce1183612c6b64da185904f26a1660f5ca4f902d055795be
-SIZE (TeX/texlive-20140525-source.tar.xz) = 41657688
+SHA256 (TeX/texlive-20150521-source.tar.xz) = ed9bcd7bdce899c3c27c16a8c5c3017c4f09e1d7fd097038351b72497e9d4669
+SIZE (TeX/texlive-20150521-source.tar.xz) = 45459552
diff --git a/devel/tex-web2c/files/patch-Makefile.in b/devel/tex-web2c/files/patch-Makefile.in
new file mode 100644
index 000000000000..0a33400f8920
--- /dev/null
+++ b/devel/tex-web2c/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2015-04-16 19:53:45 UTC
++++ Makefile.in
+@@ -3557,7 +3557,7 @@ libsynctex_la_SOURCES = \
+
+ nodist_libsynctex_a_SOURCES = $(libsynctex_la_SOURCES)
+ syncincludedir = ${includedir}/synctex
+-pkgconfigdir = ${libdir}/pkgconfig
++pkgconfigdir = $(prefix)/libdata/pkgconfig
+ @SYNCTEX_TRUE@syncinclude_HEADERS = \
+ @SYNCTEX_TRUE@ synctexdir/synctex_parser.h \
+ @SYNCTEX_TRUE@ synctexdir/synctex_parser_utils.h
diff --git a/devel/tex-web2c/pkg-plist b/devel/tex-web2c/pkg-plist
index aa934bc3eaa7..5ddf2571cf6e 100644
--- a/devel/tex-web2c/pkg-plist
+++ b/devel/tex-web2c/pkg-plist
@@ -8,11 +8,15 @@ bin/gftopk
bin/gftype
bin/mft
bin/patgen
+bin/pdvitomp
bin/pktogf
bin/pktype
bin/pltotf
+bin/pmpost
bin/pooltype
bin/tftopl
+bin/updvitomp
+bin/upmpost
bin/vftovp
bin/vptovf
bin/weave
@@ -31,6 +35,13 @@ bin/dvitomp
bin/inimf
bin/initex
bin/mfplain
+include/synctex/synctex_parser.h
+include/synctex/synctex_parser_utils.h
+lib/libsynctex.a
+lib/libsynctex.so
+lib/libsynctex.so.1
+lib/libsynctex.so.1.17.0
+libdata/pkgconfig/synctex.pc
man/man1/amstex.1.gz
man/man1/bibtex.1.gz
man/man1/ctangle.1.gz