a7a66ee9ab
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/
31 lines
995 B
Makefile
31 lines
995 B
Makefile
# 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>
|