aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-12-28 16:08:38 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-12-28 16:08:38 +0000
commita508c630d787b4cf441b452409a0d87b74a3fac5 (patch)
tree5dc94b320278670128738a011817ccbdf8b0496d /textproc
parent1b017b86292043eb2903a379b602594ec59ebf57 (diff)
downloadports-a508c630d787b4cf441b452409a0d87b74a3fac5.tar.gz
ports-a508c630d787b4cf441b452409a0d87b74a3fac5.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/rubygem-markaby/Makefile31
-rw-r--r--textproc/rubygem-markaby/distinfo3
-rw-r--r--textproc/rubygem-markaby/pkg-descr4
4 files changed, 39 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index a8b6c5f56b98..071b077d7c96 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -962,6 +962,7 @@
SUBDIR += rubygem-formosa
SUBDIR += rubygem-htmltools
SUBDIR += rubygem-ini
+ SUBDIR += rubygem-markaby
SUBDIR += rubygem-rak
SUBDIR += rubygem-rdiscount
SUBDIR += rubygem-spreadsheet
diff --git a/textproc/rubygem-markaby/Makefile b/textproc/rubygem-markaby/Makefile
new file mode 100644
index 000000000000..4fd8d11bc47a
--- /dev/null
+++ b/textproc/rubygem-markaby/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: rubygem-markaby
+# Date created: 28, Dec 2008
+# Whom: Martin Wilke <miwi@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= markaby
+PORTVERSION= 0.5
+CATEGORIES= textproc rubygems
+MASTER_SITES= RF
+
+MAINTAINER= miwi@FreeBSD.org
+COMMENT= HTML Markup as Ruby
+
+BUILD_DEPENDS= rubygem-builder>0:${PORTSDIR}/devel/rubygem-builder
+RUN_DEPENDS= rubygem-builder>0:${PORTSDIR}/devel/rubygem-builder
+
+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/textproc/rubygem-markaby/distinfo b/textproc/rubygem-markaby/distinfo
new file mode 100644
index 000000000000..a4536b717a88
--- /dev/null
+++ b/textproc/rubygem-markaby/distinfo
@@ -0,0 +1,3 @@
+MD5 (rubygem/markaby-0.5.gem) = a2e3e48cd069282b329820091eef3877
+SHA256 (rubygem/markaby-0.5.gem) = bc9e288b43328dbc008d15866b4c01510d94f6903252f0260e3f6e099e7304ac
+SIZE (rubygem/markaby-0.5.gem) = 24576
diff --git a/textproc/rubygem-markaby/pkg-descr b/textproc/rubygem-markaby/pkg-descr
new file mode 100644
index 000000000000..52a0c4564b21
--- /dev/null
+++ b/textproc/rubygem-markaby/pkg-descr
@@ -0,0 +1,4 @@
+Markaby is a templating language for Ruby, with a plugin for Rails,
+which allows you to write HTML templates in pure-Ruby (a la Builder.)
+
+WWW: http://markaby.rubyforge.org/