sysutils/rubygem-hammer_cli_foreman_bootdisk: create port

This Hammer CLI plugin contains set of commands for foreman_bootdisk,
a plugin to Foreman for ISO/USB booting support

WWW: https://github.com/theforeman/hammer_cli_foreman_bootdisk

PR:		193977
Submitted by:	Michael Moll <kvedulv@kvedulv.de>
This commit is contained in:
swills
2014-09-27 20:21:51 +00:00
parent 24cce8bcbe
commit 7ac6faf42b
6 changed files with 38 additions and 0 deletions
+1
View File
@@ -803,6 +803,7 @@
SUBDIR += rubygem-guard-rspec
SUBDIR += rubygem-hammer_cli
SUBDIR += rubygem-hammer_cli_foreman
SUBDIR += rubygem-hammer_cli_foreman_bootdisk
SUBDIR += rubygem-hiera
SUBDIR += rubygem-hiera-json
SUBDIR += rubygem-hiera-puppet
@@ -0,0 +1,27 @@
# Created by: Michael Moll <kvedulv@kvedulv.de>
# $FreeBSD$
PORTNAME= hammer_cli_foreman_bootdisk
PORTVERSION= 0.1.2
CATEGORIES= sysutils ruby
MASTER_SITES= RG
MAINTAINER= kvedulv@kvedulv.de
COMMENT= Foreman bootdisk commands for Hammer CLI
LICENSE= GPLv3
RUN_DEPENDS= rubygem-hammer_cli_foreman>=0.1.2:${PORTSDIR}/sysutils/rubygem-hammer_cli_foreman
USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
.include <bsd.port.pre.mk>
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/hammer
${MKDIR} ${STAGEDIR}${PREFIX}/etc/hammer/cli.modules.d
${INSTALL_DATA} ${FILESDIR}/foreman_bootdisk.yml.sample ${STAGEDIR}${PREFIX}/etc/hammer/cli.modules.d/foreman_bootdisk.yml.sample
.include <bsd.port.post.mk>
@@ -0,0 +1,2 @@
SHA256 (rubygem/hammer_cli_foreman_bootdisk-0.1.2.gem) = 8926ddbee847599dc19134384ade852dcee2f0c3e7f600f0930925941069a37d
SIZE (rubygem/hammer_cli_foreman_bootdisk-0.1.2.gem) = 8192
@@ -0,0 +1,3 @@
:foreman_bootdisk:
# Enable/disable foreman_bootdisk commands
:enable_module: true
@@ -0,0 +1,4 @@
This Hammer CLI plugin contains set of commands for foreman_bootdisk,
a plugin to Foreman for ISO/USB booting support
WWW: https://github.com/theforeman/hammer_cli_foreman_bootdisk
@@ -0,0 +1 @@
@sample etc/hammer/cli.modules.d/foreman_bootdisk.yml.sample