33 lines
695 B
Makefile
33 lines
695 B
Makefile
# $OpenBSD: Makefile,v 1.4 2002/02/15 19:53:43 matt Exp $
|
|
|
|
COMMENT= "libpcap bindings for Python"
|
|
|
|
V= 0.2
|
|
DISTNAME= pylibpcap-${V}
|
|
PKGNAME= py-libpcap-${V}
|
|
CATEGORIES= net
|
|
NEED_VERSION= 1.457
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= pylibpcap
|
|
|
|
HOMEPAGE= http://sourceforge.net/projects/pylibpcap/
|
|
|
|
MAINTAINER= Maurice Nonnekes <maurice@amaze.nl>
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PYTHON_VER= 2.1
|
|
SUBST_VARS= PYTHON_VER
|
|
MAKE_ENV= PYTHON_VER=${PYTHON_VER}
|
|
|
|
BUILD_DEPENDS+= ::devel/swig
|
|
RUN_DEPENDS+= :python-${PYTHON_VER}*:lang/python/${PYTHON_VER}
|
|
|
|
WRKDIST= ${WRKDIR}/pylibpcap
|
|
|
|
.include <bsd.port.mk>
|