Fix RUN_DEPENDS and gemspec patch

- Add LICENSE_FILE
- Update RUN_DEPENDS and move it upward
- Restore gemspec patch
- Bump PORTREVISION for dependency and package change
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2017-01-02 10:15:39 +00:00
parent 8c2d281cd2
commit 6d5e1c462b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=430348
2 changed files with 19 additions and 14 deletions

View File

@ -2,6 +2,7 @@
PORTNAME= kensa
PORTVERSION= 3.0.2
PORTREVISION= 1
CATEGORIES= www rubygems
MASTER_SITES= RG
@ -9,6 +10,13 @@ MAINTAINER= ruby@FreeBSD.org
COMMENT= Heroku Add-On provider tool
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= rubygem-colored>=1.2:textproc/rubygem-colored \
rubygem-launchy22>=2.2.0:devel/rubygem-launchy22 \
rubygem-mechanize>=2.7.5:www/rubygem-mechanize \
rubygem-netrc>=0.10.3:net/rubygem-netrc \
rubygem-rest-client>=1.8:www/rubygem-rest-client
NO_ARCH= yes
USE_RUBY= yes
@ -16,18 +24,4 @@ USES= gem
PLIST_FILES= bin/kensa
RUN_DEPENDS+= rubygem-launchy22>=0:devel/rubygem-launchy22 \
rubygem-mechanize26>=0:www/rubygem-mechanize26 \
rubygem-rest-client>=0:www/rubygem-rest-client \
rubygem-term-ansicolor>=0:devel/rubygem-term-ansicolor \
rubygem-sinatra>=1.4.2:www/rubygem-sinatra \
rubygem-foreman>=0.63:devel/rubygem-foreman \
rubygem-bundler>=0:sysutils/rubygem-bundler \
rubygem-thin>=0:www/rubygem-thin \
rubygem-tilt1>=1.4.1:devel/rubygem-tilt1 \
rubygem-haml>=4.0.5:www/rubygem-haml \
rubygem-heroku-nav>=0.2.2:www/rubygem-heroku-nav \
rubygem-json>=1.8.1:devel/rubygem-json
.include <bsd.port.mk>

View File

@ -0,0 +1,11 @@
--- kensa.gemspec.orig 2017-01-02 09:03:16 UTC
+++ kensa.gemspec
@@ -26,7 +26,7 @@ Gem::Specification.new do |s|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<launchy>.freeze, ["~> 2.2.0"])
s.add_runtime_dependency(%q<mechanize>.freeze, ["~> 2.7.5"])
- s.add_runtime_dependency(%q<netrc>.freeze, ["~> 0.10.3"])
+ s.add_runtime_dependency(%q<netrc>.freeze, [">= 0.10.3"])
s.add_runtime_dependency(%q<rest-client>.freeze, ["~> 1.8"])
s.add_runtime_dependency(%q<colored>.freeze, ["~> 1.2"])
s.add_development_dependency(%q<artifice>.freeze, ["~> 0.6"])