2013-03-11 07:35:43 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.28 2013/03/11 11:35:55 espie Exp $
|
2004-02-18 03:31:50 -05:00
|
|
|
|
2005-05-17 03:39:20 -04:00
|
|
|
SHARED_ONLY= Yes
|
2001-09-20 07:38:24 -04:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= libpcap bindings for Python
|
2001-09-20 07:38:24 -04:00
|
|
|
|
2008-11-04 17:38:52 -05:00
|
|
|
DISTNAME= pylibpcap-0.6.2
|
2010-07-12 18:07:37 -04:00
|
|
|
PKGNAME= ${DISTNAME:S/py/py-/}
|
2011-09-16 07:13:37 -04:00
|
|
|
REVISION= 4
|
2001-09-20 07:38:24 -04:00
|
|
|
CATEGORIES= net
|
|
|
|
|
2004-02-18 03:31:50 -05:00
|
|
|
HOMEPAGE= http://pylibpcap.sourceforge.net/
|
2001-09-20 07:38:24 -04:00
|
|
|
|
2004-01-09 05:18:01 -05:00
|
|
|
# BSD
|
2001-09-20 07:38:24 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2004-12-15 19:31:20 -05:00
|
|
|
WANTLIB= pcap
|
2001-09-20 07:38:24 -04:00
|
|
|
|
2004-02-18 03:31:50 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pylibpcap/}
|
2001-09-20 07:38:24 -04:00
|
|
|
|
2004-08-04 15:14:30 -04:00
|
|
|
MODULES= lang/python
|
2011-06-13 04:47:51 -04:00
|
|
|
MODPY_ADJ_FILES=examples/*.py
|
2001-09-20 07:38:24 -04:00
|
|
|
|
2010-11-19 17:31:32 -05:00
|
|
|
BUILD_DEPENDS= devel/swig
|
2001-09-20 07:38:24 -04:00
|
|
|
|
2013-03-11 07:35:43 -04:00
|
|
|
NO_TEST= Yes
|
2002-10-27 20:38:44 -05:00
|
|
|
|
2004-02-18 03:31:50 -05:00
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-libpcap
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
|
2005-12-03 17:03:44 -05:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/examples/*.py ${EXAMPLESDIR}
|
2004-02-18 03:31:50 -05:00
|
|
|
|
2001-09-20 07:38:24 -04:00
|
|
|
.include <bsd.port.mk>
|