aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/p5-TclTk
diff options
context:
space:
mode:
authorJames FitzGibbon <jfitz@FreeBSD.org>1997-06-16 03:05:22 +0000
committerJames FitzGibbon <jfitz@FreeBSD.org>1997-06-16 03:05:22 +0000
commit8c3070674511fd7d93cf9640b2ea4c140b74b30f (patch)
treee42effedc70fdfb30da5e6770152789572214db3 /x11-toolkits/p5-TclTk
parent26926d9a4dbe728d8ed041a7c1bfc07a73443b47 (diff)
downloadports-8c3070674511fd7d93cf9640b2ea4c140b74b30f.tar.gz
ports-8c3070674511fd7d93cf9640b2ea4c140b74b30f.zip
Notes
Diffstat (limited to 'x11-toolkits/p5-TclTk')
-rw-r--r--x11-toolkits/p5-TclTk/Makefile29
-rw-r--r--x11-toolkits/p5-TclTk/distinfo1
-rw-r--r--x11-toolkits/p5-TclTk/files/patch-aa11
-rw-r--r--x11-toolkits/p5-TclTk/pkg-comment1
-rw-r--r--x11-toolkits/p5-TclTk/pkg-descr18
-rw-r--r--x11-toolkits/p5-TclTk/pkg-plist6
6 files changed, 66 insertions, 0 deletions
diff --git a/x11-toolkits/p5-TclTk/Makefile b/x11-toolkits/p5-TclTk/Makefile
new file mode 100644
index 000000000000..f40a7e46e088
--- /dev/null
+++ b/x11-toolkits/p5-TclTk/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: p5-Tcl-Tk
+# Version required: b1
+# Date created: June 15th 1997
+# Whom: James FitzGibbon <jfitz@FreeBSD.org>
+#
+# $Id$
+
+DISTNAME= TclTk-b1
+PKGNAME= p5-Tcl-Tk-b1
+CATEGORIES= x11 lang perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Tcl
+
+MAINTAINER= jfitz@FreeBSD.ORG
+
+BUILD_DEPENDS= perl5.004:${PORTSDIR}/lang/perl5 \
+ ${PREFIX}/lib/perl5/site_perl/Tcl.pm:${PORTSDIR}/lang/p5-Tcl
+RUN_DEPENDS= perl5.004:${PORTSDIR}/lang/perl5
+LIB_DEPENDS= tk41\\.1\\.:${PORTSDIR}/x11/tk41
+
+WRKSRC= ${WRKDIR}/TclTk
+
+MANPREFIX= ${PREFIX}/lib/perl5
+MAN3= Tcl::Tk.3
+
+do-configure:
+ @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/p5-TclTk/distinfo b/x11-toolkits/p5-TclTk/distinfo
new file mode 100644
index 000000000000..a56afd8daf72
--- /dev/null
+++ b/x11-toolkits/p5-TclTk/distinfo
@@ -0,0 +1 @@
+MD5 (TclTk-b1.tar.gz) = 3da5f989a491e2963cb62c2140144f44
diff --git a/x11-toolkits/p5-TclTk/files/patch-aa b/x11-toolkits/p5-TclTk/files/patch-aa
new file mode 100644
index 000000000000..c071a785b025
--- /dev/null
+++ b/x11-toolkits/p5-TclTk/files/patch-aa
@@ -0,0 +1,11 @@
+--- Makefile.PL.orig Tue Jun 6 07:15:02 1995
++++ Makefile.PL Sun Jun 15 22:59:52 1997
+@@ -1,6 +1,6 @@
+ use ExtUtils::MakeMaker;
+ WriteMakefile(NAME => "Tcl::Tk",
+ DISTNAME => "TclTk",
+- LIBS => ["-ltk -ltcl -lX11 -lm"],
+- INC => "-I/usr/local/include -I/usr/include/tcl");
++ LIBS => ["-L$ENV{PREFIX}/lib -L$ENV{X11BASE}/lib -ltk41 -ltcl -lX11 -lm"],
++ INC => "-I$ENV{PREFIX}/include -I/usr/include/tcl -I$ENV{X11BASE}/include");
+ sub MY::tool_autosplit { "AUTOSPLITFILE = :" }
diff --git a/x11-toolkits/p5-TclTk/pkg-comment b/x11-toolkits/p5-TclTk/pkg-comment
new file mode 100644
index 000000000000..283c7a956f14
--- /dev/null
+++ b/x11-toolkits/p5-TclTk/pkg-comment
@@ -0,0 +1 @@
+perl5 module to access to Tk via the Tcl extension
diff --git a/x11-toolkits/p5-TclTk/pkg-descr b/x11-toolkits/p5-TclTk/pkg-descr
new file mode 100644
index 000000000000..8c81ae0ecd4a
--- /dev/null
+++ b/x11-toolkits/p5-TclTk/pkg-descr
@@ -0,0 +1,18 @@
+ The Tcl::Tk submodule of the Tcl module gives access to
+ the Tk library. It does this by creating a Tcl
+ interpreter object (using the Tcl extension) and binding
+ in all of Tk into the interpreter (in the same way that
+ wish or other Tcl/Tk applications do).
+
+ Access to the Tcl and Tcl::Tk extensions
+
+ To get access to the Tcl and Tcl::Tk extensions, put the
+ commands
+ require Tcl;
+ use Tcl::Tk;
+
+ near the top of your program. The Tcl extension does not
+ alter your namespace at all (hence the "require"). The
+ Tcl::Tk extension imports the widget and other Tk commands
+ into your namespace (hence the "use").
+
diff --git a/x11-toolkits/p5-TclTk/pkg-plist b/x11-toolkits/p5-TclTk/pkg-plist
new file mode 100644
index 000000000000..ee6a58bdfa40
--- /dev/null
+++ b/x11-toolkits/p5-TclTk/pkg-plist
@@ -0,0 +1,6 @@
+lib/perl5/man/man3/Tcl::Tk.3.gz
+lib/perl5/site_perl/Tcl/Tk.pm
+lib/perl5/site_perl/i386-freebsd/auto/Tcl/Tk/Tk.bs
+lib/perl5/site_perl/i386-freebsd/auto/Tcl/Tk/Tk.so
+lib/perl5/site_perl/i386-freebsd/auto/Tcl/Tk/.packlist
+@dirrm lib/perl5/site_perl/i386-freebsd/auto/Tcl/Tk