2013-04-29 00:08:43 +02:00
|
|
|
# Created by: Marcin Jessa <yazzy@yazzy.org>
|
2005-09-16 01:26:32 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pcapy
|
2013-04-29 00:08:43 +02:00
|
|
|
PORTVERSION= 0.10.8
|
2005-09-16 01:26:32 +02:00
|
|
|
CATEGORIES= net python
|
2013-04-29 00:08:43 +02:00
|
|
|
MASTER_SITES= http://corelabs.coresecurity.com/index.php?module=Wiki&action=attachment&type=tool&page=Pcapy&file=
|
2005-09-16 01:26:32 +02:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
2008-12-16 06:25:04 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-09-16 01:26:32 +02:00
|
|
|
COMMENT= Python extension module to capture packets on the network
|
|
|
|
|
2013-04-29 00:08:43 +02:00
|
|
|
LICENSE= AL11
|
|
|
|
LICENSE_NAME= Apache License version 1.1
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
2005-09-16 01:26:32 +02:00
|
|
|
|
2013-04-29 00:08:43 +02:00
|
|
|
FETCH_BEFORE_ARGS=-o ${DISTFILES}
|
2013-11-19 08:42:41 +01:00
|
|
|
USES= dos2unix
|
2013-04-29 00:08:43 +02:00
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS=yes
|
2013-02-21 02:13:11 +01:00
|
|
|
|
2009-04-21 10:25:09 +02:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
|
|
|
|
2005-09-16 01:26:32 +02:00
|
|
|
PLIST_FILES= %%PYTHON_SITELIBDIR%%/pcapy.so
|
2013-04-29 00:08:43 +02:00
|
|
|
PORTDOCS= README pcapy.html
|
|
|
|
|
2005-09-16 01:26:32 +02:00
|
|
|
|
2009-04-21 10:25:09 +02:00
|
|
|
post-install:
|
2013-11-19 08:42:41 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
2009-04-21 10:25:09 +02:00
|
|
|
|
2008-12-16 06:25:04 +01:00
|
|
|
.include <bsd.port.mk>
|