Index: devel/Makefile =================================================================== --- devel/Makefile +++ devel/Makefile @@ -4402,6 +4402,7 @@ SUBDIR += rubygem-atomic SUBDIR += rubygem-atoulme-antwrap SUBDIR += rubygem-attic + SUBDIR += rubygem-attr_required SUBDIR += rubygem-authlogic SUBDIR += rubygem-awesome_print SUBDIR += rubygem-axiom-types Index: devel/rubygem-attr_required/Makefile =================================================================== --- /dev/null +++ devel/rubygem-attr_required/Makefile @@ -0,0 +1,21 @@ +# $FreeBSD$ + +PORTNAME= attr_required +PORTVERSION= 1.0.0 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= ruby@FreeBSD.org +COMMENT= Ruby implementations of attr_required and attr_optional + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST= yes + +post-install: + ${CHMOD} -R go-w ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/ + +.include Index: devel/rubygem-attr_required/distinfo =================================================================== --- /dev/null +++ devel/rubygem-attr_required/distinfo @@ -0,0 +1,2 @@ +SHA256 (rubygem/attr_required-1.0.0.gem) = ac0d5cd4f55bca3acc3f7d1a56f5bf92d9a01a42c21bec8cbc37f177a2505c5d +SIZE (rubygem/attr_required-1.0.0.gem) = 8704 Index: devel/rubygem-attr_required/pkg-descr =================================================================== --- /dev/null +++ devel/rubygem-attr_required/pkg-descr @@ -0,0 +1,7 @@ +This gem provides implementations of attr_required and attr_optional +(like attr_accessor) for Ruby. + +This can help RFC library developers to define which attributes +are REQUIRED and which are OPTIONAL. + +WWW: https://github.com/nov/attr_required