openbsd-ports/net/trafd/Makefile

34 lines
1.0 KiB
Makefile
Raw Normal View History

2013-03-11 07:35:43 -04:00
# $OpenBSD: Makefile,v 1.12 2013/03/11 11:35:57 espie Exp $
2001-03-29 05:14:27 -05:00
COMMENT= BPF traffic collector
DISTNAME= trafd-3.0.1
CATEGORIES= net
2002-10-27 20:38:44 -05:00
2012-04-27 05:16:17 -04:00
MASTER_SITES= http://spacehopper.org/mirrors/ \
ftp://ftp.riss-telecom.ru/pub/dev/trafd/
EXTRACT_SUFX= .tgz
PERMIT_PACKAGE_CDROM= Yes
2012-04-27 05:16:17 -04:00
WANTLIB= c pcap
2013-03-11 07:35:43 -04:00
NO_TEST= Yes
2002-10-27 20:38:44 -05:00
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/trafd/trafd ${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/trafd/trafstop ${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/trafd/trafsave ${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/trafd/trafdump ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/trafstat/trafstat ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/trafstatd/trafstatd ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/traflog/traflog ${PREFIX}/sbin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/trafd
${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/trafd/README
${INSTALL_DATA} ${WRKSRC}/traflog/traflog.format \
${PREFIX}/share/doc/trafd/traflog.format.sample
${INSTALL_DATA} ${WRKSRC}/trafd/trafstart \
${PREFIX}/share/doc/trafd/trafstart
.include <bsd.port.mk>