mirror of
https://git.freebsd.org/ports.git
synced 2025-06-05 21:00:30 -04:00
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>
This commit is contained in:
parent
3afa681d1b
commit
4e9969ca72
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179249
3 changed files with 7 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue