aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorjfitz <jfitz@FreeBSD.org>1997-06-16 11:03:56 +0800
committerjfitz <jfitz@FreeBSD.org>1997-06-16 11:03:56 +0800
commitbbfabfc11c135b6eb40cf8b26c9daa99ccc11fa0 (patch)
tree5b848cba76a8252960cc7c68ffa83d8a344bd89b /lang
parente232ba49609e00225fa6bb6a15e3a49d1103f2dd (diff)
downloadfreebsd-ports-gnome-bbfabfc11c135b6eb40cf8b26c9daa99ccc11fa0.tar.gz
freebsd-ports-gnome-bbfabfc11c135b6eb40cf8b26c9daa99ccc11fa0.tar.zst
freebsd-ports-gnome-bbfabfc11c135b6eb40cf8b26c9daa99ccc11fa0.zip
Import of a perl5 module for access to libtcl
Diffstat (limited to 'lang')
-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