aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/p5-Tk-ToolBar
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-10-10 11:53:36 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-10-10 11:53:36 +0000
commit19d153486676220f067877b6ae69c5cafc4ae1de (patch)
tree1bbfa45bfee82160a76e092d3f6ad2fe2677915e /x11-toolkits/p5-Tk-ToolBar
parenta571c2b564491bd46f03f4fe7b9b3d32a44ad48a (diff)
downloadports-19d153486676220f067877b6ae69c5cafc4ae1de.tar.gz
ports-19d153486676220f067877b6ae69c5cafc4ae1de.zip
- Add p5-Tk-ToolBar 0.10
Tk::Toolbar implements a dockable toolbar. It is in the same spirit as the "short-cut" toolbars found in most major applications, such as most web browsers and text editors (where you find the "back" or "save" and other shortcut buttons). Buttons of any type (regular, menu, check, radio) can be created inside this widget. You can also create Label, Entry and LabEntry widgets. Moreover, the ToolBar itself can be made dockable, such that it can be dragged to any edge of your window. Dragging is done in "real-time" so that you can see the contents of your ToolBar as you are dragging it. Furthermore, if you are close to a stickable edge, a visual indicator will show up along that edge to guide you. ToolBars can be made "floatable" such that if they are dragged beyond their associated window, they will detach and float on the desktop. Also, multiple ToolBars are embeddable inside each other. Various icons are built into the Tk::ToolBar widget. Those icons can be used as images for ToolButtons (see "SYNOPSIS"). A demo program is bundled with the module that should be available under the 'User Contributed Demonstrations' when you run the widget program. Run it to see a list of the available images. WWW: http://search.cpan.org/dist/Tk-ToolBar/
Notes
Notes: svn path=/head/; revision=283327
Diffstat (limited to 'x11-toolkits/p5-Tk-ToolBar')
-rw-r--r--x11-toolkits/p5-Tk-ToolBar/Makefile25
-rw-r--r--x11-toolkits/p5-Tk-ToolBar/distinfo2
-rw-r--r--x11-toolkits/p5-Tk-ToolBar/pkg-descr21
-rw-r--r--x11-toolkits/p5-Tk-ToolBar/pkg-plist10
4 files changed, 58 insertions, 0 deletions
diff --git a/x11-toolkits/p5-Tk-ToolBar/Makefile b/x11-toolkits/p5-Tk-ToolBar/Makefile
new file mode 100644
index 000000000000..d7fc1c691232
--- /dev/null
+++ b/x11-toolkits/p5-Tk-ToolBar/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: p5-Tk-ToolBar
+# Date created: 2011-10-10
+# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Tk-ToolBar
+PORTVERSION= 0.10
+CATEGORIES= x11-toolkits tk perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= A toolbar widget for Perl/Tk
+
+#BUILD_DEPENDS= p5-Tk-CursorControl>=0:${PORTSDIR}/x11-toolkits/Tk-CursorControl
+#RUN_DEPENDS= p5-Tk-CursorControl>=0:${PORTSDIR}/x11-toolkits/Tk-CursorControl
+
+USE_ZIP= yes
+PERL_CONFIGURE= yes
+
+MAN3= Tk::ToolBar.3
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/p5-Tk-ToolBar/distinfo b/x11-toolkits/p5-Tk-ToolBar/distinfo
new file mode 100644
index 000000000000..867c0b36bf5d
--- /dev/null
+++ b/x11-toolkits/p5-Tk-ToolBar/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Tk-ToolBar-0.10.zip) = 333fe56b163632360d08d13db9b726378b011b79f7fde79b5f93ba3aaffc8ac1
+SIZE (Tk-ToolBar-0.10.zip) = 64121
diff --git a/x11-toolkits/p5-Tk-ToolBar/pkg-descr b/x11-toolkits/p5-Tk-ToolBar/pkg-descr
new file mode 100644
index 000000000000..72b1a797561c
--- /dev/null
+++ b/x11-toolkits/p5-Tk-ToolBar/pkg-descr
@@ -0,0 +1,21 @@
+Tk::Toolbar implements a dockable toolbar. It is in the same spirit as the
+"short-cut" toolbars found in most major applications, such as most web browsers
+and text editors (where you find the "back" or "save" and other shortcut
+buttons).
+
+Buttons of any type (regular, menu, check, radio) can be created inside this
+widget. You can also create Label, Entry and LabEntry widgets. Moreover, the
+ToolBar itself can be made dockable, such that it can be dragged to any edge of
+your window. Dragging is done in "real-time" so that you can see the contents of
+your ToolBar as you are dragging it. Furthermore, if you are close to a
+stickable edge, a visual indicator will show up along that edge to guide you.
+ToolBars can be made "floatable" such that if they are dragged beyond their
+associated window, they will detach and float on the desktop. Also, multiple
+ToolBars are embeddable inside each other.
+
+Various icons are built into the Tk::ToolBar widget. Those icons can be used as
+images for ToolButtons (see "SYNOPSIS"). A demo program is bundled with the
+module that should be available under the 'User Contributed Demonstrations' when
+you run the widget program. Run it to see a list of the available images.
+
+WWW: http://search.cpan.org/dist/Tk-ToolBar/
diff --git a/x11-toolkits/p5-Tk-ToolBar/pkg-plist b/x11-toolkits/p5-Tk-ToolBar/pkg-plist
new file mode 100644
index 000000000000..1675f30d2bfc
--- /dev/null
+++ b/x11-toolkits/p5-Tk-ToolBar/pkg-plist
@@ -0,0 +1,10 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/Tk/ToolBar.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Tk/ToolBar/tkIcons
+%%SITE_PERL%%/%%PERL_ARCH%%/Tk/demos/widtrib/toolbar.pl
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tk/ToolBar/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Tk/ToolBar
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Tk
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Tk/demos/widtrib
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Tk/demos
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Tk/ToolBar
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Tk