diff --git a/www/hinventory-client/Makefile b/www/hinventory-client/Makefile index 3065317587eb..09c91e258828 100644 --- a/www/hinventory-client/Makefile +++ b/www/hinventory-client/Makefile @@ -13,10 +13,10 @@ COMMENT= H-Inventory Client for FreeBSD NO_BUILD= yes WRKSRC= ${WRKDIR}/hinventoryFreeBSD -NO_STAGE= yes do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/hinventory_FreeBSD.sh \ - ${PREFIX}/bin/hinventory_FreeBSD.sh - ${INSTALL_DATA} ${WRKSRC}/hinventory.conf ${PREFIX}/etc/hinventory.conf + @${INSTALL_SCRIPT} ${WRKSRC}/hinventory_FreeBSD.sh \ + ${STAGEDIR}${PREFIX}/bin/hinventory_FreeBSD.sh + @${INSTALL_DATA} ${WRKSRC}/hinventory.conf ${STAGEDIR}${PREFIX}/etc/hinventory.conf.sample + @${MKDIR} ${STAGEDIR}/var/spool/hinventory .include diff --git a/www/hinventory-client/pkg-plist b/www/hinventory-client/pkg-plist index 332e56a7a03f..c6670fbaf9e2 100644 --- a/www/hinventory-client/pkg-plist +++ b/www/hinventory-client/pkg-plist @@ -1,5 +1,5 @@ bin/hinventory_FreeBSD.sh -etc/hinventory.conf +@sample etc/hinventory.conf.sample @cwd / @exec mkdir -p %D/var/spool/hinventory @dirrmtry var/spool/hinventory