5c84174c6e
* not to notify action from mute users. * fix to locd JSON library correctly. * deprecate SQLite plugin. * support new Twitter search API. * add settings not to move to ttweet Fav or RT by myself to top. * fixes crash with old RubyGTK on ubuntu 11.04.
53 lines
2 KiB
Makefile
53 lines
2 KiB
Makefile
# $NetBSD: Makefile,v 1.4 2011/04/30 13:26:14 obache Exp $
|
|
#
|
|
|
|
DISTNAME= mikutter.0.0.3.2
|
|
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/./-/}
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://mikutter.hachune.net/bin/
|
|
|
|
MAINTAINER= obache@NetBSD.org
|
|
HOMEPAGE= http://mikutter.hachune.net/
|
|
COMMENT= Moest Twitter Client
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
.include "../../lang/ruby/rubyversion.mk"
|
|
|
|
DEPENDS+= xdg-utils-[0-9]*:../../misc/xdg-utils
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-json>=1.1.9:../../textproc/ruby-json
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-hmac-[0-9]*:../../security/ruby-hmac
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gtk-[0-9]*:../../x11/ruby-gnome2-gtk
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gstreamer-[0-9]*:../../multimedia/ruby-gnome2-gstreamer
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-oauth>=0.3.6:../../security/ruby-oauth
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-escape-[0-9]*:../../textproc/ruby-escape
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-memoize>=1.3.1:../../devel/ruby-memoize
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-httpclient-[0-9]*:../../www/ruby-httpclient
|
|
# notif-send
|
|
DEPENDS+= libnotify-[0-9]*:../../sysutils/libnotify
|
|
|
|
WRKSRC= ${WRKDIR}/mikutter
|
|
USE_LANGUAGES= # none
|
|
USE_TOOLS+= pax
|
|
|
|
REPLACE_RUBY= mikutter.rb
|
|
REPLACE_RUBY_DIRS= core
|
|
.include "../../lang/ruby/replace.mk"
|
|
|
|
INSTALLATION_DIRS+= bin share/doc/mikutter share/applications share/mikutter
|
|
|
|
do-build:
|
|
cd ${WRKSRC}/core/lib && ${RM} -rf json* escape.rb oauth* memoize.rb
|
|
${SED} -e 's,@PREFIX@,${PREFIX},g' < ${FILESDIR}/desktop.in > ${WRKDIR}/desktop
|
|
${SED} -e 's,@PREFIX@,${PREFIX},g' < ${FILESDIR}/mikutter.sh.in > ${WRKDIR}/mikutter.sh
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/mikutter.rb ${DESTDIR}${PREFIX}/share/mikutter
|
|
cd ${WRKSRC} && pax -rwpp core plugin ${DESTDIR}${PREFIX}/share/mikutter
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/mikutter
|
|
${INSTALL_SCRIPT} ${WRKDIR}/mikutter.sh ${DESTDIR}${PREFIX}/bin/mikutter
|
|
${INSTALL_DATA} ${WRKDIR}/desktop ${DESTDIR}${PREFIX}/share/applications/mikutter.desktop
|
|
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|