summaryrefslogtreecommitdiff
path: root/devel/swig-perl
diff options
context:
space:
mode:
authorepg <epg@pkgsrc.org>2003-12-03 15:11:23 +0000
committerepg <epg@pkgsrc.org>2003-12-03 15:11:23 +0000
commitd26572ef2a07f472399c8aa9fec783f02383a432 (patch)
treef5db7f59469b1f7aecc19e47b9448f356a24f3cc /devel/swig-perl
parent785609cf5fff1b78c3bd53e2418d05696cdd2fdb (diff)
downloadpkgsrc-d26572ef2a07f472399c8aa9fec783f02383a432.tar.gz
import swig-perl-1.3.19
This is the runtime for Perl bindings written with SWIG 1.3.19.
Diffstat (limited to 'devel/swig-perl')
-rw-r--r--devel/swig-perl/DESCR11
-rw-r--r--devel/swig-perl/Makefile14
-rw-r--r--devel/swig-perl/PLIST4
-rw-r--r--devel/swig-perl/buildlink2.mk23
4 files changed, 52 insertions, 0 deletions
diff --git a/devel/swig-perl/DESCR b/devel/swig-perl/DESCR
new file mode 100644
index 00000000000..6512d28b896
--- /dev/null
+++ b/devel/swig-perl/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 Perl runtime.
diff --git a/devel/swig-perl/Makefile b/devel/swig-perl/Makefile
new file mode 100644
index 00000000000..f535e15a0f3
--- /dev/null
+++ b/devel/swig-perl/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/12/03 15:11:23 epg Exp $
+
+PKGNAME= swig-perl-${SWIG_VERSION}
+COMMENT= Simplified Wrapper and Interface Generator, Perl runtime
+
+.include "../swig-build/Makefile.common"
+
+CONFIGURE_ARGS+= --with-perl5=${PERL5}
+
+ALL_TARGET= runtime
+INSTALL_TARGET= install-runtime
+
+.include "../../lang/perl5/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/swig-perl/PLIST b/devel/swig-perl/PLIST
new file mode 100644
index 00000000000..2f4f4b63156
--- /dev/null
+++ b/devel/swig-perl/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/03 15:11:23 epg Exp $
+lib/libswigpl.a
+lib/libswigpl.la
+lib/libswigpl.so
diff --git a/devel/swig-perl/buildlink2.mk b/devel/swig-perl/buildlink2.mk
new file mode 100644
index 00000000000..499f971f3b1
--- /dev/null
+++ b/devel/swig-perl/buildlink2.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/12/03 15:11:23 epg Exp $
+
+.if !defined(SWIG_PERL_BUILDLINK2_MK)
+SWIG_PERL_BUILDLINK2_MK= #defined
+
+BUILDLINK_PACKAGES+= swig-perl
+BUILDLINK_DEPENDS.swig-perl?= swig-perl>=${SWIG_VERSION}
+BUILDLINK_PKGSRCDIR.swig-perl?= ../../devel/swig-perl
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.swig-perl=swig-perl
+BUILDLINK_PREFIX.swig-perl_DEFAULT= ${LOCALBASE}
+
+BUILDLINK_FILES.swig-perl+= lib/libswigpl.*
+
+.include "../../lang/perl5/buildlink2.mk"
+
+.include "../../devel/swig-build/Makefile.version"
+
+BUILDLINK_TARGETS+= swig-perl-buildlink
+
+swig-perl-buildlink: _BUILDLINK_USE
+
+.endif # SWIG_PERL_BUILDLINK2_MK