diff options
author | jfitz <jfitz@FreeBSD.org> | 1997-06-16 03:05:22 +0000 |
---|---|---|
committer | jfitz <jfitz@FreeBSD.org> | 1997-06-16 03:05:22 +0000 |
commit | 366f2896a2dd6d1cf971f5c7bd41f7192b10969c (patch) | |
tree | 9659242f9be5f2b5ea9e8f957ccde92e31eede67 /x11-toolkits | |
parent | bbfabfc11c135b6eb40cf8b26c9daa99ccc11fa0 (diff) | |
download | FreeBSD-ports-366f2896a2dd6d1cf971f5c7bd41f7192b10969c.zip FreeBSD-ports-366f2896a2dd6d1cf971f5c7bd41f7192b10969c.tar.gz |
Import of a perl5 module to allow access to libtk (layered on top of p5-Tcl, as opposed to p5-Tk, which is native access)
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/p5-Tcl-Tk/Makefile | 29 | ||||
-rw-r--r-- | x11-toolkits/p5-Tcl-Tk/distinfo | 1 | ||||
-rw-r--r-- | x11-toolkits/p5-Tcl-Tk/files/patch-aa | 11 | ||||
-rw-r--r-- | x11-toolkits/p5-Tcl-Tk/pkg-comment | 1 | ||||
-rw-r--r-- | x11-toolkits/p5-Tcl-Tk/pkg-descr | 18 | ||||
-rw-r--r-- | x11-toolkits/p5-Tcl-Tk/pkg-plist | 6 | ||||
-rw-r--r-- | x11-toolkits/p5-TclTk/Makefile | 29 | ||||
-rw-r--r-- | x11-toolkits/p5-TclTk/distinfo | 1 | ||||
-rw-r--r-- | x11-toolkits/p5-TclTk/files/patch-aa | 11 | ||||
-rw-r--r-- | x11-toolkits/p5-TclTk/pkg-comment | 1 | ||||
-rw-r--r-- | x11-toolkits/p5-TclTk/pkg-descr | 18 | ||||
-rw-r--r-- | x11-toolkits/p5-TclTk/pkg-plist | 6 |
12 files changed, 132 insertions, 0 deletions
diff --git a/x11-toolkits/p5-Tcl-Tk/Makefile b/x11-toolkits/p5-Tcl-Tk/Makefile new file mode 100644 index 0000000..f40a7e4 --- /dev/null +++ b/x11-toolkits/p5-Tcl-Tk/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-Tcl-Tk/distinfo b/x11-toolkits/p5-Tcl-Tk/distinfo new file mode 100644 index 0000000..a56afd8 --- /dev/null +++ b/x11-toolkits/p5-Tcl-Tk/distinfo @@ -0,0 +1 @@ +MD5 (TclTk-b1.tar.gz) = 3da5f989a491e2963cb62c2140144f44 diff --git a/x11-toolkits/p5-Tcl-Tk/files/patch-aa b/x11-toolkits/p5-Tcl-Tk/files/patch-aa new file mode 100644 index 0000000..c071a78 --- /dev/null +++ b/x11-toolkits/p5-Tcl-Tk/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-Tcl-Tk/pkg-comment b/x11-toolkits/p5-Tcl-Tk/pkg-comment new file mode 100644 index 0000000..283c7a9 --- /dev/null +++ b/x11-toolkits/p5-Tcl-Tk/pkg-comment @@ -0,0 +1 @@ +perl5 module to access to Tk via the Tcl extension diff --git a/x11-toolkits/p5-Tcl-Tk/pkg-descr b/x11-toolkits/p5-Tcl-Tk/pkg-descr new file mode 100644 index 0000000..8c81ae0 --- /dev/null +++ b/x11-toolkits/p5-Tcl-Tk/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-Tcl-Tk/pkg-plist b/x11-toolkits/p5-Tcl-Tk/pkg-plist new file mode 100644 index 0000000..ee6a58b --- /dev/null +++ b/x11-toolkits/p5-Tcl-Tk/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 diff --git a/x11-toolkits/p5-TclTk/Makefile b/x11-toolkits/p5-TclTk/Makefile new file mode 100644 index 0000000..f40a7e4 --- /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 0000000..a56afd8 --- /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 0000000..c071a78 --- /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 0000000..283c7a9 --- /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 0000000..8c81ae0 --- /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 0000000..ee6a58b --- /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 |