freebsd-ports/net/py-pypcap/Makefile

31 lines
647 B
Makefile

# New ports collection makefile for: py-pypcap
# Date created: 15 Jul 2006
# Whom: George V. Neville-Neil
#
# $FreeBSD$
#
PORTNAME= pypcap
PORTVERSION= 1.1
PORTREVISION= 3
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wxs@FreeBSD.org
COMMENT= Simplified object-oriented Python extension module for libpcap
BUILD_DEPENDS= pyrexc:${PORTSDIR}/devel/pyrex
USE_PYTHON= yes
USE_PYTHON_PREFIX= yes
INSTALLS_EGGINFO= yes
PYDISTUTILS_PKGNAME= pcap
PLIST_FILES= %%PYTHON_SITELIBDIR%%/pcap.so
post-patch:
${RM} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/pcap.c
.include <bsd.port.mk>