aboutsummaryrefslogtreecommitdiffstats
path: root/print/texlive-base
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2013-05-21 15:30:16 +0800
committerhrs <hrs@FreeBSD.org>2013-05-21 15:30:16 +0800
commit9b6f7f57232289c6be208a80682a7e735033423e (patch)
tree2a55be12211f131d52f492b3af9095d10a6d110b /print/texlive-base
parenta57c001d49d8a813b022f179e69e55de1115b9f1 (diff)
downloadfreebsd-ports-gnome-9b6f7f57232289c6be208a80682a7e735033423e.tar.gz
freebsd-ports-gnome-9b6f7f57232289c6be208a80682a7e735033423e.tar.zst
freebsd-ports-gnome-9b6f7f57232289c6be208a80682a7e735033423e.zip
Add USE_TEX=texhash-bootstrap to fix initial ls-R file catalog generation.
Diffstat (limited to 'print/texlive-base')
-rw-r--r--print/texlive-base/Makefile9
-rw-r--r--print/texlive-base/pkg-plist3
2 files changed, 6 insertions, 6 deletions
diff --git a/print/texlive-base/Makefile b/print/texlive-base/Makefile
index 21da0872f9de..4b86564b5f7c 100644
--- a/print/texlive-base/Makefile
+++ b/print/texlive-base/Makefile
@@ -2,7 +2,7 @@
PORTNAME= texlive
PORTVERSION= 20120701
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= print
MASTER_SITES= ftp://tug.org/historic/systems/texlive/2012/
PKGNAMESUFFIX= -base
@@ -23,7 +23,7 @@ LIB_DEPENDS= icuio:${PORTSDIR}/devel/icu \
png15:${PORTSDIR}/graphics/png \
zzip:${PORTSDIR}/devel/zziplib
-USE_TEX= texlive web2c kpathsea ptexenc texhash
+USE_TEX= texlive web2c kpathsea ptexenc texhash-bootstrap
USE_XZ= yes
USE_GMAKE= yes
USE_AUTOTOOLS= autoconf
@@ -116,10 +116,13 @@ post-patch:
texk/tetex/texconfig-sys \
texk/tetex/updmap-sys.sh
-post-install:
+post-install-fmtutil:
${MKDIR} ${PREFIX}/${TEXMFCONFIGDIR}/web2c
${TOUCH} ${PREFIX}/${TEXMFCONFIGDIR}/web2c/.keep_me
${INSTALL_DATA} ${PREFIX}/${TEXMFDIR}/web2c/fmtutil.cnf \
${PREFIX}/${FMTUTIL_CNF}
+post-install: post-install-fmtutil
+.ORDER: post-install-fmtutil do-texhash
+
.include <bsd.port.mk>
diff --git a/print/texlive-base/pkg-plist b/print/texlive-base/pkg-plist
index f17772af3823..534dce48a285 100644
--- a/print/texlive-base/pkg-plist
+++ b/print/texlive-base/pkg-plist
@@ -329,7 +329,6 @@ bin/xdvipdfmx
@exec %%INSTALL_DATA%% %D/%%TEXMFDIR%%/web2c/fmtutil.cnf %D/%%FMTUTIL_CNF%%
@unexec /bin/rm -f %D/%%FMTUTIL_CNF%%
@dirrmtry %%TEXMFCONFIGDIR%%/web2c
-@unexec /bin/rm -f %D/%%TEXMFCONFIGDIR%%/ls-R
@dirrmtry %%TEXMFCONFIGDIR%%
@dirrmtry %%TEXMFDISTDIR%%/scripts/accfonts
@dirrmtry %%TEXMFDISTDIR%%/scripts/authorindex
@@ -405,5 +404,3 @@ bin/xdvipdfmx
@dirrmtry %%TEXMFDIR%%/scripts/texdoc
@dirrmtry %%TEXMFDIR%%/scripts/texlive
@dirrmtry %%TEXMFDIR%%/scripts
-@exec /bin/rm -f %%TEXMFVARDIR%%/ls-R
-@dirrmtry %%TEXMFVARDIR%%