aboutsummaryrefslogtreecommitdiff
path: root/sysutils/sysinfo
diff options
context:
space:
mode:
authorDaniel Gerzo <danger@FreeBSD.org>2009-05-11 16:38:26 +0000
committerDaniel Gerzo <danger@FreeBSD.org>2009-05-11 16:38:26 +0000
commit33bea9d173bccc18e6dfcd487280b152627700a6 (patch)
tree3c5e2227d5e7796728498b075e7f6cdb23eb712b /sysutils/sysinfo
parent055650d3853c7e7ca5a4af699fbaee0fa78a48f5 (diff)
downloadports-33bea9d173bccc18e6dfcd487280b152627700a6.tar.gz
ports-33bea9d173bccc18e6dfcd487280b152627700a6.zip
Notes
Diffstat (limited to 'sysutils/sysinfo')
-rw-r--r--sysutils/sysinfo/Makefile16
-rw-r--r--sysutils/sysinfo/distinfo6
2 files changed, 16 insertions, 6 deletions
diff --git a/sysutils/sysinfo/Makefile b/sysutils/sysinfo/Makefile
index 216994d0e126..5f0e344fb74d 100644
--- a/sysutils/sysinfo/Makefile
+++ b/sysutils/sysinfo/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= sysinfo
-PORTVERSION= 0.8.6
+PORTVERSION= 0.8.7
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://danger.rulez.sk/projects/sysinfo/
@@ -18,6 +18,9 @@ COMMENT= Utility used to gather system configuration information
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
+MAN5= sysinfo.conf.5
+MAN8= sysinfo.8
+
OPTIONS= DMIDECODE "Include information from the dmidecode tool" Off \
PORTAUDIT "Include information from the portaudit tool" Off
@@ -33,8 +36,10 @@ RUN_DEPENDS+= portaudit:${PORTSDIR}/ports-mgmt/portaudit
post-patch:
@${REINPLACE_CMD} -e 's|common.subr|${DATADIR}/common.subr|g' ${WRKSRC}/sysinfo
- @${REINPLACE_CMD} -e 's|sysinfo.conf|${PREFIX}/etc/sysinfo.conf|g' ${WRKSRC}/sysinfo
- @${REINPLACE_CMD} -e 's|APPDIR=.|APPDIR=${DATADIR}|g' ${WRKSRC}/sysinfo.conf
+ @${REINPLACE_CMD} -e 's|sysinfo.conf|${PREFIX}/etc/sysinfo.conf|g' \
+ ${WRKSRC}/sysinfo ${WRKSRC}/doc/sysinfo.conf.5
+ @${REINPLACE_CMD} -e 's|APPDIR=.|APPDIR=${DATADIR}|g' \
+ ${WRKSRC}/sysinfo.conf ${WRKSRC}/doc/sysinfo.conf.5
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/sysinfo ${PREFIX}/sbin
@@ -46,6 +51,11 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/LICENCE ${DATADIR}
(cd ${WRKSRC} && ${COPYTREE_BIN} modules ${DATADIR})
+.if !defined(NOPORTDOCS)
+ ${INSTALL_MAN} ${WRKSRC}/doc/sysinfo.conf.5 ${MANPREFIX}/man/man5
+ ${INSTALL_MAN} ${WRKSRC}/doc/sysinfo.8 ${MANPREFIX}/man/man8
+.endif
+
@if [ ! -f ${PREFIX}/etc/sysinfo.conf ]; then \
${CP} -p ${PREFIX}/etc/sysinfo.conf.sample ${PREFIX}/etc/sysinfo.conf ; \
fi
diff --git a/sysutils/sysinfo/distinfo b/sysutils/sysinfo/distinfo
index 58d57f4a69ef..b13955cc5b76 100644
--- a/sysutils/sysinfo/distinfo
+++ b/sysutils/sysinfo/distinfo
@@ -1,3 +1,3 @@
-MD5 (sysinfo-0.8.6.tar.gz) = 99c8d9feffe2234304bb1e89d65b5ca9
-SHA256 (sysinfo-0.8.6.tar.gz) = d58be1ee27c2441e0881074dd2db5a6cd1a9bc1df292741a0c11de67f59d51d3
-SIZE (sysinfo-0.8.6.tar.gz) = 11580
+MD5 (sysinfo-0.8.7.tar.gz) = d2d8a90557204fb88e08d417ae19c168
+SHA256 (sysinfo-0.8.7.tar.gz) = 6c87088d3776dfd79b82ff173ffd1bbe92d3296e355e19194ce272c9e1298a93
+SIZE (sysinfo-0.8.7.tar.gz) = 13601