aboutsummaryrefslogtreecommitdiff
path: root/net/py-pcs/Makefile
blob: 96c0b960fbfddcd298484f396bf57af9c819b448 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Ports collection Makefile for:   pcs
# Date created:        15 July 2006
# Whom:                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

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.pre.mk>

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	cd ${WRKSRC}/docs/Web && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif

.if !defined(NOPORTEXAMPLES)
	@${MKDIR} ${EXAMPLESDIR}
	cd ${WRKSRC}/scripts && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}
.endif

.include <bsd.port.post.mk>