Lines 7-21
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= smokeping |
8 |
PORTNAME= smokeping |
9 |
PORTVERSION= 2.6.7 |
9 |
PORTVERSION= 2.6.7 |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= net-mgmt www |
11 |
CATEGORIES= net-mgmt www |
11 |
MASTER_SITES= http://oss.oetiker.ch/smokeping/pub/ \ |
12 |
MASTER_SITES= http://oss.oetiker.ch/smokeping/pub/ \ |
12 |
http://smokeping.cs.pu.edu.tw/pub/ |
13 |
http://smokeping.cs.pu.edu.tw/pub/ |
13 |
|
14 |
|
14 |
MAINTAINER= ports@FreeBSD.org |
15 |
MAINTAINER= rodrigo@bebik.net |
15 |
COMMENT= Latency logging and graphing system |
16 |
COMMENT= Latency logging and graphing system |
16 |
|
17 |
|
17 |
RUN_DEPENDS= rrdtool:${PORTSDIR}/databases/rrdtool \ |
18 |
LIB_DEPENDS= rrd.6:${PORTSDIR}/databases/rrdtool |
18 |
p5-CGI-Session>0:${PORTSDIR}/www/p5-CGI-Session \ |
19 |
BUILD_DEPENDS= p5-CGI-Session>0:${PORTSDIR}/www/p5-CGI-Session \ |
19 |
p5-Digest-HMAC>0:${PORTSDIR}/security/p5-Digest-HMAC \ |
20 |
p5-Digest-HMAC>0:${PORTSDIR}/security/p5-Digest-HMAC \ |
20 |
p5-SNMP_Session>0:${PORTSDIR}/net-mgmt/p5-SNMP_Session \ |
21 |
p5-SNMP_Session>0:${PORTSDIR}/net-mgmt/p5-SNMP_Session \ |
21 |
p5-libwww>0:${PORTSDIR}/www/p5-libwww \ |
22 |
p5-libwww>0:${PORTSDIR}/www/p5-libwww \ |
Lines 23-28
Link Here
|
23 |
p5-FCGI>0:${PORTSDIR}/www/p5-FCGI \ |
24 |
p5-FCGI>0:${PORTSDIR}/www/p5-FCGI \ |
24 |
p5-Config-Grammar>0:${PORTSDIR}/devel/p5-Config-Grammar \ |
25 |
p5-Config-Grammar>0:${PORTSDIR}/devel/p5-Config-Grammar \ |
25 |
p5-Socket6>0:${PORTSDIR}/net/p5-Socket6 |
26 |
p5-Socket6>0:${PORTSDIR}/net/p5-Socket6 |
|
|
27 |
RUN_DEPENDS:= ${BUILD_DEPENDS} |
26 |
|
28 |
|
27 |
USE_PERL5= yes |
29 |
USE_PERL5= yes |
28 |
USE_GMAKE= yes |
30 |
USE_GMAKE= yes |
Lines 157-169
Link Here
|
157 |
|
159 |
|
158 |
post-patch: |
160 |
post-patch: |
159 |
${REINPLACE_CMD} ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ |
161 |
${REINPLACE_CMD} ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ |
160 |
${WRKSRC}/doc/Makefile.in |
162 |
${WRKSRC}/doc/Makefile.in \ |
|
|
163 |
${WRKSRC}/bin/smokeping \ |
164 |
${WRKSRC}/bin/smokeping_cgi \ |
165 |
${WRKSRC}/bin/tSmoke |
161 |
|
166 |
|
162 |
post-install: |
167 |
post-install: |
163 |
.for FILE in basepage.html config smokemail tmail |
168 |
.for FILE in basepage.html config smokemail tmail |
164 |
[ -f ${ETCDIR}/${FILE} ] || ${CP} ${ETCDIR}/${FILE}.dist ${ETCDIR}/${FILE} |
169 |
[ -f ${ETCDIR}/${FILE} ] || ${CP} ${ETCDIR}/${FILE}.dist ${ETCDIR}/${FILE} |
165 |
.endfor |
170 |
.endfor |
166 |
[ -f ${PREFIX}/smokeping/htdocs/smokeping.fcgi ] || ${CP} ${PREFIX}/smokeping/htdocs/smokeping.fcgi.dist ${PREFIX}/smokeping/htdocs/smokeping.fcgi |
171 |
[ -f ${PREFIX}/smokeping/htdocs/smokeping.fcgi ] || ${CP} ${PREFIX}/smokeping/htdocs/smokeping.fcgi.dist ${PREFIX}/smokeping/htdocs/smokeping.fcgi |
|
|
172 |
${MKDIR} ${PREFIX}/smokeping/htdocs/img |
173 |
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/smokeping/htdocs |
167 |
.if !defined(BATCH) |
174 |
.if !defined(BATCH) |
168 |
${CAT} ${PKGMESSAGE} |
175 |
${CAT} ${PKGMESSAGE} |
169 |
.endif |
176 |
.endif |