1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/net/py-pcapy/Makefile
Baptiste Daroussin 36be6c7cc4 Convert from USE_DOS2UNIX to USES=dos2unix
While here:
- support stage,
- use bsdtar to extract when supported.
- Cleanup
2013-11-19 07:42:41 +00:00

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>