summaryrefslogtreecommitdiff
path: root/devel/swig-python
diff options
context:
space:
mode:
authorepg <epg>2003-05-25 08:50:07 +0000
committerepg <epg>2003-05-25 08:50:07 +0000
commit7c879a6d4a1a2546d852c591c58856dfcddc6f44 (patch)
tree368beb53871069e14b5a4e04feb70517e9fe6c0e /devel/swig-python
parent51fa74c14f83ed423e942f31d37377cde6450dda (diff)
downloadpkgsrc-7c879a6d4a1a2546d852c591c58856dfcddc6f44.tar.gz
import swig-python-1.3.17
This is the runtime for Python bindings written with SWIG 1.3.17.
Diffstat (limited to 'devel/swig-python')
-rw-r--r--devel/swig-python/DESCR11
-rw-r--r--devel/swig-python/Makefile16
-rw-r--r--devel/swig-python/PLIST4
-rw-r--r--devel/swig-python/buildlink2.mk24
4 files changed, 55 insertions, 0 deletions
diff --git a/devel/swig-python/DESCR b/devel/swig-python/DESCR
new file mode 100644
index 00000000000..b15a9219d39
--- /dev/null
+++ b/devel/swig-python/DESCR
@@ -0,0 +1,11 @@
+SWIG (Simplified Wrapper and Interface Generator)
+
+SWIG is a compiler that integrates C and C++ with languages including
+Perl, Python, Tcl, Guile, Mzscheme, Java, Ruby, PHP, and Ocaml.
+
+SWIG reads annotated C/C++ header files and creates wrapper code (glue
+code) in order to make the corresponding C/C++ libraries available to
+the listed languages, or to extend C/C++ programs with a scripting
+language.
+
+This package contains SWIG's Python runtime.
diff --git a/devel/swig-python/Makefile b/devel/swig-python/Makefile
new file mode 100644
index 00000000000..8b57d085c32
--- /dev/null
+++ b/devel/swig-python/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/05/25 08:50:07 epg Exp $
+
+PKGNAME= swig-python-${SWIG_VERSION}
+COMMENT= Simplified Wrapper and Interface Generator, Python runtime
+
+.include "../swig-build/Makefile.common"
+
+PYTHON_VERSION_REQD= 22
+
+CONFIGURE_ARGS+= --with-python=${PYTHONBIN}
+
+ALL_TARGET= runtime
+INSTALL_TARGET= install-runtime
+
+.include "../../lang/python/pyversion.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/swig-python/PLIST b/devel/swig-python/PLIST
new file mode 100644
index 00000000000..4202863fe68
--- /dev/null
+++ b/devel/swig-python/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/05/25 08:50:07 epg Exp $
+lib/libswigpy.a
+lib/libswigpy.la
+lib/libswigpy.so
diff --git a/devel/swig-python/buildlink2.mk b/devel/swig-python/buildlink2.mk
new file mode 100644
index 00000000000..588d6319a76
--- /dev/null
+++ b/devel/swig-python/buildlink2.mk
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/05/25 08:50:07 epg Exp $
+
+.if !defined(SWIG_PYTHON_BUILDLINK2_MK)
+SWIG_PYTHON_BUILDLINK2_MK= #defined
+
+BUILDLINK_PACKAGES+= swig-python
+BUILDLINK_DEPENDS.swig-python?= swig-python>=${SWIG_VERSION}
+BUILDLINK_PKGSRCDIR.swig-python?= ../../devel/swig-python
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.swig-python=swig-python
+BUILDLINK_PREFIX.swig-python_DEFAULT= ${LOCALBASE}
+
+BUILDLINK_FILES.swig-python+= lib/libswigpy.*
+
+PYTHON_VERSION_REQD= 22
+.include "../../lang/python/pyversion.mk"
+
+.include "../../devel/swig-build/Makefile.version"
+
+BUILDLINK_TARGETS+= swig-python-buildlink
+
+swig-python-buildlink: _BUILDLINK_USE
+
+.endif # SWIG_PYTHON_BUILDLINK2_MK