aboutsummaryrefslogtreecommitdiff
path: root/Keywords
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-07-04 17:35:18 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-07-04 17:35:18 +0000
commit2a0b64c7341e1c013ce6958160a24e2452a4c6c9 (patch)
tree1f86cc582c2ad43d4c632315c51db0626c5a1005 /Keywords
parent55ba0a2277c2739f61cf1f464a7051fadb36a60c (diff)
downloadports-2a0b64c7341e1c013ce6958160a24e2452a4c6c9.tar.gz
ports-2a0b64c7341e1c013ce6958160a24e2452a4c6c9.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
Notes
Notes: svn path=/head/; revision=360642
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