9c8b5ede43
developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
29 lines
792 B
Makefile
29 lines
792 B
Makefile
# $NetBSD: Makefile,v 1.8 2006/03/04 21:30:18 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= flodo-v4
|
|
PKGNAME= flodo-4-20040907
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://arctic.org/~dean/flodo/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://arctic.org/~dean/flodo/
|
|
COMMENT= Simple network flow sampling tool
|
|
|
|
BUILDLINK_DEPENDS.libpcap+= libpcap>=0.8
|
|
|
|
CPPFLAGS+= -I${BUILDLINK_PREFIX.libpcap}/include
|
|
LDFLAGS+= -L${BUILDLINK_PREFIX.libpcap}/lib
|
|
|
|
INSTALLATION_DIRS= man/man8 sbin
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o flodo flodo.c hash.c local_mac.c -lpcap
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/flodo ${PREFIX}/sbin
|
|
${INSTALL_MAN} ${WRKSRC}/flodo.8 ${PREFIX}/man/man8
|
|
|
|
.include "../../net/libpcap/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|