mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
377901b804
With hat: portmgr
32 lines
676 B
Makefile
32 lines
676 B
Makefile
# Created by: Marcin Jessa <yazzy@yazzy.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pcapy
|
|
PORTVERSION= 0.11.1
|
|
CATEGORIES= net python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= anastasios@mageirias.com
|
|
COMMENT= Python pcap extension
|
|
|
|
LICENSE= APACHE11
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= python dos2unix
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
|
PORTDOCS= README pcapy.html
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pcapy.so
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|