diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-11-09 23:06:42 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-11-09 23:06:42 +0000 |
commit | 08387dee7e3b0b871374cffd10676f0a75920ded (patch) | |
tree | b6c92ead2c8d3d2eecb88988cfc0efe02519fe10 /devel/rubygem-fattr | |
parent | 294776a3e71c5850ab9c0f8285bbcaf2dc6d3ecc (diff) | |
download | ports-08387dee7e3b0b871374cffd10676f0a75920ded.tar.gz ports-08387dee7e3b0b871374cffd10676f0a75920ded.zip |
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>
Notes
Notes:
svn path=/head/; revision=222660
Diffstat (limited to 'devel/rubygem-fattr')
-rw-r--r-- | devel/rubygem-fattr/Makefile | 27 | ||||
-rw-r--r-- | devel/rubygem-fattr/distinfo | 3 | ||||
-rw-r--r-- | devel/rubygem-fattr/pkg-descr | 8 |
3 files changed, 38 insertions, 0 deletions
diff --git a/devel/rubygem-fattr/Makefile b/devel/rubygem-fattr/Makefile new file mode 100644 index 000000000000..4dae5face949 --- /dev/null +++ b/devel/rubygem-fattr/Makefile @@ -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> diff --git a/devel/rubygem-fattr/distinfo b/devel/rubygem-fattr/distinfo new file mode 100644 index 000000000000..849d3da8cda7 --- /dev/null +++ b/devel/rubygem-fattr/distinfo @@ -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 diff --git a/devel/rubygem-fattr/pkg-descr b/devel/rubygem-fattr/pkg-descr new file mode 100644 index 000000000000..4b8a275eb14b --- /dev/null +++ b/devel/rubygem-fattr/pkg-descr @@ -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/ |