1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/devel/py-pyro/Makefile

42 lines
911 B
Makefile

# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$
PORTNAME= pyro
PORTVERSION= 4.22
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
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}serpent>=1.3:${PORTSDIR}/devel/py-serpent
USE_DOS2UNIX= yes
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= Pyro4
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} >= 320
.include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc"
.endif
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
@cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}
.endif
.include <bsd.port.post.mk>