aboutsummaryrefslogtreecommitdiffstats
path: root/print/tex-texmflocal/files
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-01-26 04:02:42 +0800
committerkrion <krion@FreeBSD.org>2004-01-26 04:02:42 +0800
commit658dcc57925a9c5c989d8985eaa666e24ff5e0e8 (patch)
tree6c9101bbf332f6b188b36afa7b24c71924df613c /print/tex-texmflocal/files
parentac931cac70b6549ff963a72bd924c4a793c3e646 (diff)
downloadfreebsd-ports-gnome-658dcc57925a9c5c989d8985eaa666e24ff5e0e8.tar.gz
freebsd-ports-gnome-658dcc57925a9c5c989d8985eaa666e24ff5e0e8.tar.zst
freebsd-ports-gnome-658dcc57925a9c5c989d8985eaa666e24ff5e0e8.zip
Add tex-texmflocal 1.0,
This is a meta-port to create a site-local $TEXMF directory, which is used to store site-local fonts, macro packages, and configurations. PR: ports/61892 Submitted by: hrs@FreeBSD.org
Diffstat (limited to 'print/tex-texmflocal/files')
-rw-r--r--print/tex-texmflocal/files/pkg-install.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/print/tex-texmflocal/files/pkg-install.in b/print/tex-texmflocal/files/pkg-install.in
new file mode 100644
index 000000000000..9327d9d0867c
--- /dev/null
+++ b/print/tex-texmflocal/files/pkg-install.in
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+case $2 in
+POST-INSTALL|DEINSTALL)
+ echo "fixup %%TEXMFLOCAL_LSR%%..."
+ T=/tmp/tex-texmflocal.$$
+ cat %%TEXMFLOCAL_LSR%% | grep -v "./lsR[0-9]*.tmp": > ${T}
+ cp ${T} %%TEXMFLOCAL_LSR%%
+ rm -f ${T}
+;;
+esac