1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-08 12:01:56 +00:00
Kubilay Kocak f6ff67a891 net/py-pcs: Limit USES=python (actually)
Actually change the value of USES=python:<version-spec> that was
supposed to land in ports r448303

It was reverted during QA and the final diff was not reviewed prior to commit.

Pointyhat me.

PR:		219325
Approved by:	portmgr (blanket)
MFH:		2017Q3
2017-08-19 12:52:23 +00:00

41 lines
951 B
Makefile

# Created by: gnn
# $FreeBSD$
PORTNAME= pcs
PORTVERSION= 0.6
PORTREVISION= 1
CATEGORIES= net python
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Beta-${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= gnn@FreeBSD.org
COMMENT= Protocol Construction Set
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
BUILD_DEPENDS= cython>=0.11.2:lang/cython
PORTDOCS= pcs.pdf
PORTEXAMPLES= *
USES= python:2.7
USE_PYTHON= distutils pythonprefix
OPTIONS_DEFINE= DOCS EXAMPLES
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/docs/Web && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/scripts && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/bpf.so \
${STAGEDIR}${PYTHON_SITELIBDIR}/pcs/clock.so \
${STAGEDIR}${PYTHON_SITELIBDIR}/pcs/pcap.so
.include <bsd.port.mk>