aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1999-05-26 15:52:00 +0800
committertg <tg@FreeBSD.org>1999-05-26 15:52:00 +0800
commitf52f345204cb30f7a218d8ae0988d4c5e2c2f216 (patch)
treea50bc149c51b29268ae8ce1d78c9c635eefa5c95 /devel
parent6cc3add22953227b9daa4bb96663ff1427c246b0 (diff)
downloadfreebsd-ports-gnome-f52f345204cb30f7a218d8ae0988d4c5e2c2f216.tar.gz
freebsd-ports-gnome-f52f345204cb30f7a218d8ae0988d4c5e2c2f216.tar.zst
freebsd-ports-gnome-f52f345204cb30f7a218d8ae0988d4c5e2c2f216.zip
New port py-mxTools, a collection of new builtins for Python.
Diffstat (limited to 'devel')
-rw-r--r--devel/py-mxTools/Makefile47
-rw-r--r--devel/py-mxTools/distinfo1
-rw-r--r--devel/py-mxTools/files/Setup13
-rw-r--r--devel/py-mxTools/pkg-comment1
-rw-r--r--devel/py-mxTools/pkg-descr6
-rw-r--r--devel/py-mxTools/pkg-plist14
6 files changed, 82 insertions, 0 deletions
diff --git a/devel/py-mxTools/Makefile b/devel/py-mxTools/Makefile
new file mode 100644
index 000000000000..5d800781d3da
--- /dev/null
+++ b/devel/py-mxTools/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: py-mxTools
+# Version required: 1.0.0
+# Date created: 20 May 1999
+# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
+#
+# $Id$
+#
+
+DISTNAME= mxTools-1.0.0
+PKGNAME= py-mxTools-1.0.0
+CATEGORIES= devel python
+MASTER_SITES= http://starship.skyport.net/~lemburg/
+
+MAINTAINER= tg@FreeBSD.ORG
+
+BUILD_DEPENDS= python:${PORTSDIR}/lang/python
+RUN_DEPENDS= python:${PORTSDIR}/lang/python
+
+USE_ZIP= yes
+EXTRACT_BEFORE_ARGS= -aq
+WRKSRC= ${WRKDIR}/NewBuiltins/mxTools
+ALL_TARGET= sharedmods
+
+PYTHONSCRIPTDIR= ${PREFIX}/lib/python1.5
+TOOLSDIR= ${PYTHONSCRIPTDIR}/site-packages/NewBuiltins
+DOCDIR= ${PREFIX}/share/doc/py-mxTools
+EXAMPLEDIR= ${PREFIX}/share/examples/py-mxTools
+
+post-extract:
+ @${CP} ${FILESDIR}/Setup ${WRKSRC}
+
+do-configure:
+ @(cd ${WRKSRC} && ${CONFIGURE_ENV} ${MAKE} -f Makefile.pre.in boot)
+
+post-install:
+ @${MKDIR} ${TOOLSDIR}
+ ${INSTALL_DATA} ${WRKDIR}/NewBuiltins/*.py ${TOOLSDIR}
+ @${PREFIX}/bin/python ${PYTHONSCRIPTDIR}/compileall.py ${TOOLSDIR}
+ @${PREFIX}/bin/python -O ${PYTHONSCRIPTDIR}/compileall.py ${TOOLSDIR}
+ @${MKDIR} ${EXAMPLEDIR}
+ ${INSTALL_DATA} ${WRKDIR}/NewBuiltins/Examples/* ${EXAMPLEDIR}
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCDIR}
+ ${INSTALL_DATA} ${WRKDIR}/NewBuiltins/Doc/* ${DOCDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/py-mxTools/distinfo b/devel/py-mxTools/distinfo
new file mode 100644
index 000000000000..e5c57fc7558b
--- /dev/null
+++ b/devel/py-mxTools/distinfo
@@ -0,0 +1 @@
+MD5 (mxTools-1.0.0.zip) = 454b0770d47a43c907882f52d332ca7f
diff --git a/devel/py-mxTools/files/Setup b/devel/py-mxTools/files/Setup
new file mode 100644
index 000000000000..19f98b4df6c8
--- /dev/null
+++ b/devel/py-mxTools/files/Setup
@@ -0,0 +1,13 @@
+# Build extensions shared:
+*shared*
+#
+
+#
+# mxTools module
+#
+mxTools mxTools.c
+
+#
+# xmap module (provided by Christopher Tavares <tavares@connix.com>)
+#
+xmap xmap.c
diff --git a/devel/py-mxTools/pkg-comment b/devel/py-mxTools/pkg-comment
new file mode 100644
index 000000000000..3e9cdffd6e7b
--- /dev/null
+++ b/devel/py-mxTools/pkg-comment
@@ -0,0 +1 @@
+A collection of new builtins for Python.
diff --git a/devel/py-mxTools/pkg-descr b/devel/py-mxTools/pkg-descr
new file mode 100644
index 000000000000..7292f302a87f
--- /dev/null
+++ b/devel/py-mxTools/pkg-descr
@@ -0,0 +1,6 @@
+The package contains a collection of useful functions that aid in
+common tasks like iterating over objects or applying functions to
+sets of parameters. The functions contained in the package auto-install
+themselves as builtins when the package is imported.
+
+WWW: http://starship.skyport.net/~lemburg/mxTools.html
diff --git a/devel/py-mxTools/pkg-plist b/devel/py-mxTools/pkg-plist
new file mode 100644
index 000000000000..443ff1cf45fa
--- /dev/null
+++ b/devel/py-mxTools/pkg-plist
@@ -0,0 +1,14 @@
+lib/python1.5/site-packages/NewBuiltins/NewBuiltins.py
+lib/python1.5/site-packages/NewBuiltins/NewBuiltins.pyc
+lib/python1.5/site-packages/NewBuiltins/NewBuiltins.pyo
+lib/python1.5/site-packages/NewBuiltins/__init__.py
+lib/python1.5/site-packages/NewBuiltins/__init__.pyc
+lib/python1.5/site-packages/NewBuiltins/__init__.pyo
+lib/python1.5/site-packages/mxTools.so
+lib/python1.5/site-packages/xmap.so
+@dirrm lib/python1.5/site-packages/NewBuiltins
+share/doc/py-mxTools/mxTools.html
+@dirrm share/doc/py-mxTools
+share/examples/py-mxTools/Acquisition.py
+share/examples/py-mxTools/__init__.py
+@dirrm share/examples/py-mxTools