1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/net/py-pcs/Makefile
Dmitry Marakasov 97809c374c - Switch to options helpers
Approved by:	portmgr blanket
2015-09-20 19:22:12 +00:00

34 lines
744 B
Makefile

# Created by: gnn
# $FreeBSD$
PORTNAME= pcs
PORTVERSION= 0.6
CATEGORIES= net python
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Beta-${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= gnn@FreeBSD.org
COMMENT= Protocol Construction Set
LICENSE= BSD3CLAUSE
PORTDOCS= pcs.pdf
PORTEXAMPLES= *
BUILD_DEPENDS= cython>=0.11.2:${PORTSDIR}/lang/cython
USES= python
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}
.include <bsd.port.mk>