1d8bdadb58
This extension module gives you a simple python interface to NetFlow data as stored by Mark Fullmer's flow-tools package (see http://www.splintered.net/sw/flow-tools). ok nikolay@
36 lines
866 B
Makefile
36 lines
866 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2005/04/13 15:06:37 msf Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= "python interface to flow-tools file format"
|
|
|
|
DISTNAME= pyflowtools-0.3
|
|
PKGNAME= ${DISTNAME:S/pyflow/py-flow/g}
|
|
CATEGORIES= net
|
|
|
|
MAINTAINER= Mathieu Sauve-Frankel <msf@openbsd.org>
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://mail.net.informatik.tu-muenchen.de/~robin/flowtools/
|
|
|
|
BUILD_DEPENDS= ::net/flow-tools
|
|
MODULES= lang/python
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
MODPY_DISTUTILS_BUILD= build_ext
|
|
MODPY_DISTUTILS_BUILDARGS=-I${LOCALBASE}/include -L${LOCALBASE}/lib
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-flowtools
|
|
${INSTALL_DATA} ${WRKSRC}/example.py \
|
|
${PREFIX}/share/examples/py-flowtools
|
|
${INSTALL_SCRIPT} ${WRKSRC}/flowprint-full ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|