aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-pyro/Makefile
blob: 55ee8faf76f158576e17e5a946b102d8aa80e2dc (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
# New ports collection makefile for:    py-pyro
# Date created:     2008-12-30
# Whom:         Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   pyro
PORTVERSION=    4.11
CATEGORIES= devel python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   Pyro4-${PORTVERSION}

MAINTAINER= rm@FreeBSD.org
COMMENT=    Distributed Object Middleware for Python(IPC/RPC)

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/LICENSE

USE_DOS2UNIX=   yes
# Python 3 ready
USE_PYTHON= yes
USE_PYDISTUTILS=    easy_install
PYDISTUTILS_PKGNAME=    Pyro4

.include <bsd.port.pre.mk>
post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif

.if !defined(NOPORTEXAMPLES)
    @${MKDIR} ${EXAMPLESDIR}
    @cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}
.endif

.include <bsd.port.post.mk>