diff options
author | scrappy <scrappy@FreeBSD.org> | 2006-12-09 14:06:13 +0800 |
---|---|---|
committer | scrappy <scrappy@FreeBSD.org> | 2006-12-09 14:06:13 +0800 |
commit | 8281a3bce61d691a0793b6c7aa4fa805958394cc (patch) | |
tree | b683d9570e2d8ec1300e7c9245da81339e39b8a4 /sysutils/bsdstats | |
parent | fcb3be19341e044e08d9da5ab936bf455e7e9be4 (diff) | |
download | freebsd-ports-gnome-8281a3bce61d691a0793b6c7aa4fa805958394cc.tar.gz freebsd-ports-gnome-8281a3bce61d691a0793b6c7aa4fa805958394cc.tar.zst freebsd-ports-gnome-8281a3bce61d691a0793b6c7aa4fa805958394cc.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>
Diffstat (limited to 'sysutils/bsdstats')
-rw-r--r-- | sysutils/bsdstats/Makefile | 7 | ||||
-rw-r--r-- | sysutils/bsdstats/files/pkg-message.in | 2 | ||||
-rw-r--r-- | sysutils/bsdstats/pkg-message | 2 |
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 |