aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-ro/Makefile
blob: e33aee7a4ac9aab4d5542645e5dd366d45a6882c (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
# 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

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

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

.include <bsd.port.mk>