aboutsummaryrefslogtreecommitdiff
path: root/sysutils/lmon
diff options
context:
space:
mode:
authorAnders Nordby <anders@FreeBSD.org>2005-04-18 19:42:10 +0000
committerAnders Nordby <anders@FreeBSD.org>2005-04-18 19:42:10 +0000
commitfd729c346da72ebf3b3e80b7931666cdce1e730c (patch)
treeaea83847dc68567b0a6cda9d4c1f56d34a51a765 /sysutils/lmon
parent6c14e6b649b36e596b723e9a14d7299f76a270a4 (diff)
Notes
Diffstat (limited to 'sysutils/lmon')
-rw-r--r--sysutils/lmon/Makefile4
-rw-r--r--sysutils/lmon/distinfo4
-rw-r--r--sysutils/lmon/pkg-message3
3 files changed, 6 insertions, 5 deletions
diff --git a/sysutils/lmon/Makefile b/sysutils/lmon/Makefile
index 7b597d614412..5ecd266a4919 100644
--- a/sysutils/lmon/Makefile
+++ b/sysutils/lmon/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= lmon
-PORTVERSION= 1.0
+PORTVERSION= 1.1
CATEGORIES= sysutils
MASTER_SITES= http://www.bsdconsulting.no/tools/
EXTRACT_SUFX= .tgz
@@ -19,6 +19,7 @@ RUN_DEPENDS= ${SITE_PERL}/Config/IniFiles.pm:${PORTSDIR}/devel/p5-Config-IniFile
${SITE_PERL}/File/Tail.pm:${PORTSDIR}/devel/p5-File-Tail
NO_BUILD= yes
+USE_REINPLACE= yes
do-install:
${INSTALL} -d -m 0755 ${PREFIX}/${PORTNAME}
@@ -26,6 +27,7 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/control.pl ${PREFIX}/${PORTNAME}/
${INSTALL_DATA} ${WRKSRC}/examples/control.cfg ${PREFIX}/${PORTNAME}/control.cfg.sample
${INSTALL_SCRIPT} ${WRKSRC}/examples/lmon.init ${PREFIX}/etc/rc.d/lmon.sh.sample
+ @${REINPLACE_CMD} -E -e "s@^(user=).*@\1\"root\"@;s@^(lmonhome=).*@\1\"${PREFIX}/${PORTNAME}\"@" ${PREFIX}/etc/rc.d/lmon.sh.sample
.if !defined(NOPORTDOCS)
${INSTALL} -d -m 0755 ${DOCSDIR}
.for f in LICENSE README TODO
diff --git a/sysutils/lmon/distinfo b/sysutils/lmon/distinfo
index 8a8c86775d43..914619e012ca 100644
--- a/sysutils/lmon/distinfo
+++ b/sysutils/lmon/distinfo
@@ -1,2 +1,2 @@
-MD5 (lmon-1.0.tgz) = 8f929f1260fa8f48938f86cc089896fa
-SIZE (lmon-1.0.tgz) = 8308
+MD5 (lmon-1.1.tgz) = 3cc6d402798a42f0f7307b6b0b82c513
+SIZE (lmon-1.1.tgz) = 8708
diff --git a/sysutils/lmon/pkg-message b/sysutils/lmon/pkg-message
index aff0e7517f8e..0e41e32b3086 100644
--- a/sysutils/lmon/pkg-message
+++ b/sysutils/lmon/pkg-message
@@ -2,7 +2,6 @@
LMon is now installed in /usr/local/lmon. You need to create configuration and
rulesets. See documentation under /usr/local/share/doc/lmon and examples under
-/usr/local/share/examples/lmon. Particularly, you need to set SMTP servers in
-in lmon.pl (plan to improve this soon).
+/usr/local/share/examples/lmon.
================================================================================