aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-fattr/Makefile27
-rw-r--r--devel/rubygem-fattr/distinfo3
-rw-r--r--devel/rubygem-fattr/pkg-descr8
4 files changed, 39 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 2c2b3d687df6..4cffaf9ff721 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -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
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/