net-im/mikutter: Update to 4.0.4
While here, - Always use system ruby even if devel/rbenv is installed Relnotes: https://mikutter.hatenablog.com/entry/2019/12/25/001520 https://mikutter.hatenablog.com/entry/2020/01/01/124344 https://mikutter.hatenablog.com/entry/2020/01/05/194602 https://mikutter.hatenablog.com/entry/2020/01/12/184122 https://mikutter.hatenablog.com/entry/2020/02/01/173247
This commit is contained in:
parent
80f3fae329
commit
6a8b4e9223
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=525115
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= mikutter
|
||||
PORTVERSION= 3.9.8
|
||||
PORTVERSION= 4.0.4
|
||||
CATEGORIES= net-im ruby
|
||||
MASTER_SITES= https://mikutter.hachune.net/bin/ \
|
||||
LOCAL/meta/${PORTNAME}
|
||||
@ -42,7 +42,7 @@ USE_RUBY= yes
|
||||
NO_ARCH= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
SHEBANG_FILES= mikutter.rb \
|
||||
core/miku/miku.rb
|
||||
@ -59,7 +59,9 @@ OPTIONS_DEFAULT= ${OPTIONS_DEFINE}
|
||||
NOTIFY_RUN_DEPENDS= notify-send:devel/libnotify
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s|%%RUBY_SITELIBDIR%%|${RUBY_SITELIBDIR}|" \
|
||||
@${REINPLACE_CMD} \
|
||||
-e "s|%%RUBY_SITELIBDIR%%|${RUBY_SITELIBDIR}|" \
|
||||
-e "s|%%RUBY_WITH_SUFFIX%%|${RUBY_WITH_SUFFIX}|" \
|
||||
${WRKSRC}/mikutter.rb
|
||||
@${RM} -r ${WRKSRC}/vendor
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1576224100
|
||||
SHA256 (mikutter.3.9.8.tar.gz) = b695cccd8e48e6cb826e793a80269477a24f75e86961ee3bfba27ee339ea57a6
|
||||
SIZE (mikutter.3.9.8.tar.gz) = 2758121
|
||||
TIMESTAMP = 1580779354
|
||||
SHA256 (mikutter.4.0.4.tar.gz) = 67b6d9a0e726aae43d1bffb880a543ff88c7bb8d3d9c8a622810d6c6422defa8
|
||||
SIZE (mikutter.4.0.4.tar.gz) = 2321242
|
||||
|
@ -1,6 +1,14 @@
|
||||
--- mikutter.rb.orig 2017-12-24 15:00:56 UTC
|
||||
--- mikutter.rb.orig 2020-02-04 02:25:25 UTC
|
||||
+++ mikutter.rb
|
||||
@@ -13,7 +13,7 @@ http://opensource.org/licenses/mit-licen
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
# -*- coding: utf-8 -*-
|
||||
-exec ruby -x "$0" "$@"
|
||||
+exec %%RUBY_WITH_SUFFIX%% -x "$0" "$@"
|
||||
#!ruby
|
||||
=begin rdoc
|
||||
= mikutter - simple, powerful and moeful Mastodon client
|
||||
@@ -13,7 +13,7 @@ http://opensource.org/licenses/mit-license.php
|
||||
=end
|
||||
module Mikutter; end
|
||||
|
||||
@ -13,8 +21,17 @@
|
||||
require 'thread'
|
||||
require 'fileutils'
|
||||
|
||||
-require_relative 'core/miquire'
|
||||
+require_relative '%%RUBY_SITELIBDIR%%/mikutter/core/miquire'
|
||||
|
||||
require 'lib/diva_hacks'
|
||||
require 'lib/lazy'
|
||||
@@ -42,7 +42,7 @@ require 'lib/timelimitedqueue'
|
||||
require 'lib/uithreadonly'
|
||||
require 'lib/weakstorage'
|
||||
|
||||
-require_relative 'core/utils'
|
||||
+require_relative '%%RUBY_SITELIBDIR%%/mikutter/core/utils'
|
||||
|
||||
miquire :boot, 'check_config_permission', 'mainloop', 'delayer'
|
||||
miquire :core, 'environment'
|
||||
require 'boot/check_config_permission'
|
||||
require 'boot/mainloop'
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user