summaryrefslogtreecommitdiff
path: root/devel/ruby-templater
diff options
context:
space:
mode:
authortaca <taca>2011-08-12 16:08:19 +0000
committertaca <taca>2011-08-12 16:08:19 +0000
commit3e6d775b24fe33549fba9b843bc50747e88083d5 (patch)
tree91bac4173bbf2fcc1bb8c6e4bb3d69bf0847b610 /devel/ruby-templater
parent27ba56cf7f11414db62a914d73f3423639887139 (diff)
downloadpkgsrc-3e6d775b24fe33549fba9b843bc50747e88083d5.tar.gz
Importing ruby-templater package version 1.0.0.
Templater has the ability to both copy files from A to B and also to render templates using ERB. Templater consists of four parts: - Actions (File copying routines, templates generation and directories creation routines). - Generators (set of rules). - Manifolds (generator suites). - The command line interface. Hierarchy is pretty simple: manifold has one or many public and private generators. Public ones are supposed to be called by end user. Generators have one or more action that specify what they do, where they take files, how they name resulting files and so forth.
Diffstat (limited to 'devel/ruby-templater')
-rw-r--r--devel/ruby-templater/DESCR13
-rw-r--r--devel/ruby-templater/Makefile16
-rw-r--r--devel/ruby-templater/PLIST67
-rw-r--r--devel/ruby-templater/distinfo5
4 files changed, 101 insertions, 0 deletions
diff --git a/devel/ruby-templater/DESCR b/devel/ruby-templater/DESCR
new file mode 100644
index 00000000000..a9261ba15f7
--- /dev/null
+++ b/devel/ruby-templater/DESCR
@@ -0,0 +1,13 @@
+Templater has the ability to both copy files from A to B and also to render
+templates using ERB. Templater consists of four parts:
+
+- Actions (File copying routines, templates generation and directories
+ creation routines).
+- Generators (set of rules).
+- Manifolds (generator suites).
+- The command line interface.
+
+Hierarchy is pretty simple: manifold has one or many public and private
+generators. Public ones are supposed to be called by end user. Generators have
+one or more action that specify what they do, where they take files, how they
+name resulting files and so forth.
diff --git a/devel/ruby-templater/Makefile b/devel/ruby-templater/Makefile
new file mode 100644
index 00000000000..25d49791928
--- /dev/null
+++ b/devel/ruby-templater/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/08/12 16:08:19 taca Exp $
+
+DISTNAME= templater-1.0.0
+CATEGORIES= devel
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/jnicklas/templater
+COMMENT= Tool copy files and render templates using ERB
+LICENSE= mit
+
+DEPENDS+= ${RUBY_PKGPREFIX}-highline>=1.4.0:../../devel/ruby-highline
+DEPENDS+= ${RUBY_PKGPREFIX}-diff-lcs>=1.1.2:../../textproc/ruby-diff-lcs
+DEPENDS+= ${RUBY_PKGPREFIX}-extlib>=0.9.5:../../devel/ruby-extlib
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ruby-templater/PLIST b/devel/ruby-templater/PLIST
new file mode 100644
index 00000000000..673a29f30aa
--- /dev/null
+++ b/devel/ruby-templater/PLIST
@@ -0,0 +1,67 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/08/12 16:08:19 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/History.txt
+${GEM_LIBDIR}/Manifest.txt
+${GEM_LIBDIR}/README.rdoc
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/lib/templater.rb
+${GEM_LIBDIR}/lib/templater/actions/action.rb
+${GEM_LIBDIR}/lib/templater/actions/directory.rb
+${GEM_LIBDIR}/lib/templater/actions/empty_directory.rb
+${GEM_LIBDIR}/lib/templater/actions/file.rb
+${GEM_LIBDIR}/lib/templater/actions/template.rb
+${GEM_LIBDIR}/lib/templater/capture_helpers.rb
+${GEM_LIBDIR}/lib/templater/cli/generator.rb
+${GEM_LIBDIR}/lib/templater/cli/manifold.rb
+${GEM_LIBDIR}/lib/templater/cli/parser.rb
+${GEM_LIBDIR}/lib/templater/core_ext/kernel.rb
+${GEM_LIBDIR}/lib/templater/core_ext/string.rb
+${GEM_LIBDIR}/lib/templater/description.rb
+${GEM_LIBDIR}/lib/templater/discovery.rb
+${GEM_LIBDIR}/lib/templater/generator.rb
+${GEM_LIBDIR}/lib/templater/manifold.rb
+${GEM_LIBDIR}/lib/templater/spec/helpers.rb
+${GEM_LIBDIR}/script/console
+${GEM_LIBDIR}/script/destroy
+${GEM_LIBDIR}/script/generate
+${GEM_LIBDIR}/spec/actions/directory_spec.rb
+${GEM_LIBDIR}/spec/actions/empty_directory_spec.rb
+${GEM_LIBDIR}/spec/actions/file_spec.rb
+${GEM_LIBDIR}/spec/actions/template_spec.rb
+${GEM_LIBDIR}/spec/core_ext/string_spec.rb
+${GEM_LIBDIR}/spec/generator/actions_spec.rb
+${GEM_LIBDIR}/spec/generator/arguments_spec.rb
+${GEM_LIBDIR}/spec/generator/desc_spec.rb
+${GEM_LIBDIR}/spec/generator/destination_root_spec.rb
+${GEM_LIBDIR}/spec/generator/empty_directories_spec.rb
+${GEM_LIBDIR}/spec/generator/files_spec.rb
+${GEM_LIBDIR}/spec/generator/generators_spec.rb
+${GEM_LIBDIR}/spec/generator/glob_spec.rb
+${GEM_LIBDIR}/spec/generator/invocations_spec.rb
+${GEM_LIBDIR}/spec/generator/invoke_spec.rb
+${GEM_LIBDIR}/spec/generator/options_spec.rb
+${GEM_LIBDIR}/spec/generator/render_spec.rb
+${GEM_LIBDIR}/spec/generator/source_root_spec.rb
+${GEM_LIBDIR}/spec/generator/templates_spec.rb
+${GEM_LIBDIR}/spec/manifold_spec.rb
+${GEM_LIBDIR}/spec/options_parser_spec.rb
+${GEM_LIBDIR}/spec/results/erb.rbs
+${GEM_LIBDIR}/spec/results/file.rbs
+${GEM_LIBDIR}/spec/results/random.rbs
+${GEM_LIBDIR}/spec/results/simple_erb.rbs
+${GEM_LIBDIR}/spec/spec_helper.rb
+${GEM_LIBDIR}/spec/spec_helpers_spec.rb
+${GEM_LIBDIR}/spec/templater_spec.rb
+${GEM_LIBDIR}/spec/templates/erb.rbt
+${GEM_LIBDIR}/spec/templates/glob/README
+${GEM_LIBDIR}/spec/templates/glob/arg.js
+${GEM_LIBDIR}/spec/templates/glob/hellothar.%feh%
+${GEM_LIBDIR}/spec/templates/glob/hellothar.html.%feh%
+${GEM_LIBDIR}/spec/templates/glob/subfolder/jessica_alba.jpg
+${GEM_LIBDIR}/spec/templates/glob/subfolder/monkey.rb
+${GEM_LIBDIR}/spec/templates/glob/test.rb
+${GEM_LIBDIR}/spec/templates/literals_erb.rbt
+${GEM_LIBDIR}/spec/templates/simple.rbt
+${GEM_LIBDIR}/spec/templates/simple_erb.rbt
+${GEM_LIBDIR}/templater.gemspec
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/devel/ruby-templater/distinfo b/devel/ruby-templater/distinfo
new file mode 100644
index 00000000000..83d17c6c027
--- /dev/null
+++ b/devel/ruby-templater/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/08/12 16:08:19 taca Exp $
+
+SHA1 (templater-1.0.0.gem) = 0b2e19f9ac3fb6e4d9fbfcb437c552e5b158604b
+RMD160 (templater-1.0.0.gem) = a2963e7e9da0d11cf851a5f484cfab4500c6103c
+Size (templater-1.0.0.gem) = 32256 bytes