aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-06-06 21:07:46 +0800
committermiwi <miwi@FreeBSD.org>2014-06-06 21:07:46 +0800
commit651c8f44b292c3716510d4fe07dbad153b91ace4 (patch)
tree9b4257270820917dc9b2a6e863b11858a780aad5 /www
parent4c79cf5f7a6ced03020eadfc47a88c8145ff25fc (diff)
downloadfreebsd-ports-gnome-651c8f44b292c3716510d4fe07dbad153b91ace4.tar.gz
freebsd-ports-gnome-651c8f44b292c3716510d4fe07dbad153b91ace4.tar.zst
freebsd-ports-gnome-651c8f44b292c3716510d4fe07dbad153b91ace4.zip
- Stage support
PR: 190141
Diffstat (limited to 'www')
-rw-r--r--www/hinventory-client/Makefile8
-rw-r--r--www/hinventory-client/pkg-plist2
2 files changed, 5 insertions, 5 deletions
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 <bsd.port.mk>
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