diff options
author | swills <swills@FreeBSD.org> | 2014-03-20 10:47:28 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2014-03-20 10:47:28 +0800 |
commit | deadec0fb0a6d1135c7ffac81696c008768740fe (patch) | |
tree | 436ed36f256c21ef7d1e49ee1ed12c3fe91a4fc1 /devel | |
parent | 3e143def5a2034bb1ef458cfd384ff7ab1463279 (diff) | |
download | freebsd-ports-gnome-deadec0fb0a6d1135c7ffac81696c008768740fe.tar.gz freebsd-ports-gnome-deadec0fb0a6d1135c7ffac81696c008768740fe.tar.zst freebsd-ports-gnome-deadec0fb0a6d1135c7ffac81696c008768740fe.zip |
Kafo provides a framework for building shiny, user friendly command line
installers based on puppet modules.
WWW: https://github.com/theforeman/kafo
PR: ports/187776
Submitted by: Michael Moll <kvedulv at kvedulv.de>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/rubygem-kafo/Makefile | 27 | ||||
-rw-r--r-- | devel/rubygem-kafo/distinfo | 2 | ||||
-rw-r--r-- | devel/rubygem-kafo/files/patch-bin__kafofy | 13 | ||||
-rw-r--r-- | devel/rubygem-kafo/files/patch-gemspec | 23 | ||||
-rw-r--r-- | devel/rubygem-kafo/pkg-descr | 4 |
6 files changed, 70 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index a63f36c62ba3..0711e2893b6e 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4254,6 +4254,7 @@ SUBDIR += rubygem-json SUBDIR += rubygem-json146 SUBDIR += rubygem-json_pure + SUBDIR += rubygem-kafo SUBDIR += rubygem-kafo_parsers SUBDIR += rubygem-kgio SUBDIR += rubygem-launchy diff --git a/devel/rubygem-kafo/Makefile b/devel/rubygem-kafo/Makefile new file mode 100644 index 000000000000..3fcb386e3143 --- /dev/null +++ b/devel/rubygem-kafo/Makefile @@ -0,0 +1,27 @@ +# Created by: Michael Moll <kvedulv at kvedulv.de> +# $FreeBSD$ + +PORTNAME= kafo +PORTVERSION= 0.4.0 +CATEGORIES= devel ruby +MASTER_SITES= RG + +MAINTAINER= ruby@FreeBSD.org +COMMENT= Ruby framework to create installers + +LICENSE= GPLv3 + +RUN_DEPENDS= rubygem-clamp>=0.6.2:${PORTSDIR}/devel/rubygem-clamp \ + rubygem-highline>=1.6.21:${PORTSDIR}/devel/rubygem-highline \ + rubygem-logging>=1.8.1:${PORTSDIR}/devel/rubygem-logging \ + rubygem-powerbar>=1.0.11:${PORTSDIR}/devel/rubygem-powerbar \ + rubygem-kafo_parsers>=0.0.1:${PORTSDIR}/devel/rubygem-kafo_parsers \ + gsed:${PORTSDIR}/textproc/gsed + +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST= yes + +PLIST_FILES= bin/kafo-configure bin/kafo-export-params bin/kafofy + +.include <bsd.port.mk> diff --git a/devel/rubygem-kafo/distinfo b/devel/rubygem-kafo/distinfo new file mode 100644 index 000000000000..7cc191739c22 --- /dev/null +++ b/devel/rubygem-kafo/distinfo @@ -0,0 +1,2 @@ +SHA256 (rubygem/kafo-0.4.0.gem) = 9391c93565d0cedf8818df80df38e5e02f3df7f00c4b47609a22559b2992ff36 +SIZE (rubygem/kafo-0.4.0.gem) = 41472 diff --git a/devel/rubygem-kafo/files/patch-bin__kafofy b/devel/rubygem-kafo/files/patch-bin__kafofy new file mode 100644 index 000000000000..68ee51d782d2 --- /dev/null +++ b/devel/rubygem-kafo/files/patch-bin__kafofy @@ -0,0 +1,13 @@ +--- bin/kafofy.orig 2014-03-19 16:50:00.000000000 +0100 ++++ bin/kafofy 2014-03-19 16:50:13.000000000 +0100 +@@ -48,8 +48,8 @@ + File.chmod 0600, options[:config_file] + FileUtils.cp('config/kafo.yaml.example', options[:config_file]) + if options[:answer_file] +- `sed -i 's/^# :answer_file.*$/:answer_file: #{options[:answer_file].gsub('/', '\/')}/' #{options[:config_file]}` +- `sed -i 's/^# :name.*$/:name: #{options[:name]}/' #{options[:config_file]}` ++ `gsed -i 's/^# :answer_file.*$/:answer_file: #{options[:answer_file].gsub('/', '\/')}/' #{options[:config_file]}` ++ `gsed -i 's/^# :name.*$/:name: #{options[:name]}/' #{options[:config_file]}` + end + end + diff --git a/devel/rubygem-kafo/files/patch-gemspec b/devel/rubygem-kafo/files/patch-gemspec new file mode 100644 index 000000000000..ebab42ee8c26 --- /dev/null +++ b/devel/rubygem-kafo/files/patch-gemspec @@ -0,0 +1,23 @@ +--- kafo-0.4.0.gemspec.orig 2014-03-19 14:35:38.000000000 +0100 ++++ kafo-0.4.0.gemspec 2014-03-19 14:35:58.000000000 +0100 +@@ -109,20 +109,6 @@ + - !ruby/object:Gem::Version + version: '0' + - !ruby/object:Gem::Dependency +- name: puppet +- requirement: !ruby/object:Gem::Requirement +- requirements: +- - - '>=' +- - !ruby/object:Gem::Version +- version: '0' +- type: :runtime +- prerelease: false +- version_requirements: !ruby/object:Gem::Requirement +- requirements: +- - - '>=' +- - !ruby/object:Gem::Version +- version: '0' +-- !ruby/object:Gem::Dependency + name: logging + requirement: !ruby/object:Gem::Requirement + requirements: diff --git a/devel/rubygem-kafo/pkg-descr b/devel/rubygem-kafo/pkg-descr new file mode 100644 index 000000000000..af17fc6f626c --- /dev/null +++ b/devel/rubygem-kafo/pkg-descr @@ -0,0 +1,4 @@ +Kafo provides a framework for building shiny, user friendly command line +installers based on puppet modules. + +WWW: https://github.com/theforeman/kafo |