0128ee40a8
The StateMachines ActiveModel integration is useful for both standalone usage and for providing the base implementation for ORMs which implement the ActiveModel API. This integration adds support for validation errors and dirty attribute tracking. WWW: https://github.com/state-machines/state_machines-activemodel
23 lines
585 B
Makefile
23 lines
585 B
Makefile
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= state_machines-activemodel
|
|
PORTVERSION= 0.3.0
|
|
CATEGORIES= databases rubygems
|
|
MASTER_SITES= RG
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Support for creating state machines for attributes on ActiveModel
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
RUN_DEPENDS= rubygem-activemodel4>=4.1:${PORTSDIR}/databases/rubygem-activemodel4 \
|
|
rubygem-state_machines>=0.4.0:${PORTSDIR}/devel/rubygem-state_machines
|
|
|
|
NO_ARCH= yes
|
|
USE_RUBY= yes
|
|
USE_RUBYGEMS= yes
|
|
RUBYGEM_AUTOPLIST= yes
|
|
|
|
.include <bsd.port.mk>
|