On 27/05/2014 04:37, Perry Hutchison wrote: > post-install: > - @[ -f ${PREFIX}/etc/diskcheckd.conf ] \ > - || ${CP} -p ${PREFIX}/etc/diskcheckd.conf.sample \ > - ${PREFIX}/etc/diskcheckd.conf > + @${CP} -p ${STAGEDIR}${PREFIX}/etc/diskcheckd.conf.sample \ > + ${STAGEDIR}${PREFIX}/etc/diskcheckd.conf
When converting a port to staging, you generally end up deleting post-install targets like the above. You only need diskcheckd.conf.sample in the staging area (and hence in the generated package). It's the @sample business in pkg-plist (or the equivalent @exec statements) which will perform this action when the package is finally installed on your system. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matt...@infracaninophile.co.uk
signature.asc
Description: OpenPGP digital signature