From 2a0b64c7341e1c013ce6958160a24e2452a4c6c9 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Fri, 4 Jul 2014 17:35:18 +0000 Subject: 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 --- Keywords/fmtutil.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Keywords/fmtutil.yaml (limited to 'Keywords') 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 -- cgit v1.2.3