1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00
freebsd-ports/sysutils/bsdstats/Makefile
Pav Lucistnik 8424128942 - Set HTTP Timeout to prevent blocking
PR:		ports/136124
Submitted by:	Alexander Best <alexbestms@math.uni-muenster.de>
Feature safe:	yes
2009-09-18 21:19:34 +00:00

36 lines
999 B
Makefile

# New ports collection makefile for: bsdstats
# Date created: 5 August 2006
# Whom: Marc G. Fournier <scrappy@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= bsdstats
PORTVERSION= 5.5
CATEGORIES= sysutils
DISTFILES=
MAINTAINER= ports@FreeBSD.org
COMMENT= Monthly script for reporting anonymous statistics about your machine
NO_BUILD= yes
do-install:
${MKDIR} ${LOCALBASE}/etc/periodic/monthly
${CP} ${FILESDIR}/300.statistics ${LOCALBASE}/etc/periodic/monthly
${CP} ${FILESDIR}/bsdstats.sh ${LOCALBASE}/etc/rc.d
${CHMOD} 0755 ${LOCALBASE}/etc/rc.d/bsdstats.sh
post-install:
${CAT} ${PKGMESSAGE}
.if defined(BATCH) || defined(PACKAGE_BUILDING)
@${ECHO_MSG} " To activate monthly statistics reporting in /etc/periodic.conf,"
@${ECHO_MSG} " execute the following as root user:"
@${ECHO_MSG}
@${ECHO_MSG} "PKG_PREFIX=\"${PREFIX}\" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL"
@${ECHO_MSG}
.else
@PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.endif
.include <bsd.port.mk>