Koichiro Iwao 2020-02-04 02:33:41 +00:00
parent 80f3fae329
commit 6a8b4e9223
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=525115
4 changed files with 578 additions and 768 deletions

View File

@ -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

View File

@ -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

View File

@ -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