summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print/texlive-base/Makefile3
-rw-r--r--print/texlive-base/pkg-plist2
2 files changed, 3 insertions, 2 deletions
diff --git a/print/texlive-base/Makefile b/print/texlive-base/Makefile
index 48c4d43c70c5..21da0872f9de 100644
--- a/print/texlive-base/Makefile
+++ b/print/texlive-base/Makefile
@@ -2,7 +2,7 @@
PORTNAME= texlive
PORTVERSION= 20120701
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= print
MASTER_SITES= ftp://tug.org/historic/systems/texlive/2012/
PKGNAMESUFFIX= -base
@@ -118,6 +118,7 @@ post-patch:
post-install:
${MKDIR} ${PREFIX}/${TEXMFCONFIGDIR}/web2c
+ ${TOUCH} ${PREFIX}/${TEXMFCONFIGDIR}/web2c/.keep_me
${INSTALL_DATA} ${PREFIX}/${TEXMFDIR}/web2c/fmtutil.cnf \
${PREFIX}/${FMTUTIL_CNF}
diff --git a/print/texlive-base/pkg-plist b/print/texlive-base/pkg-plist
index 50a414f30e51..f17772af3823 100644
--- a/print/texlive-base/pkg-plist
+++ b/print/texlive-base/pkg-plist
@@ -325,7 +325,7 @@ bin/xdvipdfmx
%%TEXMFDIR%%/scripts/texlive/rungs.tlu
%%TEXMFDIR%%/scripts/texlive/tlmgr.pl
%%TEXMFDIR%%/web2c/fmtutil.cnf
-@exec /bin/mkdir -p %%TEXMFCONFIGDIR%%/web2c
+%%TEXMFCONFIGDIR%%/web2c/.keep_me
@exec %%INSTALL_DATA%% %D/%%TEXMFDIR%%/web2c/fmtutil.cnf %D/%%FMTUTIL_CNF%%
@unexec /bin/rm -f %D/%%FMTUTIL_CNF%%
@dirrmtry %%TEXMFCONFIGDIR%%/web2c