1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/Keywords/rmtry.ucl
Baptiste Daroussin c4526308ea Convert rmtry into regular Keyword
Note that this allows to control when it is executed (always in post-installation)
This makes @rmtry accept both absolute path and relative path (to latest prefix/cwd)

While here now that it is not used, remove the old PLIST_REINPLACE macro

Reviewed by:	antoine
Differential Revision:	https://reviews.freebsd.org/D713
2014-09-03 05:16:13 +00:00

12 lines
183 B
Plaintext

# $FreeBSD$
#
# MAINTAINER: portmgr@FreeBSD.org
actions: []
post-deinstall: <<EOD
case "%@" in
/*) f="%@" ;;
*) f="%D/%@" ;;
esac
/bin/rm -f $f 2>/dev/null || /usr/bin/true
EOD