e373187046
This version needs libpcap 0.7 or higher (after Jul 5 for -stable, Jun 21 for -current). There is a CVS tag (PYPCAP_0_3_1) for who don't want to upgrade their userland base.
30 lines
642 B
Makefile
30 lines
642 B
Makefile
# New ports collection makefile for: py-pcap
|
|
# Date created: 24 Nov 2001
|
|
# Whom: Hye-Shik Chang <perky@fallin.lv>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pcap
|
|
PORTVERSION= 0.4
|
|
CATEGORIES= net python
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= pylibpcap
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= pylibpcap-${PORTVERSION}
|
|
DIST_SUBDIR= python
|
|
|
|
MAINTAINER= perky@FreeBSD.org
|
|
|
|
BUILD_DEPENDS= swig:${PORTSDIR}/devel/SWIG
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
USE_PYTHON_PREFIX= yes
|
|
|
|
PCAPTEST!= grep PCAP_IF_LOOPBACK /usr/include/pcap.h || true
|
|
.if empty(PCAPTEST)
|
|
BROKEN= "needs libpcap 0.7 or higher"
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|