mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
36be6c7cc4
While here: - support stage, - use bsdtar to extract when supported. - Cleanup
34 lines
870 B
Makefile
34 lines
870 B
Makefile
# Created by: Marcin Jessa <yazzy@yazzy.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pcapy
|
|
PORTVERSION= 0.10.8
|
|
CATEGORIES= net python
|
|
MASTER_SITES= http://corelabs.coresecurity.com/index.php?module=Wiki&action=attachment&type=tool&page=Pcapy&file=
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Python extension module to capture packets on the network
|
|
|
|
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
|
|
|
|
FETCH_BEFORE_ARGS=-o ${DISTFILES}
|
|
USES= dos2unix
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS=yes
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
|
|
|
PLIST_FILES= %%PYTHON_SITELIBDIR%%/pcapy.so
|
|
PORTDOCS= README pcapy.html
|
|
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|