Prune devel/rubygem-debugger-xml
[dports.git] / sysutils / bsdstats / Makefile
1 # Created by: Marc G. Fournier <scrappy@FreeBSD.org>
2 # $FreeBSD$
3
4 PORTNAME=       bsdstats
5 PORTVERSION=    5.5
6 PORTREVISION=   5
7 CATEGORIES=     sysutils
8 DISTFILES=
9
10 MAINTAINER=     bsdstats@nanoman.ca
11 COMMENT=        Monthly script for reporting anonymous statistics about your machine
12
13 NO_BUILD=       yes
14 USE_RC_SUBR=    bsdstats
15 SUB_FILES=      300.statistics pkg-message
16 SUB_LIST+=      DIG=${DIG}
17
18 .include <bsd.port.pre.mk>
19
20 .if ${OSVERSION} >= 1000500
21 DIG=            drill
22 .else
23 DIG=            dig
24 .endif
25
26 do-install:
27         ${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/monthly
28         ${INSTALL_SCRIPT} ${WRKDIR}/300.statistics \
29                 ${STAGEDIR}${PREFIX}/etc/periodic/monthly
30
31 post-install:
32 .if ! defined(BATCH) && ! defined(PACKAGE_BUILDING)
33         @PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
34 .endif
35
36 .include <bsd.port.post.mk>