summaryrefslogtreecommitdiff
path: root/devel/py-ro/Makefile
blob: 28dfbf9035dc1f1063feabd6fa2620a27dfe0a18 (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
# ex:ts=8
# Ports collection makefile for:	py-ro
# Date created:			Mar 22, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	ro
PORTVERSION=	3.0
CATEGORIES=	devel python
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	pyro
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	Pyro-${PORTVERSION}

MAINTAINER=	perky@FreeBSD.org
COMMENT=	Python Remote Objects

USE_PYTHON=	yes
USE_PYDISTUTILS=	yes

DOCSDIR=	${PREFIX}/share/doc/py-ro
EXAMPLESDIR=	${PREFIX}/share/examples/py-ro

post-patch:
	${ECHO} -e 'install-scripts=${PREFIX}/bin\n' \
		'\n[install-options]\nunattended=1' >> ${WRKSRC}/setup.cfg
	${RM} ${WRKSRC}/docs/3-install.html~

.if !defined(NOPORTDOCS)
post-install:
	@${MKDIR} ${DOCSDIR}
	${CP} -R ${WRKSRC}/docs/ ${DOCSDIR}
	@${MKDIR} ${EXAMPLESDIR}
	${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>