Use mv instead of install to avoid stale files in stagedir.

This commit is contained in:
Adam Weinberger 2014-07-31 12:23:03 +00:00
parent 112bc55ef4
commit e97feab3f9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363575

View File

@ -94,9 +94,9 @@ post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/ruby/* ${STAGEDIR}${EXAMPLESDIR}
.endif
@${INSTALL_DATA} ${WRKSRC}/conf/kismet.conf \
@${MV} ${STAGEDIR}${PREFIX}/etc/kismet.conf \
${STAGEDIR}${PREFIX}/etc/kismet.conf.sample
@${INSTALL_DATA} ${WRKSRC}/conf/kismet_drone.conf \
@${MV} ${STAGEDIR}${PREFIX}/etc/kismet_drone.conf \
${STAGEDIR}${PREFIX}/etc/kismet_drone.conf.sample
.include <bsd.port.mk>