mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
b6ee174661
- Include project's description in pkg-desc, not pkg-message.in - Change default answer to each reporting question to yes - Fix tests for /etc/periodic.conf and /etc/rc.conf - Clean up interactive prompts during installation - Bump PORTREVISION PR: ports/171015 Submitted by: bsdstats@nanoman.ca (maintainer) Reported by: 2A <deuza at fr dot FreeBSD dot org> [1]
32 lines
733 B
Makefile
32 lines
733 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
|
|
PORTREVISION= 3
|
|
CATEGORIES= sysutils
|
|
DISTFILES=
|
|
|
|
MAINTAINER= bsdstats@nanoman.ca
|
|
COMMENT= Monthly script for reporting anonymous statistics about your machine
|
|
|
|
NO_BUILD= yes
|
|
USE_RC_SUBR= bsdstats
|
|
SUB_FILES= 300.statistics pkg-message
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/etc/periodic/monthly
|
|
${INSTALL_SCRIPT} ${WRKDIR}/300.statistics ${PREFIX}/etc/periodic/monthly
|
|
post-install:
|
|
.if defined(BATCH) || defined(PACKAGE_BUILDING)
|
|
@${CAT} ${PKGMESSAGE}
|
|
.else
|
|
@PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|