2010-11-19 22:31:32 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2010/11/19 22:31:32 espie Exp $
|
2007-09-15 22:36:51 +00:00
|
|
|
COMMENT= aggregation-based network traffic profiler
|
2003-05-04 18:57:29 +00:00
|
|
|
|
2003-05-05 02:41:50 +00:00
|
|
|
DISTNAME= aguri-0.7
|
2010-07-12 22:07:37 +00:00
|
|
|
REVISION= 1
|
2003-05-04 18:57:29 +00:00
|
|
|
CATEGORIES= net
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.csl.sony.co.jp/person/kjc/software.html
|
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2010-07-12 22:07:37 +00:00
|
|
|
|
2004-12-16 00:31:20 +00:00
|
|
|
WANTLIB= c pcap
|
2003-05-04 18:57:29 +00:00
|
|
|
|
|
|
|
MASTER_SITES= ftp://ftp.csl.sony.co.jp/pub/kjc/
|
|
|
|
|
|
|
|
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS}"
|
2010-11-19 22:31:32 +00:00
|
|
|
USE_GROFF = Yes
|
2003-05-04 18:57:29 +00:00
|
|
|
|
2004-09-26 18:00:06 +00:00
|
|
|
do-configure:
|
|
|
|
@perl -pi -e 's,/usr/local,${PREFIX},' ${WRKDIST}/scripts/*
|
|
|
|
@perl -pi -e 's,lib/aguri,bin,' ${WRKDIST}/scripts/*
|
|
|
|
@perl -pi -e 's,\.pl,,' ${WRKDIST}/scripts/*
|
|
|
|
|
2003-05-04 18:57:29 +00:00
|
|
|
post-install:
|
2004-09-26 18:00:06 +00:00
|
|
|
.for script in agurify.pl density.pl makeplot.pl makeimages.pl
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIST}/scripts/${script} \
|
|
|
|
${PREFIX}/bin/${script:R}
|
2003-05-04 18:57:29 +00:00
|
|
|
.endfor
|
2004-09-26 18:00:06 +00:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/aguri
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/scripts/README ${PREFIX}/share/doc/aguri
|
2003-05-04 18:57:29 +00:00
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|