aboutsummaryrefslogtreecommitdiff
path: root/textproc/ruby-html-template/Makefile
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2003-02-27 16:12:21 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2003-02-27 16:12:21 +0000
commit325e708294d95137045823163a60b10421e489ce (patch)
tree5a9d1a0e4d71c388d03911d94480c707eae2a79f /textproc/ruby-html-template/Makefile
parent11e00240067cc93b9113e83bd27111aa7e20ff1d (diff)
downloadports-325e708294d95137045823163a60b10421e489ce.tar.gz
ports-325e708294d95137045823163a60b10421e489ce.zip
Notes
Diffstat (limited to 'textproc/ruby-html-template/Makefile')
-rw-r--r--textproc/ruby-html-template/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/textproc/ruby-html-template/Makefile b/textproc/ruby-html-template/Makefile
new file mode 100644
index 000000000000..ad5efe05f3ff
--- /dev/null
+++ b/textproc/ruby-html-template/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: HTML/Template for Ruby
+# Date created: 28 February 2003
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= html-template
+PORTVERSION= 0.16
+CATEGORIES= textproc www ruby
+MASTER_SITES= http://shebang.jp/src/ruby/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+COMMENT= A Ruby library to use HTML as a template file from CGI scripts
+
+USE_RUBY= yes
+USE_RUBY_SETUP= yes
+RUBY_SETUP= install.rb
+
+DOCS_EN= ChangeLog \
+ README \
+ html-template.rd
+DOCS_JA= html-template.ja.rd
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_MODEXAMPLESDIR}
+ ${CP} -R ${WRKSRC}/example/ ${RUBY_MODEXAMPLESDIR}/
+ ${MKDIR} ${RUBY_MODDOCDIR}/ja
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+.endfor
+.for f in ${DOCS_JA}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
+.endfor
+.endif
+
+.include <bsd.port.mk>