aboutsummaryrefslogtreecommitdiffstats
path: root/lang/py-prolog
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-06-29 08:46:42 +0800
committerarved <arved@FreeBSD.org>2003-06-29 08:46:42 +0800
commitaa7a51cf11e7a3505165ffe06bab55d4f926aa63 (patch)
treec2eb0033c72869b24e0b7069a9859643bd6d0f24 /lang/py-prolog
parent02951d8d0fc6a2c38114006c277b5ff4e1cacb16 (diff)
downloadfreebsd-ports-gnome-aa7a51cf11e7a3505165ffe06bab55d4f926aa63.tar.gz
freebsd-ports-gnome-aa7a51cf11e7a3505165ffe06bab55d4f926aa63.tar.zst
freebsd-ports-gnome-aa7a51cf11e7a3505165ffe06bab55d4f926aa63.zip
Add py-prolog, A Python extension embedding SWI-Prolog
Submitted by: g.gonter@ieee.org
Diffstat (limited to 'lang/py-prolog')
-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
4 files changed, 48 insertions, 0 deletions
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