34 lines
625 B
Makefile
34 lines
625 B
Makefile
# $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-/}
|
|
REVISION= 4
|
|
CATEGORIES= net
|
|
|
|
HOMEPAGE= http://pylibpcap.sourceforge.net/
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
WANTLIB= pcap
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pylibpcap/}
|
|
|
|
MODULES= lang/python
|
|
MODPY_ADJ_FILES=examples/*.py
|
|
|
|
BUILD_DEPENDS= devel/swig
|
|
|
|
NO_TEST= Yes
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-libpcap
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/examples/*.py ${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|