aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2005-12-07 20:49:14 +0000
committerAnton Berezin <tobez@FreeBSD.org>2005-12-07 20:49:14 +0000
commit9f663459977da8deafe4880832df196c4a4c224c (patch)
treea02691ef67bbd888ef2a19cc83d771d5f6676293
parent57f977f3a12b1c5de7ee5bd34eeefdac0fafd75c (diff)
downloadports-9f663459977da8deafe4880832df196c4a4c224c.tar.gz
ports-9f663459977da8deafe4880832df196c4a4c224c.zip
Notes
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Class-StateMachine/Makefile28
-rw-r--r--devel/p5-Class-StateMachine/distinfo3
-rw-r--r--devel/p5-Class-StateMachine/pkg-descr4
-rw-r--r--devel/p5-Class-StateMachine/pkg-plist5
5 files changed, 41 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index e8e9d34b9174..0592a2a4efb1 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -754,6 +754,7 @@
SUBDIR += p5-Class-ReturnValue
SUBDIR += p5-Class-Roles
SUBDIR += p5-Class-Singleton
+ SUBDIR += p5-Class-StateMachine
SUBDIR += p5-Class-Tangram
SUBDIR += p5-Class-Throwable
SUBDIR += p5-Class-Tom
diff --git a/devel/p5-Class-StateMachine/Makefile b/devel/p5-Class-StateMachine/Makefile
new file mode 100644
index 000000000000..cf349d132468
--- /dev/null
+++ b/devel/p5-Class-StateMachine/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: devel/p5-Class-StateMachine
+# Date created: 07 December 2005
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Class-StateMachine
+PORTVERSION= 0.11
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Class
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= perl@FreeBSD.org
+COMMENT= Class::StateMachine - define classes for state machines
+
+PERL_CONFIGURE= yes
+
+MAN3= Class::StateMachine.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+IGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Class-StateMachine/distinfo b/devel/p5-Class-StateMachine/distinfo
new file mode 100644
index 000000000000..da5f8169beb7
--- /dev/null
+++ b/devel/p5-Class-StateMachine/distinfo
@@ -0,0 +1,3 @@
+MD5 (Class-StateMachine-0.11.tar.gz) = 3fdac1d73d44182d542b5dfa44b82558
+SHA256 (Class-StateMachine-0.11.tar.gz) = c03e3f1f8fba5918efd35c9c24ca2e6c2a213385d98bf51272879511aa1d34c3
+SIZE (Class-StateMachine-0.11.tar.gz) = 3297
diff --git a/devel/p5-Class-StateMachine/pkg-descr b/devel/p5-Class-StateMachine/pkg-descr
new file mode 100644
index 000000000000..1d19cb0374b3
--- /dev/null
+++ b/devel/p5-Class-StateMachine/pkg-descr
@@ -0,0 +1,4 @@
+Class::StateMachine allows to define methods that are dispatched
+depending on an internal state property via the OnState attribute.
+
+WWW: http://search.cpan.org/dist/Class-StateMachine/
diff --git a/devel/p5-Class-StateMachine/pkg-plist b/devel/p5-Class-StateMachine/pkg-plist
new file mode 100644
index 000000000000..c03d35c667f8
--- /dev/null
+++ b/devel/p5-Class-StateMachine/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Class/StateMachine.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/StateMachine/.packlist
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/StateMachine 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Class 2>/dev/null || true