mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
c4526308ea
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
12 lines
183 B
Plaintext
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
|