aboutsummaryrefslogtreecommitdiffstats
path: root/net/pypvm/Makefile
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2005-01-29 07:29:33 +0800
committerbrooks <brooks@FreeBSD.org>2005-01-29 07:29:33 +0800
commit99b41b0ab7a970d385b74ac58ede95e9729e3476 (patch)
tree3f67634fdf8ac73751a2588c249c7e75f0e0d6aa /net/pypvm/Makefile
parentb625f923432b985e53082f0bbe15eb1ae26f237e (diff)
downloadfreebsd-ports-gnome-99b41b0ab7a970d385b74ac58ede95e9729e3476.tar.gz
freebsd-ports-gnome-99b41b0ab7a970d385b74ac58ede95e9729e3476.tar.zst
freebsd-ports-gnome-99b41b0ab7a970d385b74ac58ede95e9729e3476.zip
Add net/pypvm, PVM support for Python.
Diffstat (limited to 'net/pypvm/Makefile')
-rw-r--r--net/pypvm/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/net/pypvm/Makefile b/net/pypvm/Makefile
new file mode 100644
index 000000000000..123bf2788229
--- /dev/null
+++ b/net/pypvm/Makefile
@@ -0,0 +1,42 @@
+# 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%%/|}
+.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>