2001-11-25 09:41:29 +00:00
|
|
|
# New ports collection makefile for: py-pcap
|
|
|
|
# Date created: 24 Nov 2001
|
2004-12-19 16:52:19 +00:00
|
|
|
# Whom: Hye-Shik Chang
|
2001-11-25 09:41:29 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pcap
|
2005-10-10 14:46:26 +00:00
|
|
|
PORTVERSION= 0.5
|
2001-11-25 09:41:29 +00:00
|
|
|
CATEGORIES= net python
|
2005-10-10 14:46:26 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
|
|
http://people.freebsd.org/~perky/distfiles/:local
|
2001-11-25 09:41:29 +00:00
|
|
|
MASTER_SITE_SUBDIR= pylibpcap
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
2005-10-10 14:46:26 +00:00
|
|
|
DISTFILES= pylibpcap-${PORTVERSION}.tar.gz \
|
|
|
|
pylibpcap-doc.i.1.4:local
|
|
|
|
EXTRACT_ONLY= pylibpcap-${PORTVERSION}.tar.gz
|
2001-11-25 09:41:29 +00:00
|
|
|
|
2002-06-25 07:50:58 +00:00
|
|
|
MAINTAINER= perky@FreeBSD.org
|
2003-02-25 06:25:35 +00:00
|
|
|
COMMENT= Python interface to LBL Packet Capture library (libpcap)
|
2001-11-25 09:41:29 +00:00
|
|
|
|
2005-10-11 12:08:08 +00:00
|
|
|
BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13
|
2001-11-25 09:41:29 +00:00
|
|
|
|
|
|
|
USE_PYTHON= yes
|
2002-04-29 18:37:38 +00:00
|
|
|
USE_PYDISTUTILS= yes
|
2002-07-23 21:09:07 +00:00
|
|
|
USE_PYTHON_PREFIX= yes
|
2007-07-30 09:42:28 +00:00
|
|
|
PYDISTUTILS_PKGNAME= pylibpcap
|
2005-10-10 14:46:26 +00:00
|
|
|
WRKSRC= ${WRKDIR}/pylibpcap-${PORTVERSION}
|
2002-07-23 21:09:07 +00:00
|
|
|
|
2003-03-31 04:29:23 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2007-10-03 23:53:46 +00:00
|
|
|
.if ( ${OSVERSION} < 500038 )
|
2003-03-31 04:29:23 +00:00
|
|
|
IGNORE= "needs libpcap 0.7 or higher"
|
2002-07-23 21:09:07 +00:00
|
|
|
.endif
|
2001-11-25 09:41:29 +00:00
|
|
|
|
2005-10-10 14:46:26 +00:00
|
|
|
post-extract:
|
|
|
|
${INSTALL_DATA} ${DISTDIR}/pylibpcap-doc.i.1.4 ${WRKSRC}/doc.i
|
|
|
|
|
2003-03-31 04:29:23 +00:00
|
|
|
.include <bsd.port.post.mk>
|