aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/py-flowtools/Makefile
blob: 65fdf811a416e299f4d9d979b0327b3eaeef0b39 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Ports collection makefile for:    py-flowtools
# Date created:             16 Sep 2004
# Whom:                     Roman Bogorodskiy <bogorodskiy@inbox.ru>
#
# $FreeBSD$
#

PORTNAME=   flowtools
PORTVERSION=    0.3.4.1
CATEGORIES= net-mgmt python
MASTER_SITES=   GOOGLE_CODE
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   pyflowtools-${PORTVERSION}

MAINTAINER= novel@FreeBSD.org
COMMENT=    Python extension module for reading flow-tools' data

BUILD_DEPENDS=  ${LOCALBASE}/include/ftlib.h:${PORTSDIR}/net-mgmt/flow-tools

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

PLIST_FILES=    %%PYTHON_SITELIBDIR%%/flowtools.so

CFLAGS+=    -I${LOCALBASE}/include -L${LOCALBASE}/lib
USE_PYTHON= yes
USE_PYDISTUTILS=    yes
PYDISTUTILS_PKGNAME=    pyflowtools

PROJECTHOST=    py${PORTNAME}

.include <bsd.port.mk>