1fc3357eb0
Upstream changes: # mikutter 3.5.2 * Retriever.URI was not implemented as documented * fix custom Model related bugs * field value dereference via [] where Model method should be called * accessor method was not defined when Model field type was array * multiselect widget wrote unnecessary values each time config window was open * fix reference of deprecated method in mikutter core * name attribute of about method in setting DSL was not used * adjust field values for Twitter related Models
59 lines
2.4 KiB
Makefile
59 lines
2.4 KiB
Makefile
# $NetBSD: Makefile,v 1.135 2017/01/29 08:16:01 tsutsui Exp $
|
|
#
|
|
|
|
DISTNAME= mikutter.3.5.2
|
|
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/./-/}
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://mikutter.hachune.net/bin/
|
|
|
|
MAINTAINER= tsutsui@NetBSD.org
|
|
HOMEPAGE= http://mikutter.hachune.net/
|
|
COMMENT= Simple, powerful, and moeful twitter client
|
|
LICENSE= mit AND cc-by-sa-v3.0
|
|
|
|
.include "../../lang/ruby/rubyversion.mk"
|
|
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-pluggaloid>=1.1.1:../../net/ruby-pluggaloid
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gtk>=3.1.1:../../x11/ruby-gnome2-gtk
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-gettext>=3.0.1:../../devel/ruby-gettext
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-oauth>=0.5.1:../../security/ruby-oauth
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-addressable>=2.3:../../net/ruby-addressable
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-memoist-[0-9]*:../../devel/ruby-memoist
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-hmac>=0.4:../../security/ruby-hmac
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-typed-array>=0.1:../../misc/ruby-typed-array
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-delayer-[0-9]*:../../devel/ruby-delayer
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-delayer-deferred>=1.0.4:../../devel/ruby-delayer-deferred
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-nokogiri-[0-9]*:../../textproc/ruby-nokogiri
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-httpclient-[0-9]*:../../www/ruby-httpclient
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-moneta>=0.7:../../databases/ruby-moneta
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-twitter-text-[0-9]*:../../net/ruby-twitter-text
|
|
|
|
WRKSRC= ${WRKDIR}/mikutter
|
|
USE_LANGUAGES= # none
|
|
USE_TOOLS+= pax
|
|
|
|
REPLACE_RUBY= mikutter.rb devel/makechi.rb
|
|
REPLACE_RUBY_DIRS= core
|
|
.include "../../lang/ruby/replace.mk"
|
|
|
|
INSTALLATION_DIRS+= bin share/doc/mikutter share/applications share/mikutter
|
|
|
|
do-build:
|
|
cd ${WRKSRC}/devel && \
|
|
${RM} -rf debian
|
|
${RM} -rf ${WRKSRC}/vendor
|
|
${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
|
|
${INSTALL_DATA} ${WRKSRC}/Gemfile ${DESTDIR}${PREFIX}/share/mikutter
|
|
cd ${WRKSRC} && pax -rwpp -s '/.*\.orig//' core devel 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
|
|
|
|
RUBY_JSON_TYPE= pure
|
|
RUBY_JSON_REQD= 1.8
|
|
.include "../../lang/ruby/json.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|