aboutsummaryrefslogtreecommitdiffstats
path: root/net/pypvm/Makefile
blob: a207121b8ba121e90f755924cd17385ebc44009a (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
40
41
42
43
# Ports collection makefile for:    pypvm
# Date created:             Wed, Jan 19 2005
# Whom:                 Brooks Davis <brooks@freebsd.org>
#
# $FreeBSD$
#

PORTNAME=   pypvm
PORTVERSION=    0.94
CATEGORIES= net
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=${PORTNAME}

MAINTAINER= brooks@FreeBSD.org
COMMENT=    PVM for Python

BUILD_DEPENDS=  pvm:${PORTSDIR}/net/pvm

USE_PYTHON= YES
USE_PYDISTUTILS=YES

PLIST_FILES=    %%PYTHON_SITELIBDIR%%/pypvm.py \
        %%PYTHON_SITELIBDIR%%/pypvm_core.so \
        %%PYTHON_SITELIBDIR%%/pypvm.pyc \
        %%PYTHON_SITELIBDIR%%/pypvm.pyo
EXAMPLEFILES=   master_test.py \
        slave_test.py
PLIST_FILES+=   ${EXAMPLEFILES:S|^|%%EXAMPLESDIR%%/|}
PLIST_DIRS+=    %%EXAMPLESDIR%%
.if !defined(NOPORTDOCS)
PORTDOCS=   ChangeLog \
        README
.endif

post-install:
    ${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_SCRIPT} ${EXAMPLEFILES:S|^|${WRKSRC}/|} ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif

.include <bsd.port.mk>