diff options
author | taca <taca@pkgsrc.org> | 2004-03-12 05:15:26 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2004-03-12 05:15:26 +0000 |
commit | baefc17c48c13df8329e53f02fa2fbe68427ac27 (patch) | |
tree | bc8befe67f6c917c9510d45d1ddb27bc12855579 /textproc/ruby-amrita/Makefile | |
parent | b33e6661938a6d198ac6a4711d673c20f94f03af (diff) | |
download | pkgsrc-baefc17c48c13df8329e53f02fa2fbe68427ac27.tar.gz |
Importing ruby-amrita pacakge based on FreeBSD's ports.
(I'm sorry that I noticed ruby-amrita exists on pkgsrc-wip after made
this pkgsrc.)
amrita is an HTML/XHTML template library for Ruby.
It makes html documents from a template and a model data.
Diffstat (limited to 'textproc/ruby-amrita/Makefile')
-rw-r--r-- | textproc/ruby-amrita/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/textproc/ruby-amrita/Makefile b/textproc/ruby-amrita/Makefile new file mode 100644 index 00000000000..c79bb8297d7 --- /dev/null +++ b/textproc/ruby-amrita/Makefile @@ -0,0 +1,39 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/03/12 05:15:26 taca Exp $ +# FreeBSD: ports/textproc/ruby-amrita/Makefile,v 1.5 2003/02/18 05:38:23 knu Exp +# + +DISTNAME= amrita-1.0.2 +PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME} +CATEGORIES= textproc www +MASTER_SITES= http://www.brain-tokyo.jp/research/amrita/ + +MAINTAINER= taca@NetBSD.org +HOMEPAGE= http://www.brain-tokyo.jp/research/amrita/ +COMMENT= HTML/XHTML template library for Ruby + +DEPENDS+= ${RUBY_PKGNAMEPREFIX}strscan>=0.6.5:../../devel/ruby-strscan + +NO_BUILD= # defined + +BINS= bin/ams bin/amshandler bin/amx +DOCS= ChangeLog README README_ja +REPLACE_RUBY= ${BINS} + +post-patch: + @${FIND} ${WRKSRC} -name '.cvsignore' -exec ${RM} -f {} \; + +do-install: + cd ${WRKSRC}; ${RUBY} install.rb +.for f in ${BINS} + ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/bin +.endfor + ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/amrita +.for f in ${DOCS} + ${CP} -R ${WRKSRC}/${f} ${RUBY_DOCDIR}/amrita +.endfor + ${CP} -R ${WRKSRC}/docs/* ${RUBY_DOCDIR}/amrita + ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/amrita + ${CP} -R ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/amrita + +.include "../../lang/ruby-base/Makefile.common" +.include "../../mk/bsd.pkg.mk" |