Skip to content
Newer
Older
100644 65 lines (56 sloc) 2.06 KB
27461ad Cricket is a high performance, extremely flexible system for monitoring
torstenb authored Feb 13, 2000
1 # New ports collection makefile for: Cricket
2 # Date created: 20 November 1999
3 # Whom: torstenb
4 #
ad13547 - update to 1.0.4.p1
petef authored Jun 8, 2002
5 # $FreeBSD$
27461ad Cricket is a high performance, extremely flexible system for monitoring
torstenb authored Feb 13, 2000
6 #
7
a22a7c4 Update with the new PORTNAME/PORTVERSION variables
cpiazza authored Apr 9, 2000
8 PORTNAME= cricket
3a477de - Update to 1.0.5
pav authored Apr 17, 2004
9 PORTVERSION= 1.0.5
37e8112 * Sort RUN_DEPENDS.
ijliao authored Nov 9, 2004
10 PORTREVISION= 1
3935241 @gwollman Say hello to the new "net-mgmt" category. There are probably more
gwollman authored Feb 23, 2004
11 CATEGORIES= net-mgmt
549feeb update cricket to 1.4.0.p2
oliver authored Jun 15, 2003
12 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
13 MASTER_SITE_SUBDIR= ${PORTNAME}
b897f0f - Update to 1.0.4
pav authored Dec 21, 2003
14 DISTNAME= ${PORTNAME}-${PORTVERSION}
27461ad Cricket is a high performance, extremely flexible system for monitoring
torstenb authored Feb 13, 2000
15
e03968d Remove jseger and torstenb from maintainership of their ports, they
dwcjr authored Sep 17, 2001
16 MAINTAINER= ports@FreeBSD.org
e135416 @knu De-pkg-comment.
knu authored Feb 20, 2003
17 COMMENT= A high performance, extremely flexible monitoring system
27461ad Cricket is a high performance, extremely flexible system for monitoring
torstenb authored Feb 13, 2000
18
37e8112 * Sort RUN_DEPENDS.
ijliao authored Nov 9, 2004
19 RUN_DEPENDS= ${SITE_PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
a37a552 Use correct paths to dependencies.
sobomax authored Mar 16, 2001
20 ${SITE_PERL_ARCH}/RRDs.pm:${PORTSDIR}/net/rrdtool \
37e8112 * Sort RUN_DEPENDS.
ijliao authored Nov 9, 2004
21 ${SITE_PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \
efa8b27 @wca Update to 1.0.2.
wca authored Aug 18, 2000
22 ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
37e8112 * Sort RUN_DEPENDS.
ijliao authored Nov 9, 2004
23 ${SITE_PERL}/SNMP_Session.pm:${PORTSDIR}/net-mgmt/p5-SNMP_Session \
24 ${SITE_PERL}/Time/Zone.pm:${PORTSDIR}/devel/p5-TimeDate
a37a552 Use correct paths to dependencies.
sobomax authored Mar 16, 2001
25
e6a4161 utilize SITE_PERL
ijliao authored Oct 24, 2003
26 SITE_PERL_ARCH= ${SITE_PERL}/${PERL_ARCH}
27461ad Cricket is a high performance, extremely flexible system for monitoring
torstenb authored Feb 13, 2000
27
ad13547 - update to 1.0.4.p1
petef authored Jun 8, 2002
28 HAS_CONFIGURE= yes
27461ad Cricket is a high performance, extremely flexible system for monitoring
torstenb authored Feb 13, 2000
29 USE_PERL5= yes
ad13547 - update to 1.0.4.p1
petef authored Jun 8, 2002
30 NO_BUILD= yes
31 PLIST_SUB+= VERSION=${PORTVERSION}
37e8112 * Sort RUN_DEPENDS.
ijliao authored Nov 9, 2004
32 CRICKET_USER?= wwwadm
33 CRICKET_UID?= 81
34 CRICKET_GROUP?= www
35 CRICKET_GID?= 80
27461ad Cricket is a high performance, extremely flexible system for monitoring
torstenb authored Feb 13, 2000
36
37 do-install:
37e8112 * Sort RUN_DEPENDS.
ijliao authored Nov 9, 2004
38 @PREFIX="${PREFIX}" USER="${CRICKET_USER}" GROUP="${CRICKET_GROUP}" \
39 UID="${CRICKET_UID}" GID="${CRICKET_GID}" ${SH} \
40 ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
ad13547 - update to 1.0.4.p1
petef authored Jun 8, 2002
41 @${MKDIR} -m 755 ${PREFIX}/cricket/cricket-${PORTVERSION}
42 @${CP} -R ${WRKSRC}/* ${PREFIX}/cricket/cricket-${PORTVERSION}
bd19a4f find->${FIND},xargs->${XARGS}
ijliao authored Sep 29, 2002
43 @${FIND} ${PREFIX}/cricket/cricket-${PORTVERSION} -name \*.orig -or \
44 -name \*.bak | ${XARGS} ${RM} -f
ad13547 - update to 1.0.4.p1
petef authored Jun 8, 2002
45 ${CHOWN} -R ${CRICKET_USER}:${CRICKET_GROUP} ${PREFIX}/cricket
46 @if [ -L ${PREFIX}/cricket/cricket ]; then \
5f6e0af add missing backslash
ijliao authored Nov 9, 2004
47 ${ECHO_MSG} "Updating ${PREFIX}/cricket/cricket symbolic link"; \
48 ${RM} ${PREFIX}/cricket/cricket; \
ad13547 - update to 1.0.4.p1
petef authored Jun 8, 2002
49 fi
50 ${LN} -s ${PREFIX}/cricket/cricket-${PORTVERSION} \
51 ${PREFIX}/cricket/cricket
52 @if [ -f ${LOCALBASE}/cricket/compile ] ; then \
5f6e0af add missing backslash
ijliao authored Nov 9, 2004
53 ${ECHO_MSG} "You should migrate manually to use new cricket"; \
54 ${ECHO_MSG} "installation scheme."; \
ad13547 - update to 1.0.4.p1
petef authored Jun 8, 2002
55 fi
27461ad Cricket is a high performance, extremely flexible system for monitoring
torstenb authored Feb 13, 2000
56
5d1e6a4 I forgot to update the files on freefall before the import.
torstenb authored Feb 13, 2000
57 post-install:
ad13547 - update to 1.0.4.p1
petef authored Jun 8, 2002
58 @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/cricket-conf.pl.sample \
37e8112 * Sort RUN_DEPENDS.
ijliao authored Nov 9, 2004
59 > ${PREFIX}/etc/cricket-conf.pl.dist
ad13547 - update to 1.0.4.p1
petef authored Jun 8, 2002
60 @${SED} -e 's,%%PREFIX%%,${PREFIX},' ${FILESDIR}/pkg-message.in > \
61 ${PKGMESSAGE}
62 @${CAT} ${PKGMESSAGE}
5d1e6a4 I forgot to update the files on freefall before the import.
torstenb authored Feb 13, 2000
63
27461ad Cricket is a high performance, extremely flexible system for monitoring
torstenb authored Feb 13, 2000
64 .include <bsd.port.mk>
Something went wrong with that request. Please try again.