diff options
author | tota <tota@FreeBSD.org> | 2011-09-27 19:11:00 +0800 |
---|---|---|
committer | tota <tota@FreeBSD.org> | 2011-09-27 19:11:00 +0800 |
commit | cff5fbd4028e67b8483d738a3914c79ad8d5ec20 (patch) | |
tree | 4d7ee51aa5777566cf6863c3580341aa39370baf /net-im/mikutter | |
parent | 248b47a24da0668449aa6f7090be09091dfbfe8c (diff) | |
download | freebsd-ports-gnome-cff5fbd4028e67b8483d738a3914c79ad8d5ec20.tar.gz freebsd-ports-gnome-cff5fbd4028e67b8483d738a3914c79ad8d5ec20.tar.zst freebsd-ports-gnome-cff5fbd4028e67b8483d738a3914c79ad8d5ec20.zip |
- Add a new port: net-im/mikutter
mikutter - A simple, powerful and moeful twitter client
WWW: http://mikutter.hachune.net/
Diffstat (limited to 'net-im/mikutter')
-rw-r--r-- | net-im/mikutter/Makefile | 92 | ||||
-rw-r--r-- | net-im/mikutter/distinfo | 2 | ||||
-rw-r--r-- | net-im/mikutter/files/mikutter.desktop.in | 13 | ||||
-rw-r--r-- | net-im/mikutter/pkg-descr | 3 | ||||
-rw-r--r-- | net-im/mikutter/pkg-plist | 176 |
5 files changed, 286 insertions, 0 deletions
diff --git a/net-im/mikutter/Makefile b/net-im/mikutter/Makefile new file mode 100644 index 000000000000..10e03f8534ea --- /dev/null +++ b/net-im/mikutter/Makefile @@ -0,0 +1,92 @@ +# New ports collection makefile for: mikutter +# Date created: 2011-03-27 +# Whom: TAKATSU Tomonari <tota@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= mikutter +PORTVERSION= 0.0.3.514 +CATEGORIES= net-im ruby +MASTER_SITES= http://mikutter.hachune.net/bin/ \ + LOCAL +MASTER_SITE_SUBDIR= tota/${PORTNAME} +DISTNAME= ${PORTNAME}.${PORTVERSION} + +MAINTAINER= tota@FreeBSD.org +COMMENT= A simple, powerful and moeful twitter client + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2 \ + ${RUBY_SITEARCHLIBDIR}/cairo.so:${PORTSDIR}/graphics/ruby-cairo \ + ${RUBY_PKGNAMEPREFIX}hmac>=0.4.0:${PORTSDIR}/security/ruby-hmac \ + rubygem-json_pure>=0:${PORTSDIR}/devel/rubygem-json_pure \ + ${RUBY_SITELIBDIR}/memoize.rb:${PORTSDIR}/devel/ruby-memoize \ + rubygem-oauth>=0:${PORTSDIR}/net/rubygem-oauth \ + ${RUBY_SITELIBDIR}/bsearch.rb:${PORTSDIR}/devel/ruby-bsearch + +WRKSRC= ${WRKDIR}/${PORTNAME} + +USE_RUBY= yes +NO_BUILD= yes + +RUBY_SHEBANG_FILES= mikutter.rb \ + core/autotag.rb \ + core/chi.rb \ + core/initialize.rb \ + core/lib/piapro.rb \ + core/miku/miku.rb + +SUB_FILES= mikutter.desktop +SUB_LIST= RUBY_SITELIBDIR=${RUBY_SITELIBDIR} + +PORTDOCS= README +PORTSCOUT= limit:^0\.0\.3\.[0-9]* + +OPTIONS= NOTIFY "notify-send support" on \ + HTTPCLIENT "httpclient support" on + +.include <bsd.port.pre.mk> + +.if defined(WITH_NOTIFY) +RUN_DEPENDS+= notify-send:${PORTSDIR}/devel/libnotify +.endif + +.if defined(WITH_HTTPCLIENT) +RUN_DEPENDS+= rubygem-httpclient>=0:${PORTSDIR}/www/rubygem-httpclient +.endif + +post-patch: + @${REINPLACE_CMD} -e "48s|chdir\(.*\)|chdir\('${RUBY_SITELIBDIR}/mikutter/core'\)|" \ + ${WRKSRC}/mikutter.rb + @${REINPLACE_CMD} -i '' -e "s|miquire :lib, 'ruby-bsearch-1.5/bsearch'|require 'bsearch'|" \ + ${WRKSRC}/core/mui/cairo_inner_tl.rb + @${RM} -rf ${WRKSRC}/core/lib/hmac* + @${RM} -rf ${WRKSRC}/core/lib/json* + @${RM} -rf ${WRKSRC}/core/lib/memoize.rb + @${RM} -rf ${WRKSRC}/core/lib/oauth* + @${RM} -rf ${WRKSRC}/core/lib/ruby-bsearch-1.5 + +do-install: + @${INSTALL_SCRIPT} ${INSTALL_WRKSRC}/mikutter.rb ${PREFIX}/bin/mikutter + @cd ${INSTALL_WRKSRC} \ + && ${COPYTREE_SHARE} core ${RUBY_SITELIBDIR}/mikutter \ + && ${COPYTREE_SHARE} plugin ${RUBY_SITELIBDIR}/mikutter + @${MKDIR} ${PREFIX}/share/applications + @${INSTALL_DATA} ${WRKDIR}/${SUB_FILES} ${PREFIX}/share/applications/ +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTDOCS} ${DOCSDIR} +.endif + +x-generate-plist: + ${ECHO} bin/mikutter > pkg-plist.new + ${FIND} ${RUBY_SITELIBDIR}/mikutter -type f | ${SORT} | ${SED} -e 's,${RUBY_SITELIBDIR},%%RUBY_SITELIBDIR%%,' >> pkg-plist.new + ${ECHO} share/applications/mikutter.desktop >> pkg-plist.new + ${ECHO} '@dirrmtry share/applications' >> pkg-plist.new + ${ECHO} @exec ${MKDIR:S|/bin/||} %D/%%RUBY_SITELIBDIR%%/mikutter/core/hatsunelisp >> pkg-plist.new + ${FIND} ${RUBY_SITELIBDIR}/mikutter -type d -depth | ${SORT} -r | ${SED} -e 's,${RUBY_SITELIBDIR},@dirrm %%RUBY_SITELIBDIR%%,' >> pkg-plist.new + +.include <bsd.port.post.mk> diff --git a/net-im/mikutter/distinfo b/net-im/mikutter/distinfo new file mode 100644 index 000000000000..b494f8070e97 --- /dev/null +++ b/net-im/mikutter/distinfo @@ -0,0 +1,2 @@ +SHA256 (mikutter.0.0.3.514.tar.gz) = 334e42d5ec8f9d649220e2816e4fa638aaf6b842795d8e14aac156fc055230d2 +SIZE (mikutter.0.0.3.514.tar.gz) = 2014621 diff --git a/net-im/mikutter/files/mikutter.desktop.in b/net-im/mikutter/files/mikutter.desktop.in new file mode 100644 index 000000000000..6d0fbd3f3d9f --- /dev/null +++ b/net-im/mikutter/files/mikutter.desktop.in @@ -0,0 +1,13 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Mikutter +GenericName=Twitter Client +GenericName[ja]=ツイッタークライアント +Comment=A simple, powerful and moeful twitter client +Comment[ja]=全てのミク廃、そしてTwitter中毒者へ贈る、至高のTwitter Clientを目指すTwitter Client +Exec=%%PREFIX%%/bin/mikutter %u +Icon=%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/icon.png +StartupNotify=false +Terminal=false +Type=Application +Categories=Application;Network; diff --git a/net-im/mikutter/pkg-descr b/net-im/mikutter/pkg-descr new file mode 100644 index 000000000000..4e4893de327b --- /dev/null +++ b/net-im/mikutter/pkg-descr @@ -0,0 +1,3 @@ +mikutter - A simple, powerful and moeful twitter client + +WWW: http://mikutter.hachune.net/ diff --git a/net-im/mikutter/pkg-plist b/net-im/mikutter/pkg-plist new file mode 100644 index 000000000000..52f750cc03a3 --- /dev/null +++ b/net-im/mikutter/pkg-plist @@ -0,0 +1,176 @@ +bin/mikutter +%%RUBY_SITELIBDIR%%/mikutter/core/addon/addon.rb +%%RUBY_SITELIBDIR%%/mikutter/core/addon/alsa/alsa.rb +%%RUBY_SITELIBDIR%%/mikutter/core/addon/bitly/bitly.rb +%%RUBY_SITELIBDIR%%/mikutter/core/addon/bitly/test.bitly.rb +%%RUBY_SITELIBDIR%%/mikutter/core/addon/bugreport.rb +%%RUBY_SITELIBDIR%%/mikutter/core/addon/change_account.rb +%%RUBY_SITELIBDIR%%/mikutter/core/addon/contextmenu.rb +%%RUBY_SITELIBDIR%%/mikutter/core/addon/extract.rb +%%RUBY_SITELIBDIR%%/mikutter/core/addon/followingcontrol.rb +%%RUBY_SITELIBDIR%%/mikutter/core/addon/friend_timeline.rb +%%RUBY_SITELIBDIR%%/mikutter/core/addon/libnotify/libnotify.rb +%%RUBY_SITELIBDIR%%/mikutter/core/addon/list.rb +%%RUBY_SITELIBDIR%%/mikutter/core/addon/mentions.rb +%%RUBY_SITELIBDIR%%/mikutter/core/addon/notify.rb +%%RUBY_SITELIBDIR%%/mikutter/core/addon/openimg.rb +%%RUBY_SITELIBDIR%%/mikutter/core/addon/profile.rb +%%RUBY_SITELIBDIR%%/mikutter/core/addon/proxy/proxy.rb +%%RUBY_SITELIBDIR%%/mikutter/core/addon/search.rb +%%RUBY_SITELIBDIR%%/mikutter/core/addon/set_input.rb +%%RUBY_SITELIBDIR%%/mikutter/core/addon/set_view.rb +%%RUBY_SITELIBDIR%%/mikutter/core/addon/settings.rb +%%RUBY_SITELIBDIR%%/mikutter/core/addon/shortcutkey.rb +%%RUBY_SITELIBDIR%%/mikutter/core/addon/smartthread.rb +%%RUBY_SITELIBDIR%%/mikutter/core/addon/streaming.rb +%%RUBY_SITELIBDIR%%/mikutter/core/autotag.rb +%%RUBY_SITELIBDIR%%/mikutter/core/chi.rb +%%RUBY_SITELIBDIR%%/mikutter/core/config.rb +%%RUBY_SITELIBDIR%%/mikutter/core/configloader.rb +%%RUBY_SITELIBDIR%%/mikutter/core/delayer.rb +%%RUBY_SITELIBDIR%%/mikutter/core/entity.rb +%%RUBY_SITELIBDIR%%/mikutter/core/environment.rb +%%RUBY_SITELIBDIR%%/mikutter/core/image.rb +%%RUBY_SITELIBDIR%%/mikutter/core/initialize.rb +%%RUBY_SITELIBDIR%%/mikutter/core/lib/escape.rb +%%RUBY_SITELIBDIR%%/mikutter/core/lib/lazy.rb +%%RUBY_SITELIBDIR%%/mikutter/core/lib/piapro.rb +%%RUBY_SITELIBDIR%%/mikutter/core/lib/timelimitedqueue.rb +%%RUBY_SITELIBDIR%%/mikutter/core/lib/timelimitedqueue/test/test_timelimitedqueue.rb +%%RUBY_SITELIBDIR%%/mikutter/core/lib/timelimitedqueue/timelimitedqueue.rb +%%RUBY_SITELIBDIR%%/mikutter/core/lib/weakstorage.rb +%%RUBY_SITELIBDIR%%/mikutter/core/message.rb +%%RUBY_SITELIBDIR%%/mikutter/core/messageconverters.rb +%%RUBY_SITELIBDIR%%/mikutter/core/miku/array.rb +%%RUBY_SITELIBDIR%%/mikutter/core/miku/atom.rb +%%RUBY_SITELIBDIR%%/mikutter/core/miku/cons.rb +%%RUBY_SITELIBDIR%%/mikutter/core/miku/error.rb +%%RUBY_SITELIBDIR%%/mikutter/core/miku/hash.rb +%%RUBY_SITELIBDIR%%/mikutter/core/miku/init.miku +%%RUBY_SITELIBDIR%%/mikutter/core/miku/list.rb +%%RUBY_SITELIBDIR%%/mikutter/core/miku/macro.rb +%%RUBY_SITELIBDIR%%/mikutter/core/miku/miku.rb +%%RUBY_SITELIBDIR%%/mikutter/core/miku/nil.rb +%%RUBY_SITELIBDIR%%/mikutter/core/miku/node.rb +%%RUBY_SITELIBDIR%%/mikutter/core/miku/parser.rb +%%RUBY_SITELIBDIR%%/mikutter/core/miku/primitive.rb +%%RUBY_SITELIBDIR%%/mikutter/core/miku/symbol.rb +%%RUBY_SITELIBDIR%%/mikutter/core/miku/symboltable.rb +%%RUBY_SITELIBDIR%%/mikutter/core/miku/yamlisp.rb +%%RUBY_SITELIBDIR%%/mikutter/core/mui/cairo_cell_renderer_message.rb +%%RUBY_SITELIBDIR%%/mikutter/core/mui/cairo_coordinate_module.rb +%%RUBY_SITELIBDIR%%/mikutter/core/mui/cairo_icon_over_button.rb +%%RUBY_SITELIBDIR%%/mikutter/core/mui/cairo_inner_tl.rb +%%RUBY_SITELIBDIR%%/mikutter/core/mui/cairo_markup_generator.rb +%%RUBY_SITELIBDIR%%/mikutter/core/mui/cairo_miracle_painter.rb +%%RUBY_SITELIBDIR%%/mikutter/core/mui/cairo_pseudo_message_widget.rb +%%RUBY_SITELIBDIR%%/mikutter/core/mui/cairo_replyviewer.rb +%%RUBY_SITELIBDIR%%/mikutter/core/mui/cairo_sub_parts_favorite.rb +%%RUBY_SITELIBDIR%%/mikutter/core/mui/cairo_sub_parts_helper.rb +%%RUBY_SITELIBDIR%%/mikutter/core/mui/cairo_sub_parts_retweet.rb +%%RUBY_SITELIBDIR%%/mikutter/core/mui/cairo_sub_parts_voter.rb +%%RUBY_SITELIBDIR%%/mikutter/core/mui/cairo_textselector.rb +%%RUBY_SITELIBDIR%%/mikutter/core/mui/cairo_timeline.rb +%%RUBY_SITELIBDIR%%/mikutter/core/mui/gtk_contextmenu.rb +%%RUBY_SITELIBDIR%%/mikutter/core/mui/gtk_crud.rb +%%RUBY_SITELIBDIR%%/mikutter/core/mui/gtk_extension.rb +%%RUBY_SITELIBDIR%%/mikutter/core/mui/gtk_intelligent_textview.rb +%%RUBY_SITELIBDIR%%/mikutter/core/mui/gtk_keyconfig.rb +%%RUBY_SITELIBDIR%%/mikutter/core/mui/gtk_listlist.rb +%%RUBY_SITELIBDIR%%/mikutter/core/mui/gtk_message_picker.rb +%%RUBY_SITELIBDIR%%/mikutter/core/mui/gtk_mtk.rb +%%RUBY_SITELIBDIR%%/mikutter/core/mui/gtk_postbox.rb +%%RUBY_SITELIBDIR%%/mikutter/core/mui/gtk_pseudo_signal_handler.rb +%%RUBY_SITELIBDIR%%/mikutter/core/mui/gtk_selectbox.rb +%%RUBY_SITELIBDIR%%/mikutter/core/mui/gtk_skin.rb +%%RUBY_SITELIBDIR%%/mikutter/core/mui/gtk_timeline_utils.rb +%%RUBY_SITELIBDIR%%/mikutter/core/mui/gtk_userlist.rb +%%RUBY_SITELIBDIR%%/mikutter/core/mui/gtk_webicon.rb +%%RUBY_SITELIBDIR%%/mikutter/core/plugin/ChangeLog +%%RUBY_SITELIBDIR%%/mikutter/core/plugin/gui.rb +%%RUBY_SITELIBDIR%%/mikutter/core/plugin/plugin.rb +%%RUBY_SITELIBDIR%%/mikutter/core/plugin/template +%%RUBY_SITELIBDIR%%/mikutter/core/post.rb +%%RUBY_SITELIBDIR%%/mikutter/core/retriever.rb +%%RUBY_SITELIBDIR%%/mikutter/core/serialthread.rb +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/close.png +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/etc.png +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/fav.png +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/followers.png +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/followings.png +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/icon.png +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/list.png +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/loading.png +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/notfound.png +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/overbutton.png +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/overbutton_mouseover.png +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/post.png +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/reply.png +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/retweet.png +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/savedsearch.png +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/search.png +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/settings.png +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/sounds/favo-old1.wav +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/sounds/favo.wav +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/sounds/favo2-old1.wav +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/sounds/favo2.wav +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/sounds/message-received-se.wav +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/sounds/message-received.wav +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/sounds/mikutter-se.wav +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/sounds/mikutter.wav +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/sounds/mikuxtu-se.wav +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/sounds/mikuxtu.wav +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/sounds/retweeted.wav +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/sounds/sources/favo.vsq +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/sounds/sources/favo2.vsq +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/sounds/sources/message-received.vsq +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/sounds/sources/mikutter.vsq +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/sounds/sources/mikuxtu.vsq +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/sounds/sources/retweeted.aup +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/sounds/sources/retweeted.vsq +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/sounds/sources/retweeted_data/e00/d00/e0000496.au +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/sounds/sources/retweeted_data/e00/d00/e00008c6.au +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/tab-bg.png +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/timeline.png +%%RUBY_SITELIBDIR%%/mikutter/core/skin/data/unfav.png +%%RUBY_SITELIBDIR%%/mikutter/core/test/test_cairo_textselector.rb +%%RUBY_SITELIBDIR%%/mikutter/core/test/test_entity.rb +%%RUBY_SITELIBDIR%%/mikutter/core/test/test_message.rb +%%RUBY_SITELIBDIR%%/mikutter/core/test/test_messageconverters.rb +%%RUBY_SITELIBDIR%%/mikutter/core/test/test_plugin.rb +%%RUBY_SITELIBDIR%%/mikutter/core/test/test_retriever.rb +%%RUBY_SITELIBDIR%%/mikutter/core/test/test_user.rb +%%RUBY_SITELIBDIR%%/mikutter/core/test/test_utils.rb +%%RUBY_SITELIBDIR%%/mikutter/core/twitter.rb +%%RUBY_SITELIBDIR%%/mikutter/core/twitter_api.rb +%%RUBY_SITELIBDIR%%/mikutter/core/user.rb +%%RUBY_SITELIBDIR%%/mikutter/core/userconfig.rb +%%RUBY_SITELIBDIR%%/mikutter/core/userlist.rb +%%RUBY_SITELIBDIR%%/mikutter/core/utils.rb +%%RUBY_SITELIBDIR%%/mikutter/core/watch.rb +%%RUBY_SITELIBDIR%%/mikutter/plugin/WHATSTHIS +share/applications/mikutter.desktop +@dirrmtry share/applications +@exec mkdir -p %D/%%RUBY_SITELIBDIR%%/mikutter/core/hatsunelisp +@dirrm %%RUBY_SITELIBDIR%%/mikutter/plugin +@dirrm %%RUBY_SITELIBDIR%%/mikutter/core/test +@dirrm %%RUBY_SITELIBDIR%%/mikutter/core/skin/data/sounds/sources/retweeted_data/e00/d00 +@dirrm %%RUBY_SITELIBDIR%%/mikutter/core/skin/data/sounds/sources/retweeted_data/e00 +@dirrm %%RUBY_SITELIBDIR%%/mikutter/core/skin/data/sounds/sources/retweeted_data +@dirrm %%RUBY_SITELIBDIR%%/mikutter/core/skin/data/sounds/sources +@dirrm %%RUBY_SITELIBDIR%%/mikutter/core/skin/data/sounds +@dirrm %%RUBY_SITELIBDIR%%/mikutter/core/skin/data +@dirrm %%RUBY_SITELIBDIR%%/mikutter/core/skin +@dirrm %%RUBY_SITELIBDIR%%/mikutter/core/plugin +@dirrm %%RUBY_SITELIBDIR%%/mikutter/core/mui +@dirrm %%RUBY_SITELIBDIR%%/mikutter/core/miku +@dirrm %%RUBY_SITELIBDIR%%/mikutter/core/lib/timelimitedqueue/test +@dirrm %%RUBY_SITELIBDIR%%/mikutter/core/lib/timelimitedqueue +@dirrm %%RUBY_SITELIBDIR%%/mikutter/core/lib +@dirrm %%RUBY_SITELIBDIR%%/mikutter/core/addon/proxy +@dirrm %%RUBY_SITELIBDIR%%/mikutter/core/addon/libnotify +@dirrm %%RUBY_SITELIBDIR%%/mikutter/core/addon/bitly +@dirrm %%RUBY_SITELIBDIR%%/mikutter/core/addon/alsa +@dirrm %%RUBY_SITELIBDIR%%/mikutter/core/addon +@dirrm %%RUBY_SITELIBDIR%%/mikutter/core +@dirrm %%RUBY_SITELIBDIR%%/mikutter |