aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1999-05-26 15:50:54 +0800
committertg <tg@FreeBSD.org>1999-05-26 15:50:54 +0800
commit7cb7921a9986b34b25cba8616f34304aeb174337 (patch)
tree8aa9b5bb2f071de5099181222e3465cdb28e4a08 /devel
parent8c2e46ac8b7d5a8f6ccef419bfa85693e7c6287a (diff)
downloadfreebsd-ports-gnome-7cb7921a9986b34b25cba8616f34304aeb174337.tar.gz
freebsd-ports-gnome-7cb7921a9986b34b25cba8616f34304aeb174337.tar.zst
freebsd-ports-gnome-7cb7921a9986b34b25cba8616f34304aeb174337.zip
New port py-mxStack, a fast stack implementation for Python.
Diffstat (limited to 'devel')
-rw-r--r--devel/py-mxStack/Makefile45
-rw-r--r--devel/py-mxStack/distinfo1
-rw-r--r--devel/py-mxStack/files/Setup8
-rw-r--r--devel/py-mxStack/pkg-comment1
-rw-r--r--devel/py-mxStack/pkg-descr4
-rw-r--r--devel/py-mxStack/pkg-plist13
6 files changed, 72 insertions, 0 deletions
diff --git a/devel/py-mxStack/Makefile b/devel/py-mxStack/Makefile
new file mode 100644
index 000000000000..0c62b34d9dca
--- /dev/null
+++ b/devel/py-mxStack/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: py-mxStack
+# Version required: 0.3.0
+# Date created: 14 May 1999
+# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
+#
+# $Id$
+#
+
+DISTNAME= mxStack-0.3.0
+PKGNAME= py-mxStack-0.3.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}/Stack/mxStack
+ALL_TARGET= sharedmods
+
+PYTHONSCRIPTDIR= ${PREFIX}/lib/python1.5
+STACKDIR= ${PYTHONSCRIPTDIR}/site-packages/Stack
+DOCDIR= ${PREFIX}/share/doc/py-mxStack
+EXAMPLEDIR= ${PREFIX}/share/examples/py-mxStack
+
+post-extract:
+ @${CP} ${FILESDIR}/Setup ${WRKSRC}
+
+do-configure:
+ @(cd ${WRKSRC} && ${CONFIGURE_ENV} ${MAKE} -f Makefile.pre.in boot)
+
+post-install:
+ @${MKDIR} ${STACKDIR}
+ ${INSTALL_DATA} ${WRKDIR}/Stack/*.py ${STACKDIR}
+ @${PREFIX}/bin/python ${PYTHONSCRIPTDIR}/compileall.py ${STACKDIR}
+ @${PREFIX}/bin/python -O ${PYTHONSCRIPTDIR}/compileall.py ${STACKDIR}
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCDIR}
+ ${INSTALL_DATA} ${WRKDIR}/Stack/Doc/* ${DOCDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/py-mxStack/distinfo b/devel/py-mxStack/distinfo
new file mode 100644
index 000000000000..bb709ee0d21c
--- /dev/null
+++ b/devel/py-mxStack/distinfo
@@ -0,0 +1 @@
+MD5 (mxStack-0.3.0.zip) = f730fc0cd0eae1a5b38e61c5e623d09b
diff --git a/devel/py-mxStack/files/Setup b/devel/py-mxStack/files/Setup
new file mode 100644
index 000000000000..7c5c94a2b9bc
--- /dev/null
+++ b/devel/py-mxStack/files/Setup
@@ -0,0 +1,8 @@
+# Build extensions shared:
+*shared*
+#
+
+#
+# mxStack module
+#
+mxStack mxStack.c
diff --git a/devel/py-mxStack/pkg-comment b/devel/py-mxStack/pkg-comment
new file mode 100644
index 000000000000..c724f74b8c8e
--- /dev/null
+++ b/devel/py-mxStack/pkg-comment
@@ -0,0 +1 @@
+Fast stack implementation for Python.
diff --git a/devel/py-mxStack/pkg-descr b/devel/py-mxStack/pkg-descr
new file mode 100644
index 000000000000..9caabc5ec91d
--- /dev/null
+++ b/devel/py-mxStack/pkg-descr
@@ -0,0 +1,4 @@
+This package contains a generic and very simple stack implementation
+written in C for speed. For full documentation see the home page.
+
+WWW: http://starship.skyport.net/~lemburg/mxStack.html
diff --git a/devel/py-mxStack/pkg-plist b/devel/py-mxStack/pkg-plist
new file mode 100644
index 000000000000..3937806b91b3
--- /dev/null
+++ b/devel/py-mxStack/pkg-plist
@@ -0,0 +1,13 @@
+lib/python1.5/site-packages/Stack/UserStack.py
+lib/python1.5/site-packages/Stack/UserStack.pyc
+lib/python1.5/site-packages/Stack/UserStack.pyo
+lib/python1.5/site-packages/Stack/__init__.py
+lib/python1.5/site-packages/Stack/__init__.pyc
+lib/python1.5/site-packages/Stack/__init__.pyo
+lib/python1.5/site-packages/Stack/stackbench.py
+lib/python1.5/site-packages/Stack/stackbench.pyc
+lib/python1.5/site-packages/Stack/stackbench.pyo
+lib/python1.5/site-packages/mxStack.so
+@dirrm lib/python1.5/site-packages/Stack
+share/doc/py-mxStack/mxStack.html
+@dirrm share/doc/py-mxStack