aboutsummaryrefslogtreecommitdiff
path: root/net-im/mikutter
diff options
context:
space:
mode:
authorTAKATSU Tomonari <tota@FreeBSD.org>2013-11-25 17:51:17 +0000
committerTAKATSU Tomonari <tota@FreeBSD.org>2013-11-25 17:51:17 +0000
commit34b56167e9293bbfc573cf1e536a250ef668fa04 (patch)
treed2e25e51bdff1e4efa68472fe6d65e10e3836478 /net-im/mikutter
parenta314c836dfabb3f08a6fb31b65a8706f5b716f8b (diff)
downloadports-34b56167e9293bbfc573cf1e536a250ef668fa04.tar.gz
ports-34b56167e9293bbfc573cf1e536a250ef668fa04.zip
Notes
Diffstat (limited to 'net-im/mikutter')
-rw-r--r--net-im/mikutter/Makefile13
-rw-r--r--net-im/mikutter/distinfo4
2 files changed, 9 insertions, 8 deletions
diff --git a/net-im/mikutter/Makefile b/net-im/mikutter/Makefile
index 0ea3b91ce424..a323f71951a6 100644
--- a/net-im/mikutter/Makefile
+++ b/net-im/mikutter/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= mikutter
-PORTVERSION= 0.2.2.1410
+PORTVERSION= 0.2.2.1430
CATEGORIES= net-im ruby
MASTER_SITES= http://mikutter.hachune.net/bin/ \
LOCAL
@@ -29,15 +29,15 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
USE_RUBY= yes
NO_BUILD= yes
-RUBY_REQUIRE= Ruby >= 193
RUBY_SHEBANG_FILES= mikutter.rb \
core/miku/miku.rb \
devel/makechi.rb
+PORTDOCS= README
SUB_FILES= mikutter.desktop
SUB_LIST= RUBY_SITELIBDIR=${RUBY_SITELIBDIR}
-PORTDOCS= README
+REINPLACE_ARGS= -i ''
OPTIONS_DEFINE= HTTPCLIENT NOTIFY
HTTPCLIENT_DESC= httpclient support
@@ -71,10 +71,11 @@ do-install:
${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.endif
-x-generate-plist:
+x-generate-plist: stage
${ECHO} bin/mikutter > pkg-plist.new
- ${FIND} ${RUBY_SITELIBDIR}/mikutter -type f | ${SORT} | ${SED} -e 's,${RUBY_SITELIBDIR},%%RUBY_SITELIBDIR%%,' >> pkg-plist.new
+ ${FIND} ${STAGEDIR}${RUBY_SITELIBDIR}/mikutter -type f | ${SORT} | ${SED} -e 's,${STAGEDIR}${RUBY_SITELIBDIR},%%RUBY_SITELIBDIR%%,' >> pkg-plist.new
${ECHO} share/applications/mikutter.desktop >> pkg-plist.new
- ${FIND} ${RUBY_SITELIBDIR}/mikutter -type d -depth | ${SORT} -r | ${SED} -e 's,${RUBY_SITELIBDIR},@dirrm %%RUBY_SITELIBDIR%%,' >> pkg-plist.new
+ ${FIND} ${STAGEDIR}${RUBY_SITELIBDIR}/mikutter -type d -depth | ${SORT} -r | ${SED} -e 's,${STAGEDIR}${RUBY_SITELIBDIR},@dirrm %%RUBY_SITELIBDIR%%,' >> pkg-plist.new
+ ${REINPLACE_CMD} -E 's|@dirrm (%%RUBY_SITELIBDIR%%/mikutter/plugin)|@dirrmtry \1|' pkg-plist.new
.include <bsd.port.mk>
diff --git a/net-im/mikutter/distinfo b/net-im/mikutter/distinfo
index 9829e3a833e5..12d7fe58f28d 100644
--- a/net-im/mikutter/distinfo
+++ b/net-im/mikutter/distinfo
@@ -1,2 +1,2 @@
-SHA256 (mikutter.0.2.2.1410.tar.gz) = 73302b36e348a73706a2d7353c781d44ff1b89fae14611613e6b6ec8d74f7a51
-SIZE (mikutter.0.2.2.1410.tar.gz) = 2334586
+SHA256 (mikutter.0.2.2.1430.tar.gz) = f75c21e6e64e6a23a1df9dec7e007dffbd0a2ea835a1aa818f7d85bd63e4d1b6
+SIZE (mikutter.0.2.2.1430.tar.gz) = 2334672