Lines 14-27
MAINTAINER= ports@FreeBSD.org
Link Here
|
14 |
COMMENT= Monthly script for reporting anonymous statistics about your machine |
14 |
COMMENT= Monthly script for reporting anonymous statistics about your machine |
15 |
|
15 |
|
16 |
NO_BUILD= yes |
16 |
NO_BUILD= yes |
|
|
17 |
SUB_FILES= 300.statistics bsdstats pkg-message |
17 |
|
18 |
|
18 |
do-install: |
19 |
do-install: |
19 |
${MKDIR} ${LOCALBASE}/etc/periodic/monthly |
20 |
${MKDIR} ${PREFIX}/etc/periodic/monthly |
20 |
${CP} ${FILESDIR}/300.statistics ${LOCALBASE}/etc/periodic/monthly |
21 |
${INSTALL_SCRIPT} ${WRKDIR}/300.statistics ${PREFIX}/etc/periodic/monthly |
21 |
${CP} ${FILESDIR}/bsdstats.sh ${LOCALBASE}/etc/rc.d |
22 |
${INSTALL_SCRIPT} ${WRKDIR}/bsdstats ${PREFIX}/etc/rc.d |
22 |
${CHMOD} 0755 ${LOCALBASE}/etc/rc.d/bsdstats.sh |
|
|
23 |
post-install: |
23 |
post-install: |
24 |
${CAT} ${PKGMESSAGE} |
24 |
@${CAT} ${PKGMESSAGE} |
25 |
.if defined(BATCH) || defined(PACKAGE_BUILDING) |
25 |
.if defined(BATCH) || defined(PACKAGE_BUILDING) |
26 |
@${ECHO_MSG} " To activate monthly statistics reporting in /etc/periodic.conf," |
26 |
@${ECHO_MSG} " To activate monthly statistics reporting in /etc/periodic.conf," |
27 |
@${ECHO_MSG} " execute the following as root user:" |
27 |
@${ECHO_MSG} " execute the following as root user:" |