1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Update to version 0.1.4 [1]

- Remove <bsd.port.(pre|post).mk> inclusion
- Cleanup post-install target

PR:		195892 [1]
Submitted by:	maintainer [1]
This commit is contained in:
Pawel Pekala 2014-12-20 12:25:02 +00:00
parent f8549d1e31
commit 9cffc34f24
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=374999
6 changed files with 35 additions and 28 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= hammer_cli
PORTVERSION= 0.1.3
PORTVERSION= 0.1.4
CATEGORIES= sysutils ruby
MASTER_SITES= RG
@ -11,7 +11,7 @@ COMMENT= Provides CLI interfaces for Ruby apps
LICENSE= GPLv3
RUN_DEPENDS= rubygem-apipie-bindings>=0.0.8:${PORTSDIR}/devel/rubygem-apipie-bindings \
RUN_DEPENDS= rubygem-apipie-bindings>=0.0.10:${PORTSDIR}/devel/rubygem-apipie-bindings \
rubygem-awesome_print>=1.1.0:${PORTSDIR}/devel/rubygem-awesome_print \
rubygem-clamp>=0.6.3_1:${PORTSDIR}/devel/rubygem-clamp \
rubygem-fastercsv>=1.5.5:${PORTSDIR}/devel/rubygem-fastercsv \
@ -28,11 +28,8 @@ 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}/cli_config.yml.sample ${STAGEDIR}${PREFIX}/etc/hammer/cli_config.yml.sample
${MKDIR} ${STAGEDIR}${PREFIX}/etc/hammer/cli.modules.d
${INSTALL_DATA} ${FILESDIR}/cli_config.yml.sample ${STAGEDIR}${PREFIX}/etc/hammer
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (rubygem/hammer_cli-0.1.3.gem) = e142a14e59e9718d3ff3d7a0ab1a40d4cb3ade565ac44d13a5cd1e06d18e2b25
SIZE (rubygem/hammer_cli-0.1.3.gem) = 121344
SHA256 (rubygem/hammer_cli-0.1.4.gem) = 5ede832cf281891550b584948f3bcfb07cc19659740079ac18c30d3d201c4ed2
SIZE (rubygem/hammer_cli-0.1.4.gem) = 141824

View File

@ -11,6 +11,9 @@
# Enable/disable color output of logger in Clamp commands
:watch_plain: false
# Force reload of Apipie cache with every Hammer invocation
:reload_cache: false
# Directory where the logs are stored. The default is /var/log/hammer/ and the log file is named hammer.log
:log_dir: '~/.hammer/log'

View File

@ -1,13 +0,0 @@
--- lib/hammer_cli/i18n.rb
+++ lib/hammer_cli/i18n.rb
@@ -108,6 +108,10 @@ def locale_dir
'/usr/share/locale'
end
+ def domain_name
+ "#{super}@system"
+ end
+
end

View File

@ -1,6 +1,27 @@
--- hammer_cli-0.1.3.gemspec.orig 2014-08-25 23:09:28.000000000 +0200
+++ hammer_cli-0.1.3.gemspec 2014-08-25 23:09:42.000000000 +0200
@@ -155,7 +155,7 @@
--- hammer_cli-0.1.4.gemspec.orig 2014-12-10 22:09:22.000000000 +0100
+++ hammer_cli-0.1.4.gemspec 2014-12-10 22:10:25.000000000 +0100
@@ -138,20 +138,6 @@
- !ruby/object:Gem::Version
version: '0'
- !ruby/object:Gem::Dependency
- name: rb-readline
- 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: fastercsv
requirement: !ruby/object:Gem::Requirement
requirements:
@@ -169,7 +155,7 @@
name: mime-types
requirement: !ruby/object:Gem::Requirement
requirements:

View File

@ -1,4 +1,3 @@
bin/hammer
@sample etc/hammer/cli_config.yml.sample
@dirrmtry etc/hammer/cli.modules.d
@dirrmtry etc/hammer
@dir etc/hammer/cli.modules.d