mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
1a37adc079
Define LICENSE Convert to new options framework
39 lines
824 B
Makefile
39 lines
824 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
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
USE_PYTHON_PREFIX= yes
|
|
|
|
.include <bsd.port.options.mk>
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC}/docs/Web && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
cd ${WRKSRC}/scripts && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|