1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/net/py-pcapy/Makefile
Ruslan Makhmatkhanov 593eb277cd net/py-pcapy: update to 0.10.10
- update to 0.10.10
- pass maintainership to submitter
- expand python version to 2.7+ because since this release pcapy now
  supports both python branches

PR:		213105
Submitted by:	 Mageirias Anastasios <anastasios@mageirias.com>
2016-10-01 16:22:16 +00:00

34 lines
713 B
Makefile

# Created by: Marcin Jessa <yazzy@yazzy.org>
# $FreeBSD$
PORTNAME= pcapy
PORTVERSION= 0.10.10
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= anastasios@mageirias.com
COMMENT= Python pcap extension
LICENSE= APACHE11
LICENSE_FILE= ${WRKSRC}/LICENSE
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= python:2.7+ tar:tgz
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>