aboutsummaryrefslogtreecommitdiffstats
path: root/Keywords
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-07-05 01:35:18 +0800
committerbapt <bapt@FreeBSD.org>2014-07-05 01:35:18 +0800
commita4feb108b22468959fe7c7b4b9ddab2531e4dd31 (patch)
tree1f86cc582c2ad43d4c632315c51db0626c5a1005 /Keywords
parent1d245abad7f7ebc0d6a9c1b86a9c4a29dfad1f5b (diff)
downloadfreebsd-ports-gnome-a4feb108b22468959fe7c7b4b9ddab2531e4dd31.tar.gz
freebsd-ports-gnome-a4feb108b22468959fe7c7b4b9ddab2531e4dd31.tar.zst
freebsd-ports-gnome-a4feb108b22468959fe7c7b4b9ddab2531e4dd31.zip
Support stage for texlive, given it is impossible to rebuild the fmt files into
the stage then they are now rebuild in post-installation, like it is done in other package system
Diffstat (limited to 'Keywords')
-rw-r--r--Keywords/fmtutil.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/Keywords/fmtutil.yaml b/Keywords/fmtutil.yaml
new file mode 100644
index 000000000000..6e43c183851f
--- /dev/null
+++ b/Keywords/fmtutil.yaml
@@ -0,0 +1,13 @@
+# $FreeBSD$
+#
+# MAINTAINER: portmgr@FreeBSD.org
+
+actions: []
+post-install: |
+ fmtutil-sys --missing >/dev/null
+post-deinstall: |
+ set -- %@
+ for f in $@; do
+ rm -f $f
+ rmdir -p ${f%/*} 2>/dev/null
+ done