aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-03-03 21:11:08 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-03-03 21:11:08 +0800
commitaa79762894fee689d7b46b310180fd210c504146 (patch)
treed3def8d8b1bd4575012af5a79aff273264c763f8 /sysutils
parent6f5e21ccf458edeb0148007382906520ab35191a (diff)
downloadfreebsd-ports-gnome-aa79762894fee689d7b46b310180fd210c504146.tar.gz
freebsd-ports-gnome-aa79762894fee689d7b46b310180fd210c504146.tar.zst
freebsd-ports-gnome-aa79762894fee689d7b46b310180fd210c504146.zip
Support staging
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/istatd/Makefile22
1 files changed, 10 insertions, 12 deletions
diff --git a/sysutils/istatd/Makefile b/sysutils/istatd/Makefile
index d657992cf8db..b3e71b671cdd 100644
--- a/sysutils/istatd/Makefile
+++ b/sysutils/istatd/Makefile
@@ -14,21 +14,19 @@ LIB_DEPENDS= xml2:${PORTSDIR}/textproc/libxml2
GNU_CONFIGURE= yes
USE_RC_SUBR= ${PORTNAME}
-MAN1= istatd.1
-MAN5= istat.conf.5
+PLIST_FILES= bin/istatd etc/istat.conf-dist man/man1/istatd.1.gz \
+ man/man5/istat.conf.5.gz
-PLIST_FILES= bin/istatd etc/istat.conf-dist
SUB_FILES+= pkg-message
-NO_STAGE= yes
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/istatd ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKDIR}/istatd ${PREFIX}/etc/rc.d
- ${INSTALL_DATA} ${WRKSRC}/resource/istat.conf ${PREFIX}/etc/istat.conf-dist
- ${INSTALL_MAN} ${WRKSRC}/resource/istatd.1 ${MAN1PREFIX}/man/man1
- ${INSTALL_MAN} ${WRKSRC}/resource/istat.conf.5 ${MAN5PREFIX}/man/man5
-
-post-install:
- @${CAT} ${PKGMESSAGE}
+ ${INSTALL_PROGRAM} ${WRKSRC}/istatd ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKDIR}/istatd ${STAGEDIR}${PREFIX}/etc/rc.d
+ ${INSTALL_DATA} ${WRKSRC}/resource/istat.conf \
+ ${STAGEDIR}${PREFIX}/etc/istat.conf-dist
+ ${INSTALL_MAN} ${WRKSRC}/resource/istatd.1 \
+ ${STAGEDIR}${MANPREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/resource/istat.conf.5 \
+ ${STAGEDIR}${MANPREFIX}/man/man5
.include <bsd.port.mk>