summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-06-29 00:46:42 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-06-29 00:46:42 +0000
commit422f12414fcea09e2c519a2f113a5e14971a600b (patch)
tree32c589956e440e76424787f09e5d16b04bfc7b8b /lang
parentUpdate to 1.3.16. (diff)
Add py-prolog, A Python extension embedding SWI-Prolog
Submitted by: g.gonter@ieee.org
Notes
Notes: svn path=/head/; revision=83793
Diffstat (limited to 'lang')
-rw-r--r--lang/Makefile1
-rw-r--r--lang/py-prolog/Makefile24
-rw-r--r--lang/py-prolog/distinfo1
-rw-r--r--lang/py-prolog/pkg-descr9
-rw-r--r--lang/py-prolog/pkg-plist14
5 files changed, 49 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile
index 734bdd681d00..5ba524bcc7c1 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -163,6 +163,7 @@
SUBDIR += ptoc
SUBDIR += py-compiler
SUBDIR += py-mx-base
+ SUBDIR += py-prolog
SUBDIR += python
SUBDIR += python-doc-html
SUBDIR += python-doc-pdf-a4
diff --git a/lang/py-prolog/Makefile b/lang/py-prolog/Makefile
new file mode 100644
index 000000000000..0628e1d64467
--- /dev/null
+++ b/lang/py-prolog/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: py-prolog
+# Date created: 28 Jun 2003
+# Whom: Gerhard Gonter <g.gonter@ieee.org>
+#
+# $FreeBSD$
+
+PORTNAME= prolog
+PORTVERSION= 0.1
+CATEGORIES= lang
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= pyprolog
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= PyProlog-${PORTVERSION}
+
+MAINTAINER= g.gonter@ieee.org
+COMMENT= A Python extension embedding SWI-Prolog
+
+BUILD_DEPENDS= pl:${PORTSDIR}/lang/swi-pl
+RUN_DEPENDS= pl:${PORTSDIR}/lang/swi-pl
+
+USE_PYTHON= yes
+USE_PYDISTUTILS=yes
+
+.include <bsd.port.mk>
diff --git a/lang/py-prolog/distinfo b/lang/py-prolog/distinfo
new file mode 100644
index 000000000000..70b8207067a6
--- /dev/null
+++ b/lang/py-prolog/distinfo
@@ -0,0 +1 @@
+MD5 (PyProlog-0.1.tar.gz) = 7849ef070b615d332e76434ad2e0a70d
diff --git a/lang/py-prolog/pkg-descr b/lang/py-prolog/pkg-descr
new file mode 100644
index 000000000000..45839a48d116
--- /dev/null
+++ b/lang/py-prolog/pkg-descr
@@ -0,0 +1,9 @@
+A Python extension embedding SWI-Prolog
+
+PyProlog is a Python extension that permits direct access to an
+embedded PROLOG. The extension lends Python the efficient unification
+and backtracking of PROLOG, and allows a programmer to instrument
+Python classes with PROLOG code. Callbacks from PROLOG to Python are
+also supported.
+
+WWW: http://sourceforge.net/projects/pyprolog/
diff --git a/lang/py-prolog/pkg-plist b/lang/py-prolog/pkg-plist
new file mode 100644
index 000000000000..9c6a4a568ad0
--- /dev/null
+++ b/lang/py-prolog/pkg-plist
@@ -0,0 +1,14 @@
+lib/%%PYTHON_VERSION%%/site-packages/pyprolog/Program.py
+lib/%%PYTHON_VERSION%%/site-packages/pyprolog/Program.pyc
+lib/%%PYTHON_VERSION%%/site-packages/pyprolog/Program.pyo
+lib/%%PYTHON_VERSION%%/site-packages/pyprolog/Term.py
+lib/%%PYTHON_VERSION%%/site-packages/pyprolog/Term.pyc
+lib/%%PYTHON_VERSION%%/site-packages/pyprolog/Term.pyo
+lib/%%PYTHON_VERSION%%/site-packages/pyprolog/__init__.py
+lib/%%PYTHON_VERSION%%/site-packages/pyprolog/__init__.pyc
+lib/%%PYTHON_VERSION%%/site-packages/pyprolog/__init__.pyo
+lib/%%PYTHON_VERSION%%/site-packages/pyprolog/string_source.py
+lib/%%PYTHON_VERSION%%/site-packages/pyprolog/string_source.pyc
+lib/%%PYTHON_VERSION%%/site-packages/pyprolog/string_source.pyo
+lib/%%PYTHON_VERSION%%/site-packages/pyprolog/swiplmodule.so
+@dirrm lib/%%PYTHON_VERSION%%/site-packages/pyprolog