1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Make @info cross install friendly

This commit is contained in:
Baptiste Daroussin 2015-10-22 13:30:32 +00:00
parent ec1fef4d64
commit 5ac9cf8793
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=399974

View File

@ -8,12 +8,12 @@ post-install: <<EOD
/*) file="%@" ;;
*) file="%D/%@" ;;
esac
indexinfo ${file%/*}
indexinfo ${PKG_ROOTDIR}${file%/*}
EOD
post-deinstall: <<EOD
case "%@" in
/*) file="%@" ;;
*) file="%D/%@" ;;
esac
indexinfo ${file%/*}
indexinfo ${PKG_ROOTDIR}${file%/*}
EOD