summaryrefslogtreecommitdiff
path: root/devel/p5-Inline
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>2002-09-01 22:39:23 +0000
committerkim <kim@pkgsrc.org>2002-09-01 22:39:23 +0000
commit323f2569a301dfe5c991cd6e4d68c555d54e6293 (patch)
treee9aad7b36871c4ab051b6dafb386979cd328bf81 /devel/p5-Inline
parentd5e2bf0f0a93ef0d3c29ad2056d1d1a73f1301b9 (diff)
downloadpkgsrc-323f2569a301dfe5c991cd6e4d68c555d54e6293.tar.gz
Inline lets you write Perl subroutines in other programming languages
like C, C++, Java, Python, Tcl and even Assembly. You don't need to compile anything. All the details are handled transparently so you can just run your Perl script like normal.
Diffstat (limited to 'devel/p5-Inline')
-rw-r--r--devel/p5-Inline/DESCR4
-rw-r--r--devel/p5-Inline/Makefile24
-rw-r--r--devel/p5-Inline/PLIST1
-rw-r--r--devel/p5-Inline/distinfo5
-rw-r--r--devel/p5-Inline/patches/patch-aa25
5 files changed, 59 insertions, 0 deletions
diff --git a/devel/p5-Inline/DESCR b/devel/p5-Inline/DESCR
new file mode 100644
index 00000000000..d15fef21ce3
--- /dev/null
+++ b/devel/p5-Inline/DESCR
@@ -0,0 +1,4 @@
+Inline lets you write Perl subroutines in other programming languages
+like C, C++, Java, Python, Tcl and even Assembly. You don't need to
+compile anything. All the details are handled transparently so you can
+just run your Perl script like normal.
diff --git a/devel/p5-Inline/Makefile b/devel/p5-Inline/Makefile
new file mode 100644
index 00000000000..f04d279cc1c
--- /dev/null
+++ b/devel/p5-Inline/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/09/01 22:39:23 kim Exp $
+#
+
+DISTNAME= Inline-0.43
+PKGNAME= p5-${DISTNAME}
+SVR4_PKGNAME= p5inl
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Inline/}
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://theory.uwinnipeg.ca/CPAN/data/Inline/Inline.html
+COMMENT= perl5 module for writing Perl subroutines in other languages
+
+DEPENDS+= p5-Digest-MD5-[0-9]*:../../security/p5-Digest-MD5
+DEPENDS+= p5-Parse-RecDescent-[0-9]*:../../devel/p5-Parse-RecDescent
+
+USE_BUILDLINK_ONLY= YES
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Inline/.packlist
+
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+
+.include "../../lang/perl5/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-Inline/PLIST b/devel/p5-Inline/PLIST
new file mode 100644
index 00000000000..9146ed8e0fa
--- /dev/null
+++ b/devel/p5-Inline/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/09/01 22:39:23 kim Exp $
diff --git a/devel/p5-Inline/distinfo b/devel/p5-Inline/distinfo
new file mode 100644
index 00000000000..43d7abb1400
--- /dev/null
+++ b/devel/p5-Inline/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/09/01 22:39:23 kim Exp $
+
+SHA1 (Inline-0.43.tar.gz) = 7a8dfef8b28221f5d9f0b89e32c6b8f05f1ab37f
+Size (Inline-0.43.tar.gz) = 81356 bytes
+SHA1 (patch-aa) = 4b22fa4022617813587e59fdd6b7b4d1a7bf456a
diff --git a/devel/p5-Inline/patches/patch-aa b/devel/p5-Inline/patches/patch-aa
new file mode 100644
index 00000000000..7a3e7b6633e
--- /dev/null
+++ b/devel/p5-Inline/patches/patch-aa
@@ -0,0 +1,25 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/09/01 22:39:23 kim Exp $
+
+Include Inline::C without prompting.
+
+--- C/Makefile.PL.orig Wed Jun 13 00:27:13 2001
++++ C/Makefile.PL Sun Aug 18 17:58:40 2002
+@@ -51,12 +51,12 @@
+ # '
+ }
+
+-my $answer = '';
+-my $default = $found ? "y" : "n";
+-while (1) {
+- $answer = prompt ('Do you want to install Inline::C?', $default);
+- last if $answer =~ /^(y|yes|n|no)$/i;
+-}
++my $answer = 'y';
++#my $default = $found ? "y" : "n";
++#while (1) {
++# $answer = prompt ('Do you want to install Inline::C?', $default);
++# last if $answer =~ /^(y|yes|n|no)$/i;
++#}
+
+ if ($answer =~ /^(y|yes)$/i) {
+ WriteMakefile(