summaryrefslogtreecommitdiff
path: root/net/mikutter/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/mikutter/Makefile')
-rw-r--r--net/mikutter/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/net/mikutter/Makefile b/net/mikutter/Makefile
index 1ad174d02b8..532454028ed 100644
--- a/net/mikutter/Makefile
+++ b/net/mikutter/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2011/06/05 08:57:47 obache Exp $
+# $NetBSD: Makefile,v 1.9 2011/06/12 12:41:15 obache Exp $
#
-DISTNAME= mikutter.0.0.3.7
+DISTNAME= mikutter.0.0.3.8
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/./-/}
CATEGORIES= net
MASTER_SITES= http://mikutter.hachune.net/bin/
@@ -16,14 +16,14 @@ 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}-json>=1.5.1:../../textproc/ruby-json
DEPENDS+= ${RUBY_PKGPREFIX}-hmac>=0.4.0:../../security/ruby-hmac
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gtk-[0-9]*:../../x11/ruby-gnome2-gtk
-DEPENDS+= ${RUBY_PKGPREFIX}-SDL-[0-9]*:../../devel/ruby-SDL
DEPENDS+= ${RUBY_PKGPREFIX}-oauth>=0.3.6:../../security/ruby-oauth
# need included escape.rb
#DEPENDS+= ${RUBY_PKGPREFIX}-escape-[0-9]*:../../textproc/ruby-escape
DEPENDS+= ${RUBY_PKGPREFIX}-memoize>=1.3.1:../../devel/ruby-memoize
+DEPENDS+= ${RUBY_PKGPREFIX}-bsearch>=1.5:../../devel/ruby-bsearch
DEPENDS+= ${RUBY_PKGPREFIX}-httpclient-[0-9]*:../../www/ruby-httpclient
# notif-send
DEPENDS+= libnotify-[0-9]*:../../sysutils/libnotify
@@ -39,13 +39,13 @@ REPLACE_RUBY_DIRS= core
INSTALLATION_DIRS+= bin share/doc/mikutter share/applications share/mikutter
do-build:
- cd ${WRKSRC}/core/lib && ${RM} -rf json* hmac*.rb oauth* memoize.rb
+ cd ${WRKSRC}/core/lib && ${RM} -rf json* hmac*.rb oauth* memoize.rb ruby-bsearch-*
${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
+ cd ${WRKSRC} && pax -rwpp -s '/.*\.orig//' 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