aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-12-29 00:04:54 +0800
committermiwi <miwi@FreeBSD.org>2008-12-29 00:04:54 +0800
commit5cfe5802c7580add87693732f4b561635da67d06 (patch)
treee21f3c3768b500271e6885b94ccd278cebb2337f /devel
parent37a22296c8be943de82fec4ebd70241b3640c43c (diff)
downloadfreebsd-ports-gnome-5cfe5802c7580add87693732f4b561635da67d06.tar.gz
freebsd-ports-gnome-5cfe5802c7580add87693732f4b561635da67d06.tar.zst
freebsd-ports-gnome-5cfe5802c7580add87693732f4b561635da67d06.zip
MetAid adds a few innocent methods to Object and Module to make
metaprogramming easier. For the lore of metaprogramming see Seeing Metaclasses Clearly and Chapter Six of Why's (Poignant) Guide to Ruby. WWW: http://rubyforge.org/projects/metaid/
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-metaid/Makefile28
-rw-r--r--devel/rubygem-metaid/distinfo3
-rw-r--r--devel/rubygem-metaid/pkg-descr5
4 files changed, 37 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index a7f2e43e7bec..2c23a226226a 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2464,6 +2464,7 @@
SUBDIR += rubygem-json_pure
SUBDIR += rubygem-linecache
SUBDIR += rubygem-main
+ SUBDIR += rubygem-metaid
SUBDIR += rubygem-mocha
SUBDIR += rubygem-mojombo-grit
SUBDIR += rubygem-needle
diff --git a/devel/rubygem-metaid/Makefile b/devel/rubygem-metaid/Makefile
new file mode 100644
index 000000000000..78aa8447483b
--- /dev/null
+++ b/devel/rubygem-metaid/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: rubygem-metaid
+# Date created: 28, Dec 2008
+# Whom: Martin Wilke <miwi@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= metaid
+PORTVERSION= 1.0
+CATEGORIES= devel rubygems
+MASTER_SITES= RF
+
+MAINTAINER= miwi@FreeBSD.org
+COMMENT= Ruby metaprogramming helpers
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+USE_RAKE= 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-metaid/distinfo b/devel/rubygem-metaid/distinfo
new file mode 100644
index 000000000000..8e45e89b1904
--- /dev/null
+++ b/devel/rubygem-metaid/distinfo
@@ -0,0 +1,3 @@
+MD5 (rubygem/metaid-1.0.gem) = 00e7415d280df58cd6922817de3192e9
+SHA256 (rubygem/metaid-1.0.gem) = 9c295f5852cda325cc6614a6a3d7dd647f21b60f71dbc927c9f1ce5de673bd25
+SIZE (rubygem/metaid-1.0.gem) = 3072
diff --git a/devel/rubygem-metaid/pkg-descr b/devel/rubygem-metaid/pkg-descr
new file mode 100644
index 000000000000..af5bd199ac49
--- /dev/null
+++ b/devel/rubygem-metaid/pkg-descr
@@ -0,0 +1,5 @@
+MetAid adds a few innocent methods to Object and Module to make
+metaprogramming easier. For the lore of metaprogramming see Seeing
+Metaclasses Clearly and Chapter Six of Why's (Poignant) Guide to Ruby.
+
+WWW: http://rubyforge.org/projects/metaid/