c1bd802e09
Too often, the state of an object is kept by creating multiple boolean attributes and deciding how to behave based on the values. state_machine simplifies this design by introducing the various parts of a real state machine, including states, events, transitions, and callbacks. However, the api is designed to be so simple you do not even need to know what a state machine is. WWW: http://www.pluginaweek.org/ PR: ports/156672 Submitted by: Eric Freeman <freebsdports at chillibear.com>
20 lines
449 B
Makefile
20 lines
449 B
Makefile
# Ports collection makefile for: rubygem-state_machine
|
|
# Date created: 27 April 2011
|
|
# Whom: Eric Freeman <freebsdports@chillibear.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= state_machine
|
|
PORTVERSION= 0.10.4
|
|
CATEGORIES= devel rubygems
|
|
MASTER_SITES= RG
|
|
|
|
MAINTAINER= freebsdports@chillibear.com
|
|
COMMENT= Support for creating state machines for attributes on any Ruby class
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBYGEMS= yes
|
|
RUBYGEM_AUTOPLIST= yes
|
|
|
|
.include <bsd.port.mk>
|