aboutsummaryrefslogtreecommitdiff
path: root/devel/py-pqueue
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2005-02-19 18:12:47 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2005-02-19 18:12:47 +0000
commit3b899362fe466d765805ff7e0cd6e4a3d50715b1 (patch)
tree921caf68a1dd04114147fac02799bff95112d1cd /devel/py-pqueue
parent2a8febd69f25abac49f738236cb49c22b6d07e12 (diff)
downloadports-3b899362fe466d765805ff7e0cd6e4a3d50715b1.tar.gz
ports-3b899362fe466d765805ff7e0cd6e4a3d50715b1.zip
Notes
Diffstat (limited to 'devel/py-pqueue')
-rw-r--r--devel/py-pqueue/Makefile8
-rw-r--r--devel/py-pqueue/files/setup.py3
2 files changed, 8 insertions, 3 deletions
diff --git a/devel/py-pqueue/Makefile b/devel/py-pqueue/Makefile
index be803d3fd9ba..e29efa7876c5 100644
--- a/devel/py-pqueue/Makefile
+++ b/devel/py-pqueue/Makefile
@@ -15,12 +15,14 @@ DISTNAME= PQueue-${PORTVERSION}
MAINTAINER= perky@FreeBSD.org
COMMENT= Fibonacci-Heap based Priority-Queue Extension for Python
-PLIST_FILES= %%PYTHON_SITELIBDIR%%/pqueuemodule.so
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/pqueue.so
USE_BZIP2= yes
USE_PYTHON= yes
-GNU_CONFIGURE= yes
-ALL_TARGET= default
+USE_PYDISTUTILS=yes
WRKSRC= ${WRKDIR}/PQueue
+post-patch:
+ ${CP} ${FILESDIR}/setup.py ${WRKSRC}
+
.include <bsd.port.mk>
diff --git a/devel/py-pqueue/files/setup.py b/devel/py-pqueue/files/setup.py
new file mode 100644
index 000000000000..24dc1380cc61
--- /dev/null
+++ b/devel/py-pqueue/files/setup.py
@@ -0,0 +1,3 @@
+from distutils.core import setup, Extension
+setup(name = "pqueue",
+ ext_modules = [Extension('pqueue', ['pqueuemodule.c'])])