openbsd-ports/net/py-libpcap/Makefile

34 lines
625 B
Makefile
Raw Normal View History

2013-03-11 07:35:43 -04:00
# $OpenBSD: Makefile,v 1.28 2013/03/11 11:35:55 espie Exp $
SHARED_ONLY= Yes
COMMENT= libpcap bindings for Python
DISTNAME= pylibpcap-0.6.2
PKGNAME= ${DISTNAME:S/py/py-/}
2011-09-16 07:13:37 -04:00
REVISION= 4
CATEGORIES= net
HOMEPAGE= http://pylibpcap.sourceforge.net/
# BSD
PERMIT_PACKAGE_CDROM= Yes
2004-12-15 19:31:20 -05:00
WANTLIB= pcap
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pylibpcap/}
2004-08-04 15:14:30 -04:00
MODULES= lang/python
MODPY_ADJ_FILES=examples/*.py
2010-11-19 17:31:32 -05:00
BUILD_DEPENDS= devel/swig
2013-03-11 07:35:43 -04:00
NO_TEST= Yes
2002-10-27 20:38:44 -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}
.include <bsd.port.mk>