1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

fattr.rb is a "fatter attr" for ruby.

fattr.rb supercedes attributes.rb as that library,
even though it added only one method to the global
namespace, collided too frequently with user code
in particular rails' code.

WWW:	http://codeforpeople.com/lib/ruby/fattr/

PR:		ports/128662
Submitted by:	Wen Heping <wenheping at gmail.com>
This commit is contained in:
Martin Wilke 2008-11-09 23:06:42 +00:00
parent 294776a3e7
commit 08387dee7e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=222660
4 changed files with 39 additions and 0 deletions

View File

@ -2407,6 +2407,7 @@
SUBDIR += rubygem-facets
SUBDIR += rubygem-fastercsv
SUBDIR += rubygem-fastthread
SUBDIR += rubygem-fattr
SUBDIR += rubygem-gem_plugin
SUBDIR += rubygem-git
SUBDIR += rubygem-grit

View File

@ -0,0 +1,27 @@
# New ports collection makefile for: rubygem-fattr
# Date created: 07, Nov 2008
# Whom: Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
#
PORTNAME= fattr
PORTVERSION= 1.0.3
CATEGORIES= devel rubygems
MASTER_SITES= RF/codeforpeople
MAINTAINER= wenheping@gmail.com
COMMENT= A Fatter Attr for Ruby
USE_RUBY= yes
USE_RUBYGEMS= yes
post-install:
@${ECHO} ${GEM_CACHE} > ${TMPPLIST}
@${FIND} ${PREFIX}/${GEM_DOC_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},${GEM_DOC_DIR},' >> ${TMPPLIST}
@${FIND} ${PREFIX}/${GEM_LIB_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},${GEM_LIB_DIR},' >> ${TMPPLIST}
@${ECHO} ${GEM_SPEC} >> ${TMPPLIST}
@${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},@dirrm ${GEM_LIB_DIR},' >> ${TMPPLIST}
@${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},@dirrm ${GEM_DOC_DIR},' >> ${TMPPLIST}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (rubygem/fattr-1.0.3.gem) = 681345f63e8f0159159f3f8228385158
SHA256 (rubygem/fattr-1.0.3.gem) = 4ecadaa0b118ee7148bd5dabae4bf40842f4bf66345fd5c2c374d6ffa322be6e
SIZE (rubygem/fattr-1.0.3.gem) = 9216

View File

@ -0,0 +1,8 @@
fattr.rb is a "fatter attr" for ruby.
fattr.rb supercedes attributes.rb as that library,
even though it added only one method to the global
namespace, collided too frequently with user code
in particular rails' code.
WWW: http://codeforpeople.com/lib/ruby/fattr/