summaryrefslogtreecommitdiff
path: root/devel/py-mxStack
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1999-05-26 07:50:54 +0000
committerThomas Gellekum <tg@FreeBSD.org>1999-05-26 07:50:54 +0000
commite89bfc6ce082615649125ace4a0cfff7b8ef3a40 (patch)
tree86e565ee26b51a073b0cb983417ba9d49ddbe2e4 /devel/py-mxStack
parentNew port py-mxDateTime, Marc-André Lemburgs date and time handling (diff)
New port py-mxStack, a fast stack implementation for Python.
Notes
Notes: svn path=/head/; revision=19005
Diffstat (limited to 'devel/py-mxStack')
-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