summaryrefslogtreecommitdiff
path: root/print/texlive-base/Makefile
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 /print/texlive-base/Makefile
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.
Notes
Notes: svn path=/head/; revision=392534
Diffstat (limited to 'print/texlive-base/Makefile')
-rw-r--r--print/texlive-base/Makefile220
1 files changed, 52 insertions, 168 deletions
diff --git a/print/texlive-base/Makefile b/print/texlive-base/Makefile
index 1286b45e344f..872de93498cb 100644
--- a/print/texlive-base/Makefile
+++ b/print/texlive-base/Makefile
@@ -1,10 +1,9 @@
# $FreeBSD$
PORTNAME= texlive
-PORTVERSION= 20140525
-PORTREVISION= 7
+PORTVERSION= 20150521
CATEGORIES= print
-MASTER_SITES= ftp://tug.org/historic/systems/texlive/2014/
+MASTER_SITES= ftp://tug.org/historic/systems/texlive/2015/
PKGNAMESUFFIX= -base
DISTNAME= ${PORTNAME}-${DISTVERSION}-source
DIST_SUBDIR= TeX
@@ -22,15 +21,13 @@ LIB_DEPENDS= libicuio.so:${PORTSDIR}/devel/icu \
libttf.so:${PORTSDIR}/print/freetype \
libpng.so:${PORTSDIR}/graphics/png \
libzzip.so:${PORTSDIR}/devel/zziplib \
- libpoppler.so:${PORTSDIR}/graphics/poppler
-# XXX
-# libpotrace.so:${PORTSDIR}/graphics/potrace
+ libpoppler.so:${PORTSDIR}/graphics/poppler \
+ libpotrace.so:${PORTSDIR}/graphics/libpotrace
-CONFLICTS_INSTALL= texlive-texmf-201[23]*
+CONFLICTS_INSTALL= texlive-texmf-201[234]*
-USE_TEX= web2c kpathsea ptexenc texhash-bootstrap
+USE_TEX= web2c kpathsea ptexenc tlmgr texhash-bootstrap
USES= ghostscript gmake pkgconfig perl5 shebangfix tar:xz
-USE_AUTOTOOLS= autoconf
USE_PERL5= run
USE_LDCONFIG= yes
# during build phase gnu configure is run a lot
@@ -44,22 +41,22 @@ EXCLUDE_FILES= ${DISTNAME}/texk/web2c \
${DISTNAME}/texk/dvipsk \
${DISTNAME}/libs/freetype2 \
${DISTNAME}/libs/gd \
- ${DISTNAME}/libs/graphite \
+ ${DISTNAME}/libs/gmp \
+ ${DISTNAME}/libs/graphite2 \
${DISTNAME}/libs/icu \
- ${DISTNAME}/libs/liblua52 \
- ${DISTNAME}/libs/libluajit \
+ ${DISTNAME}/libs/lua52 \
+ ${DISTNAME}/libs/luajit \
${DISTNAME}/libs/libpaper \
${DISTNAME}/libs/libpng \
+ ${DISTNAME}/libs/mpfr \
${DISTNAME}/libs/pixman \
${DISTNAME}/libs/poppler \
${DISTNAME}/libs/teckit \
${DISTNAME}/libs/xpdf \
${DISTNAME}/libs/zlib \
${DISTNAME}/libs/zziplib \
- ${DISTNAME}/utils/biber \
- ${DISTNAME}/utils/t1utils
-# XXX
-# ${DISTNAME}/libs/potrace
+ ${DISTNAME}/utils/t1utils \
+ ${DISTNAME}/libs/potrace
EXTRACT_AFTER_ARGS= ${EXCLUDE_FILES:S,^,--exclude ,}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-native-texlive-build \
@@ -81,173 +78,60 @@ CONFIGURE_ARGS= --disable-native-texlive-build \
--with-system-cairo \
--with-system-gd \
--with-system-graphite \
- --with-system-icu \
- --with-icu-include=${LOCALBASE}/include \
- --with-icu-libdir=${LOCALBASE}/lib \
- --with-system-kpathsea \
- --with-kpathsea-include=${LOCALBASE}/include/kpathsea \
- --with-kpathsea-libdir=${LOCALBASE}/lib \
- --with-system-libgs \
- --with-libgs-includes=${LOCALBASE}/include \
- --with-libgs-libdir=${LOCALBASE}/lib \
- --with-system-libpaper \
- --with-libpaper-includes=${LOCALBASE}/include \
- --with-libpaper-libdir=${LOCALBASE}/lib \
- --with-system-libpng \
--with-system-pixman \
--with-system-poppler \
- --with-system-ptexenc \
- --with-ptexenc-include=${LOCALBASE}/include/ptexenc \
- --with-ptexenc-libdir=${LOCALBASE}/lib \
--with-system-t1lib \
- --with-system-teckit \
--with-xpdf-includes=${LOCALBASE}/include/poppler \
--with-xpdf-libdir=${LOCALBASE}/lib \
--with-system-xpdf \
--with-system-zziplib \
--with-system-zlib
-# XXX
-# --with-system-potrace
+.for L in gmp icu kpathsea libgs libpng libpaper mpfr ptexenc potrace teckit
+CONFIGURE_ARGS+=--with-system-$L \
+ --with-$L-include=${LOCALBASE}/include \
+ --with-$L-libdir=${LOCALBASE}/lib
+.endfor
-CFLAGS+= -I${LOCALBASE}/include \
- -I${LOCALBASE}/include/kpathsea \
- -I${LOCALBASE}/include/ptexenc
+CFLAGS+= -I${LOCALBASE}/include
PLIST_SUB= INSTALL_DATA="${INSTALL_DATA}"
INSTALL_TARGET= install-strip
-SHEBANG_FILES= texk/texlive/linked_scripts/a2ping/a2ping.pl \
- texk/texlive/linked_scripts/accfonts/mkt1font \
- texk/texlive/linked_scripts/accfonts/vpl2ovp \
- texk/texlive/linked_scripts/accfonts/vpl2vpl \
- texk/texlive/linked_scripts/adhocfilelist/adhocfilelist.sh \
- texk/texlive/linked_scripts/arara/arara.sh \
- texk/texlive/linked_scripts/authorindex/authorindex \
- texk/texlive/linked_scripts/bibexport/bibexport.sh \
- texk/texlive/linked_scripts/bundledoc/arlatex \
- texk/texlive/linked_scripts/bundledoc/bundledoc \
- texk/texlive/linked_scripts/cachepic/cachepic.tlu \
- texk/texlive/linked_scripts/checkcites/checkcites.lua \
- texk/texlive/linked_scripts/context/perl/mptopdf.pl \
- texk/texlive/linked_scripts/context/stubs/unix/context \
- texk/texlive/linked_scripts/context/stubs/unix/contextjit \
- texk/texlive/linked_scripts/context/stubs/unix/ctxtools \
- texk/texlive/linked_scripts/context/stubs/unix/luatools \
- texk/texlive/linked_scripts/context/stubs/unix/mtxrun \
- texk/texlive/linked_scripts/context/stubs/unix/mtxrunjit \
- texk/texlive/linked_scripts/context/stubs/unix/pstopdf \
- texk/texlive/linked_scripts/context/stubs/unix/texexec \
- texk/texlive/linked_scripts/context/stubs/unix/texmfstart \
- texk/texlive/linked_scripts/convbkmk/convbkmk.rb \
- texk/texlive/linked_scripts/ctanify/ctanify \
- texk/texlive/linked_scripts/ctanupload/ctanupload.pl \
- texk/texlive/linked_scripts/de-macro/de-macro \
- texk/texlive/linked_scripts/dosepsbin/dosepsbin.pl \
- texk/texlive/linked_scripts/dtxgen/dtxgen \
- texk/texlive/linked_scripts/dviasm/dviasm.py \
- texk/texlive/linked_scripts/ebong/ebong.py \
- texk/texlive/linked_scripts/epspdf/epspdf.tlu \
- texk/texlive/linked_scripts/epspdf/epspdftk.tcl \
- texk/texlive/linked_scripts/epstopdf/epstopdf.pl \
- texk/texlive/linked_scripts/exceltex/exceltex \
- texk/texlive/linked_scripts/fig4latex/fig4latex \
- texk/texlive/linked_scripts/findhyph/findhyph \
- texk/texlive/linked_scripts/fontools/afm2afm \
- texk/texlive/linked_scripts/fontools/autoinst \
- texk/texlive/linked_scripts/fontools/ot2kpx \
- texk/texlive/linked_scripts/fragmaster/fragmaster.pl \
- texk/texlive/linked_scripts/glossaries/makeglossaries \
- texk/texlive/linked_scripts/installfont/installfont-tl \
- texk/texlive/linked_scripts/jfontmaps/kanji-config-updmap-sys.sh \
- texk/texlive/linked_scripts/jfontmaps/kanji-config-updmap.pl \
- texk/texlive/linked_scripts/jfontmaps/kanji-fontmap-creator.pl \
- texk/texlive/linked_scripts/kotex-utils/jamo-normalize.pl \
- texk/texlive/linked_scripts/kotex-utils/komkindex.pl \
- texk/texlive/linked_scripts/kotex-utils/ttf2kotexfont.pl \
- texk/texlive/linked_scripts/latex-git-log/latex-git-log \
- texk/texlive/linked_scripts/latex2man/latex2man \
- texk/texlive/linked_scripts/latexdiff/latexdiff-vc.pl \
- texk/texlive/linked_scripts/latexdiff/latexdiff.pl \
- texk/texlive/linked_scripts/latexdiff/latexrevise.pl \
- texk/texlive/linked_scripts/latexfileversion/latexfileversion \
- texk/texlive/linked_scripts/latexindent/latexindent.pl \
- texk/texlive/linked_scripts/latexmk/latexmk.pl \
- texk/texlive/linked_scripts/latexpand/latexpand \
- texk/texlive/linked_scripts/lilyglyphs/lily-glyph-commands.py \
- texk/texlive/linked_scripts/lilyglyphs/lily-image-commands.py \
- texk/texlive/linked_scripts/lilyglyphs/lily-rebuild-pdfs.py \
- texk/texlive/linked_scripts/listbib/listbib \
- texk/texlive/linked_scripts/listings-ext/listings-ext.sh \
- texk/texlive/linked_scripts/ltxfileinfo/ltxfileinfo \
- texk/texlive/linked_scripts/ltximg/ltximg.pl \
- texk/texlive/linked_scripts/lua2dox/lua2dox_filter \
- texk/texlive/linked_scripts/luaotfload/luaotfload-tool.lua \
- texk/texlive/linked_scripts/m-tx/m-tx.lua \
- texk/texlive/linked_scripts/match_parens/match_parens \
- texk/texlive/linked_scripts/mathspic/mathspic.pl \
- texk/texlive/linked_scripts/mf2pt1/mf2pt1.pl \
- texk/texlive/linked_scripts/mkgrkindex/mkgrkindex \
- texk/texlive/linked_scripts/mkjobtexmf/mkjobtexmf.pl \
- texk/texlive/linked_scripts/mkpic/mkpic \
- texk/texlive/linked_scripts/multibibliography/multibibliography.pl \
- texk/texlive/linked_scripts/musixtex/musixflx.lua \
- texk/texlive/linked_scripts/musixtex/musixtex.lua \
- texk/texlive/linked_scripts/oberdiek/pdfatfi.pl \
- texk/texlive/linked_scripts/pax/pdfannotextractor.pl \
- texk/texlive/linked_scripts/pdfcrop/pdfcrop.pl \
- texk/texlive/linked_scripts/pdfjam/pdf180 \
- texk/texlive/linked_scripts/pdfjam/pdf270 \
- texk/texlive/linked_scripts/pdfjam/pdf90 \
- texk/texlive/linked_scripts/pdfjam/pdfbook \
- texk/texlive/linked_scripts/pdfjam/pdfflip \
- texk/texlive/linked_scripts/pdfjam/pdfjam \
- texk/texlive/linked_scripts/pdfjam/pdfjam-pocketmod \
- texk/texlive/linked_scripts/pdfjam/pdfjam-slides3up \
- texk/texlive/linked_scripts/pdfjam/pdfjam-slides6up \
- texk/texlive/linked_scripts/pdfjam/pdfjoin \
- texk/texlive/linked_scripts/pdfjam/pdfnup \
- texk/texlive/linked_scripts/pdfjam/pdfpun \
- texk/texlive/linked_scripts/pedigree-perl/pedigree.pl \
- texk/texlive/linked_scripts/perltex/perltex.pl \
- texk/texlive/linked_scripts/pfarrei/a5toa4.tlu \
- texk/texlive/linked_scripts/pfarrei/pfarrei.tlu \
- texk/texlive/linked_scripts/pkfix-helper/pkfix-helper \
- texk/texlive/linked_scripts/pkfix/pkfix.pl \
- texk/texlive/linked_scripts/pmx/pmx2pdf.lua \
- texk/texlive/linked_scripts/pmxchords/pmxchords.lua \
- texk/texlive/linked_scripts/pst-pdf/ps4pdf \
- texk/texlive/linked_scripts/pst2pdf/pst2pdf.pl \
- texk/texlive/linked_scripts/ptex2pdf/ptex2pdf.lua \
- texk/texlive/linked_scripts/purifyeps/purifyeps \
- texk/texlive/linked_scripts/pythontex/depythontex.py \
- texk/texlive/linked_scripts/pythontex/pythontex.py \
- texk/texlive/linked_scripts/rubik/rubikrotation.pl \
- texk/texlive/linked_scripts/scripts.lst \
- texk/texlive/linked_scripts/simpdftex/simpdftex \
- texk/texlive/linked_scripts/splitindex/splitindex.pl \
- texk/texlive/linked_scripts/sty2dtx/sty2dtx.pl \
- texk/texlive/linked_scripts/svn-multi/svn-multi.pl \
- texk/texlive/linked_scripts/texcount/texcount.pl \
- texk/texlive/linked_scripts/texdef/texdef.pl \
- texk/texlive/linked_scripts/texdiff/texdiff \
- texk/texlive/linked_scripts/texdirflatten/texdirflatten \
- texk/texlive/linked_scripts/texdoc/texdoc.tlu \
- texk/texlive/linked_scripts/texfot/texfot.pl \
- texk/texlive/linked_scripts/texlive/rungs.tlu \
- texk/texlive/linked_scripts/texlive/tlmgr.pl \
- texk/texlive/linked_scripts/texlive/updmap.pl \
- texk/texlive/linked_scripts/texliveonfly/texliveonfly.py \
- texk/texlive/linked_scripts/texloganalyser/texloganalyser \
- texk/texlive/linked_scripts/thumbpdf/thumbpdf.pl \
- texk/texlive/linked_scripts/typeoutfileinfo/typeoutfileinfo.sh \
- texk/texlive/linked_scripts/ulqda/ulqda.pl \
- texk/texlive/linked_scripts/urlbst/urlbst \
- texk/texlive/linked_scripts/vpe/vpe.pl
+SHEBANG_FILES= texk/texlive/linked_scripts/accfonts/mkt1font \
+ texk/texlive/linked_scripts/accfonts/vpl2ovp \
+ texk/texlive/linked_scripts/accfonts/vpl2vpl \
+ texk/texlive/linked_scripts/arara/arara.sh \
+ texk/texlive/linked_scripts/bibexport/bibexport.sh \
+ texk/texlive/linked_scripts/convbkmk/convbkmk.rb \
+ texk/texlive/linked_scripts/ctanupload/ctanupload.pl \
+ texk/texlive/linked_scripts/de-macro/de-macro \
+ texk/texlive/linked_scripts/dtxgen/dtxgen \
+ texk/texlive/linked_scripts/exceltex/exceltex \
+ texk/texlive/linked_scripts/findhyph/findhyph \
+ texk/texlive/linked_scripts/fragmaster/fragmaster.pl \
+ texk/texlive/linked_scripts/installfont/installfont-tl \
+ texk/texlive/linked_scripts/kotex-utils/jamo-normalize.pl \
+ texk/texlive/linked_scripts/latexpand/latexpand \
+ texk/texlive/linked_scripts/ltxfileinfo/ltxfileinfo \
+ texk/texlive/linked_scripts/lua2dox/lua2dox_filter \
+ texk/texlive/linked_scripts/mathspic/mathspic.pl \
+ texk/texlive/linked_scripts/mf2pt1/mf2pt1.pl \
+ texk/texlive/linked_scripts/multibibliography/multibibliography.pl \
+ texk/texlive/linked_scripts/rubik/rubikrotation.pl \
+ texk/texlive/linked_scripts/splitindex/splitindex.pl \
+ texk/texlive/linked_scripts/svn-multi/svn-multi.pl \
+ texk/texlive/linked_scripts/texdirflatten/texdirflatten \
+ texk/texlive/linked_scripts/ulqda/ulqda.pl \
+ texk/texlive/linked_scripts/urlbst/urlbst \
+ texk/texlive/linked_scripts/yplan/yplan
+
INFO= dvipng tlbuild
post-patch:
- cd ${WRKSRC}/texk/texlive/tl_scripts && \
+ cd ${WRKSRC}/texk/texlive && \
${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' \
- fmtutil-sys.sh texconfig-sys.sh updmap-sys.sh
+ linked_scripts/texlive/fmtutil-sys.sh \
+ tl_scripts/texconfig-sys.sh \
+ linked_scripts/texlive/updmap-sys.sh
post-install-fmtutil:
for D in ${TEXHASHDIRS}; do \
@@ -257,7 +141,7 @@ post-install-fmtutil:
${MKDIR} ${STAGEDIR}${PREFIX}/${TEXMFCONFIGDIR}/web2c
${TOUCH} ${STAGEDIR}${PREFIX}/${TEXMFCONFIGDIR}/web2c/.keep_me
${INSTALL_DATA} ${STAGEDIR}${PREFIX}/${TEXMFDISTDIR}/web2c/fmtutil.cnf \
- ${STAGEDIR}${PREFIX}/${FMTUTIL_CNF}
+ ${STAGEDIR}${PREFIX}/${FMTUTIL_CNF}
post-install: post-install-fmtutil
.ORDER: post-install-fmtutil do-texhash