2014-07-24 19:10:57 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
# MAINTAINER: portmgr@FreeBSD.org
|
|
|
|
|
|
|
|
actions: [file]
|
|
|
|
post-install: <<EOD
|
2014-10-08 01:26:28 +02:00
|
|
|
case "%@" in
|
|
|
|
/*) file="%@" ;;
|
|
|
|
*) file="%D/%@" ;;
|
|
|
|
esac
|
2015-10-22 15:30:32 +02:00
|
|
|
indexinfo ${PKG_ROOTDIR}${file%/*}
|
2014-07-24 19:10:57 +02:00
|
|
|
EOD
|
|
|
|
post-deinstall: <<EOD
|
2014-10-08 01:26:28 +02:00
|
|
|
case "%@" in
|
|
|
|
/*) file="%@" ;;
|
|
|
|
*) file="%D/%@" ;;
|
|
|
|
esac
|
2015-10-22 15:30:32 +02:00
|
|
|
indexinfo ${PKG_ROOTDIR}${file%/*}
|
2014-07-24 19:10:57 +02:00
|
|
|
EOD
|