aboutsummaryrefslogtreecommitdiff
path: root/sysutils/bsdstats
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@FreeBSD.org>2006-12-09 06:06:13 +0000
committerMarc G. Fournier <scrappy@FreeBSD.org>2006-12-09 06:06:13 +0000
commit4e9969ca72a0df7accadd2dc00422b8a87dac81e (patch)
tree051de6f716b8cf95b20a04e35006d6c5c2384427 /sysutils/bsdstats
parent3afa681d1bc80d218e28846df0d2bd3a4355657b (diff)
downloadports-4e9969ca72a0df7accadd2dc00422b8a87dac81e.tar.gz
ports-4e9969ca72a0df7accadd2dc00422b8a87dac81e.zip
Only depend on netcat if we are running an older version of FreeBSD
that doesn't already include it ... PR: ports/106446 Submitted by: KIMURA Yasuhiro <yasu@utahime.org>
Notes
Notes: svn path=/head/; revision=179249
Diffstat (limited to 'sysutils/bsdstats')
-rw-r--r--sysutils/bsdstats/Makefile7
-rw-r--r--sysutils/bsdstats/files/pkg-message.in2
-rw-r--r--sysutils/bsdstats/pkg-message2
3 files changed, 7 insertions, 4 deletions
diff --git a/sysutils/bsdstats/Makefile b/sysutils/bsdstats/Makefile
index 5a60b4b666ad..ab3f99263cdd 100644
--- a/sysutils/bsdstats/Makefile
+++ b/sysutils/bsdstats/Makefile
@@ -7,21 +7,24 @@
PORTNAME= bsdstats
PORTVERSION= 5.3
+PORTREVISION= 1
CATEGORIES= sysutils
DISTFILES=
MAINTAINER= scrappy@freebsd.org
COMMENT= Monthly script for reporting anonymous statistics about your machine
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 503102 || (${OSVERSION} >= 600000 && ${OSVERSION} < 600010)
RUN_DEPENDS= nc:${PORTSDIR}/net/netcat
+.endif
NO_BUILD= yes
PLIST_FILES= etc/periodic/monthly/300.statistics
PLIST_DIRS= etc/periodic/monthly \
etc/periodic
-.include <bsd.port.pre.mk>
-
do-install:
${MKDIR} ${LOCALBASE}/etc/periodic/monthly
${CP} ${FILESDIR}/300.statistics ${LOCALBASE}/etc/periodic/monthly
diff --git a/sysutils/bsdstats/files/pkg-message.in b/sysutils/bsdstats/files/pkg-message.in
index cf5eda09f142..6e1549974348 100644
--- a/sysutils/bsdstats/files/pkg-message.in
+++ b/sysutils/bsdstats/files/pkg-message.in
@@ -20,7 +20,7 @@ To enable ports reporting, add this line:
monthly_statistics_report_ports="YES"
To run it manually the first time, just run it as:
- /usr/local/etc/periodic/monthly/300.statistics
+ /usr/local/etc/periodic/monthly/300.statistics -nodelay
To view current statistics, go to:
http://www.bsdstats.org
diff --git a/sysutils/bsdstats/pkg-message b/sysutils/bsdstats/pkg-message
index cf5eda09f142..6e1549974348 100644
--- a/sysutils/bsdstats/pkg-message
+++ b/sysutils/bsdstats/pkg-message
@@ -20,7 +20,7 @@ To enable ports reporting, add this line:
monthly_statistics_report_ports="YES"
To run it manually the first time, just run it as:
- /usr/local/etc/periodic/monthly/300.statistics
+ /usr/local/etc/periodic/monthly/300.statistics -nodelay
To view current statistics, go to:
http://www.bsdstats.org