aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2011-10-10 11:26:26 +0800
committersunpoet <sunpoet@FreeBSD.org>2011-10-10 11:26:26 +0800
commitea0f414ed90326636afbff7b1f271adc0d9bee60 (patch)
treeeec7ba53357e2381c9ded6b697eaa9030b1d759c /x11-toolkits
parent7d94d4a1c8e7fd8730fce002477fdb8329967d0a (diff)
downloadfreebsd-ports-gnome-ea0f414ed90326636afbff7b1f271adc0d9bee60.tar.gz
freebsd-ports-gnome-ea0f414ed90326636afbff7b1f271adc0d9bee60.tar.zst
freebsd-ports-gnome-ea0f414ed90326636afbff7b1f271adc0d9bee60.zip
- Add p5-Tk-Action 1.093390
Menu entries are often also available in toolbars or other widgets. And sometimes, we want to enable or disable a given action, and this means having to update everywhere this action is allowed. This module helps managing actions in a Tk GUI: just create a new object, associate some widgets and bindings with add_widget() and then de/activate the whole action at once with enable() or disable(). WWW: http://search.cpan.org/dist/Tk-Action/
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/Makefile1
-rw-r--r--x11-toolkits/p5-Tk-Action/Makefile31
-rw-r--r--x11-toolkits/p5-Tk-Action/distinfo2
-rw-r--r--x11-toolkits/p5-Tk-Action/pkg-descr9
-rw-r--r--x11-toolkits/p5-Tk-Action/pkg-plist5
5 files changed, 48 insertions, 0 deletions
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile
index 459dde797d3e..97ce96629e7a 100644
--- a/x11-toolkits/Makefile
+++ b/x11-toolkits/Makefile
@@ -162,6 +162,7 @@
SUBDIR += p5-Pango
SUBDIR += p5-Prima
SUBDIR += p5-Tk
+ SUBDIR += p5-Tk-Action
SUBDIR += p5-Tk-Autoscroll
SUBDIR += p5-Tk-ColourChooser
SUBDIR += p5-Tk-Contrib
diff --git a/x11-toolkits/p5-Tk-Action/Makefile b/x11-toolkits/p5-Tk-Action/Makefile
new file mode 100644
index 000000000000..25d4df349472
--- /dev/null
+++ b/x11-toolkits/p5-Tk-Action/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: p5-Tk-Action
+# Date created: 2011-10-10
+# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Tk-Action
+PORTVERSION= 1.093.390
+CATEGORIES= x11-toolkits tk perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Action abstraction for Tk
+
+BUILD_DEPENDS= p5-Moose>=0.92:${PORTSDIR}/devel/p5-Moose \
+ p5-MooseX-Has-Sugar>=0:${PORTSDIR}/devel/p5-MooseX-Has-Sugar \
+ p5-MooseX-SemiAffordanceAccessor>=0:${PORTSDIR}/devel/p5-MooseX-SemiAffordanceAccessor \
+ p5-Tk-Sugar>=0:${PORTSDIR}/x11-toolkits/p5-Tk-Sugar
+RUN_DEPENDS= p5-Moose>=0.92:${PORTSDIR}/devel/p5-Moose \
+ p5-MooseX-Has-Sugar>=0:${PORTSDIR}/devel/p5-MooseX-Has-Sugar \
+ p5-MooseX-SemiAffordanceAccessor>=0:${PORTSDIR}/devel/p5-MooseX-SemiAffordanceAccessor \
+ p5-Tk-Sugar>=0:${PORTSDIR}/x11-toolkits/p5-Tk-Sugar
+
+PERL_CONFIGURE= 5.10.0+
+
+MAN3= Tk::Action.3
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/p5-Tk-Action/distinfo b/x11-toolkits/p5-Tk-Action/distinfo
new file mode 100644
index 000000000000..8637e4c3fa7d
--- /dev/null
+++ b/x11-toolkits/p5-Tk-Action/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Tk-Action-1.093390.tar.gz) = 62bd6f9492c8b20db57607ea3d1f549f83825a2d6df93bac5dde95087336a707
+SIZE (Tk-Action-1.093390.tar.gz) = 10738
diff --git a/x11-toolkits/p5-Tk-Action/pkg-descr b/x11-toolkits/p5-Tk-Action/pkg-descr
new file mode 100644
index 000000000000..7b2ea4b73738
--- /dev/null
+++ b/x11-toolkits/p5-Tk-Action/pkg-descr
@@ -0,0 +1,9 @@
+Menu entries are often also available in toolbars or other widgets. And
+sometimes, we want to enable or disable a given action, and this means having to
+update everywhere this action is allowed.
+
+This module helps managing actions in a Tk GUI: just create a new object,
+associate some widgets and bindings with add_widget() and then de/activate the
+whole action at once with enable() or disable().
+
+WWW: http://search.cpan.org/dist/Tk-Action/
diff --git a/x11-toolkits/p5-Tk-Action/pkg-plist b/x11-toolkits/p5-Tk-Action/pkg-plist
new file mode 100644
index 000000000000..6a6483570363
--- /dev/null
+++ b/x11-toolkits/p5-Tk-Action/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Tk/Action.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tk/Action/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Tk/Action
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Tk
+@dirrmtry %%SITE_PERL%%/Tk