bfbea25172
scr_ipfm is a script written in php, used to graphically show amount of data downloaded by users in local network. To do that, it uses logs generated by ipfm program (ipfm is available at the address: http://robert.cheramy.net/ipfm/) scr_ipfm features: - sorting by field in, out, host and total - aggregated data of downloaded amount of data - daily, monthly, annually and global statistics WWW: http://scripfm.sourceforge.net/ PR: 58566 Submitted by: HSIN-HSIUNG CHANG <sexbear@tmu.edu.tw>
37 lines
828 B
Makefile
37 lines
828 B
Makefile
# New ports collection makefile for: scr_ipfm
|
|
# Date created: 27 Oct 2003
|
|
# Whom: HSIN-HSIUNG CHANG
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= scr_ipfm
|
|
PORTVERSION= 0.64
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= scripfm
|
|
|
|
MAINTAINER= sexbear@tmu.edu.tw
|
|
COMMENT= Use logs generated by ipfm to show data graphically
|
|
|
|
NO_BUILD= yes
|
|
MYADMDIR?= www/data/scr_ipfm
|
|
PLIST_SUB= MYADMDIR=${MYADMDIR}
|
|
PORTDOCS= BUGS COPYING ChangeLog README README_pl THANKS TODO
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.include "${.CURDIR}/../../lang/php4/bsd.php.mk"
|
|
|
|
do-install:
|
|
@${MKDIR} ${PREFIX}/${MYADMDIR}
|
|
${CP} -R ${WRKSRC}/[a-z]* ${PREFIX}/${MYADMDIR}
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
.endfor
|
|
@${CAT} ${PKGMESSAGE}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|