1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/net/py-pcap/Makefile

40 lines
969 B
Makefile
Raw Normal View History

# New ports collection makefile for: py-pcap
# Date created: 24 Nov 2001
# Whom: Hye-Shik Chang
#
# $FreeBSD$
#
PORTNAME= pcap
2005-10-10 14:46:26 +00:00
PORTVERSION= 0.5
CATEGORIES= net python
2005-10-10 14:46:26 +00:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://people.freebsd.org/~perky/distfiles/:local
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
MAINTAINER= perky@FreeBSD.org
2003-02-25 06:25:35 +00:00
COMMENT= Python interface to LBL Packet Capture library (libpcap)
BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig11
USE_PYTHON= yes
2002-04-29 18:37:38 +00:00
USE_PYDISTUTILS= yes
USE_PYTHON_PREFIX= yes
2005-10-10 14:46:26 +00:00
WRKSRC= ${WRKDIR}/pylibpcap-${PORTVERSION}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 460001 || \
( ${OSVERSION} >= 500000 && ${OSVERSION} < 500038 )
IGNORE= "needs libpcap 0.7 or higher"
.endif
2005-10-10 14:46:26 +00:00
post-extract:
${INSTALL_DATA} ${DISTDIR}/pylibpcap-doc.i.1.4 ${WRKSRC}/doc.i
.include <bsd.port.post.mk>