From 1695ef52446828ce891d1ac1bbeac8f8cd4f6126 Mon Sep 17 00:00:00 2001 From: sat Date: Thu, 31 Aug 2006 11:11:06 +0000 Subject: Add port devel/p5-Tie-Watch: This class module binds one or more subroutines of your devising to a Perl variable. All variables can have FETCH, STORE and DESTROY callbacks. Additionally, arrays can define CLEAR, DELETE, EXISTS, EXTEND, FETCHSIZE, POP, PUSH, SHIFT, SPLICE, STORESIZE and UNSHIFT callbacks, and hashes can define CLEAR, DELETE, EXISTS, FIRSTKEY and NEXTKEY callbacks. With Tie::Watch you can: * alter a variable's value * prevent a variable's value from being changed * invoke a Perl/Tk callback when a variable changes * trace references to a variable WWW: http://search.cpan.org/dist/Tie-Watch/ Author: Steve Lidie Justification: x11-toolkits/p5-Tk-JComboBox dep, sysutils/namefix recursive dep --- devel/Makefile | 1 + devel/p5-Tie-Watch/Makefile | 21 +++++++++++++++++++++ devel/p5-Tie-Watch/distinfo | 3 +++ devel/p5-Tie-Watch/pkg-descr | 14 ++++++++++++++ devel/p5-Tie-Watch/pkg-plist | 5 +++++ 5 files changed, 44 insertions(+) create mode 100644 devel/p5-Tie-Watch/Makefile create mode 100644 devel/p5-Tie-Watch/distinfo create mode 100644 devel/p5-Tie-Watch/pkg-descr create mode 100644 devel/p5-Tie-Watch/pkg-plist (limited to 'devel') diff --git a/devel/Makefile b/devel/Makefile index 8067ee42fb7..28b75c6eaa8 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1434,6 +1434,7 @@ SUBDIR += p5-Tie-Restore SUBDIR += p5-Tie-ShareLite SUBDIR += p5-Tie-Simple + SUBDIR += p5-Tie-Watch SUBDIR += p5-Tie-iCal SUBDIR += p5-Time-Clock SUBDIR += p5-Time-Duration diff --git a/devel/p5-Tie-Watch/Makefile b/devel/p5-Tie-Watch/Makefile new file mode 100644 index 00000000000..2b1782d1955 --- /dev/null +++ b/devel/p5-Tie-Watch/Makefile @@ -0,0 +1,21 @@ +# New ports collection makefile for: p5-Tie-Watch +# Date created: 31 August 2006 +# Whom: Andrew Pantyukhin +# +# $FreeBSD$ +# + +PORTNAME= Tie-Watch +DISTVERSION= 1.2 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= infofarmer@FreeBSD.org +COMMENT= Place watchpoints on variables + +PERL_CONFIGURE= yes + +MAN3= ${PORTNAME:S/-/::/g}.3 + +.include diff --git a/devel/p5-Tie-Watch/distinfo b/devel/p5-Tie-Watch/distinfo new file mode 100644 index 00000000000..da5aad3468e --- /dev/null +++ b/devel/p5-Tie-Watch/distinfo @@ -0,0 +1,3 @@ +MD5 (Tie-Watch-1.2.tar.gz) = 9bbdff61b7fc82980d5c213f4b5763bc +SHA256 (Tie-Watch-1.2.tar.gz) = d41b7c390f385ff3253e7b38a4be7701b5107b47e5d84db66d83a28bc72a86c9 +SIZE (Tie-Watch-1.2.tar.gz) = 9037 diff --git a/devel/p5-Tie-Watch/pkg-descr b/devel/p5-Tie-Watch/pkg-descr new file mode 100644 index 00000000000..de70e544828 --- /dev/null +++ b/devel/p5-Tie-Watch/pkg-descr @@ -0,0 +1,14 @@ +This class module binds one or more subroutines of your devising to a Perl +variable. All variables can have FETCH, STORE and DESTROY callbacks. +Additionally, arrays can define CLEAR, DELETE, EXISTS, EXTEND, FETCHSIZE, +POP, PUSH, SHIFT, SPLICE, STORESIZE and UNSHIFT callbacks, and hashes can +define CLEAR, DELETE, EXISTS, FIRSTKEY and NEXTKEY callbacks. + +With Tie::Watch you can: +* alter a variable's value +* prevent a variable's value from being changed +* invoke a Perl/Tk callback when a variable changes +* trace references to a variable + +WWW: http://search.cpan.org/dist/Tie-Watch/ +Author: Steve Lidie diff --git a/devel/p5-Tie-Watch/pkg-plist b/devel/p5-Tie-Watch/pkg-plist new file mode 100644 index 00000000000..daa91c14051 --- /dev/null +++ b/devel/p5-Tie-Watch/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie/Watch/.packlist +%%SITE_PERL%%/Tie/Watch.pm +@dirrmtry %%SITE_PERL%%/Tie +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie/Watch +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie -- cgit