On 2013/06/06 17:54, Chris Bennett wrote: > On Thu, Jun 06, 2013 at 11:32:08PM +0100, Stuart Henderson wrote: > > > > @comment is pretty much good enough, though an explicit rm in > > post-install would give a good place to add a comment explaining > > what the problem is to help with future updates. > > > > The upstream README actually says, 'These scripts are not > > installed by "make install"', so their readme seems incorrect. > > > > post-install: > # This script and man page are mistakenly installed > @rm ${PREFIX}/bin/latex-encode > @rm ${PREFIX}/man/man1/latex-encode.1 > > This was better. > ${PREFIX} OK to use? > Or should I use ${LOCALBASE}? > > Chris >
Yes, PREFIX. PREFIX is "files for this port", LOCALBASE is "some other port installed on the system already". I don't see any point in hiding the rm's with @'s..