aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames FitzGibbon <jfitz@FreeBSD.org>1997-06-16 03:03:56 +0000
committerJames FitzGibbon <jfitz@FreeBSD.org>1997-06-16 03:03:56 +0000
commit26926d9a4dbe728d8ed041a7c1bfc07a73443b47 (patch)
tree6d15c947f0b1fb9309e2074430bbb2cba6db3397
parente901b7651fbc53dec52c13af92d1820fa841492d (diff)
downloadports-26926d9a4dbe728d8ed041a7c1bfc07a73443b47.tar.gz
ports-26926d9a4dbe728d8ed041a7c1bfc07a73443b47.zip
Import of a perl5 module for access to libtcl
Notes
Notes: svn path=/head/; revision=6948
-rw-r--r--lang/p5-Tcl/Makefile27
-rw-r--r--lang/p5-Tcl/distinfo1
-rw-r--r--lang/p5-Tcl/files/patch-aa9
-rw-r--r--lang/p5-Tcl/pkg-comment1
-rw-r--r--lang/p5-Tcl/pkg-descr30
-rw-r--r--lang/p5-Tcl/pkg-plist6
6 files changed, 74 insertions, 0 deletions
diff --git a/lang/p5-Tcl/Makefile b/lang/p5-Tcl/Makefile
new file mode 100644
index 000000000000..3a000e02187c
--- /dev/null
+++ b/lang/p5-Tcl/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: p5-Tcl
+# Version required: b1
+# Date created: June 15th 1997
+# Whom: James FitzGibbon <jfitz@FreeBSD.org>
+#
+# $Id$
+
+DISTNAME= Tcl-b1
+PKGNAME= p5-Tcl-b1
+CATEGORIES= lang perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Tcl
+
+MAINTAINER= jfitz@FreeBSD.ORG
+
+BUILD_DEPENDS= perl5.004:${PORTSDIR}/lang/perl5
+RUN_DEPENDS= perl5.004:${PORTSDIR}/lang/perl5
+
+WRKSRC= ${WRKDIR}/Tcl
+
+MANPREFIX= ${PREFIX}/lib/perl5
+MAN3= Tcl.3
+
+do-configure:
+ @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL
+
+.include <bsd.port.mk>
diff --git a/lang/p5-Tcl/distinfo b/lang/p5-Tcl/distinfo
new file mode 100644
index 000000000000..330e281e4c56
--- /dev/null
+++ b/lang/p5-Tcl/distinfo
@@ -0,0 +1 @@
+MD5 (Tcl-b1.tar.gz) = 25cd4b8673aeab94b4e1f758f18a0d62
diff --git a/lang/p5-Tcl/files/patch-aa b/lang/p5-Tcl/files/patch-aa
new file mode 100644
index 000000000000..97377393c963
--- /dev/null
+++ b/lang/p5-Tcl/files/patch-aa
@@ -0,0 +1,9 @@
+--- Makefile.PL.orig Sun Jun 15 22:37:16 1997
++++ Makefile.PL Sun Jun 15 22:37:40 1997
+@@ -1,3 +1,4 @@
+ use ExtUtils::MakeMaker;
+-WriteMakefile(LIBS => ["-ltcl -lm"],
+- INC => "-I/usr/local/include -I/usr/include/tcl");
++WriteMakefile( NAME => "Tcl",
++ LIBS => ["-ltcl -lm"],
++ INC => "-I/usr/include/tcl");
diff --git a/lang/p5-Tcl/pkg-comment b/lang/p5-Tcl/pkg-comment
new file mode 100644
index 000000000000..5b42a95a61a2
--- /dev/null
+++ b/lang/p5-Tcl/pkg-comment
@@ -0,0 +1 @@
+a Tcl extension module for Perl5
diff --git a/lang/p5-Tcl/pkg-descr b/lang/p5-Tcl/pkg-descr
new file mode 100644
index 000000000000..8e1f32b60d9c
--- /dev/null
+++ b/lang/p5-Tcl/pkg-descr
@@ -0,0 +1,30 @@
+ The Tcl extension module gives access to the Tcl library
+ with functionality and interface similar to the C
+ functions of Tcl. In other words, you can
+
+ create Tcl interpreters
+ The Tcl interpreters so created are Perl objects
+ whose destructors delete the interpreters cleanly
+ when appropriate.
+
+ execute Tcl code in an interpreter
+ The code can come from strings, files or Perl
+ filehandles.
+
+ bind in new Tcl procedures
+ The new procedures can be either C code (with
+ addresses presumably obtained using dl_open and
+ dl_find_symbol) or Perl subroutines (by name,
+ reference or as anonymous subs). The (optional)
+ deleteProc callback in the latter case is another
+ perl subroutine which is called when the command
+ is explicitly deleted by name or else when the
+ destructor for the interpreter object is
+ explicitly or implicitly called.
+
+ Manipulate the result field of a Tcl interpreter
+
+ Set and get values of variables in a Tcl interpreter
+
+ Tie perl variables to variables in a Tcl interpreter
+ The variables can be either scalars or hashes.
diff --git a/lang/p5-Tcl/pkg-plist b/lang/p5-Tcl/pkg-plist
new file mode 100644
index 000000000000..cdc08b8d5226
--- /dev/null
+++ b/lang/p5-Tcl/pkg-plist
@@ -0,0 +1,6 @@
+lib/perl5/man/man3/Tcl.3.gz
+lib/perl5/site_perl/Tcl.pm
+lib/perl5/site_perl/i386-freebsd/auto/Tcl/Tcl.bs
+lib/perl5/site_perl/i386-freebsd/auto/Tcl/Tcl.so
+lib/perl5/site_perl/i386-freebsd/auto/Tcl/.packlist
+@dirrm lib/perl5/site_perl/i386-freebsd/auto/Tcl