summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-06-29 00:46:42 +0000
committerarved <arved@FreeBSD.org>2003-06-29 00:46:42 +0000
commitaa7a51cf11e7a3505165ffe06bab55d4f926aa63 (patch)
treec2eb0033c72869b24e0b7069a9859643bd6d0f24
parent02951d8d0fc6a2c38114006c277b5ff4e1cacb16 (diff)
downloadFreeBSD-ports-aa7a51cf11e7a3505165ffe06bab55d4f926aa63.zip
FreeBSD-ports-aa7a51cf11e7a3505165ffe06bab55d4f926aa63.tar.gz
Add py-prolog, A Python extension embedding SWI-Prolog
Submitted by: g.gonter@ieee.org
-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 734bdd6..5ba524b 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 0000000..0628e1d
--- /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 0000000..70b8207
--- /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 0000000..45839a4
--- /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 0000000..9c6a4a5
--- /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
OpenPOWER on IntegriCloud