- Update to 0.2.2.1430

- Remove RUBY_REQUIRE
- Improve x-generate-plist target for maintenance
- Cosmetic change
This commit is contained in:
TAKATSU Tomonari 2013-11-25 17:51:17 +00:00
parent a314c836df
commit 34b56167e9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334869
2 changed files with 9 additions and 8 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= mikutter PORTNAME= mikutter
PORTVERSION= 0.2.2.1410 PORTVERSION= 0.2.2.1430
CATEGORIES= net-im ruby CATEGORIES= net-im ruby
MASTER_SITES= http://mikutter.hachune.net/bin/ \ MASTER_SITES= http://mikutter.hachune.net/bin/ \
LOCAL LOCAL
@ -29,15 +29,15 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
USE_RUBY= yes USE_RUBY= yes
NO_BUILD= yes NO_BUILD= yes
RUBY_REQUIRE= Ruby >= 193
RUBY_SHEBANG_FILES= mikutter.rb \ RUBY_SHEBANG_FILES= mikutter.rb \
core/miku/miku.rb \ core/miku/miku.rb \
devel/makechi.rb devel/makechi.rb
PORTDOCS= README
SUB_FILES= mikutter.desktop SUB_FILES= mikutter.desktop
SUB_LIST= RUBY_SITELIBDIR=${RUBY_SITELIBDIR} SUB_LIST= RUBY_SITELIBDIR=${RUBY_SITELIBDIR}
PORTDOCS= README REINPLACE_ARGS= -i ''
OPTIONS_DEFINE= HTTPCLIENT NOTIFY OPTIONS_DEFINE= HTTPCLIENT NOTIFY
HTTPCLIENT_DESC= httpclient support HTTPCLIENT_DESC= httpclient support
@ -71,10 +71,11 @@ do-install:
${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.endif .endif
x-generate-plist: x-generate-plist: stage
${ECHO} bin/mikutter > pkg-plist.new ${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 ${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> .include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
SHA256 (mikutter.0.2.2.1410.tar.gz) = 73302b36e348a73706a2d7353c781d44ff1b89fae14611613e6b6ec8d74f7a51 SHA256 (mikutter.0.2.2.1430.tar.gz) = f75c21e6e64e6a23a1df9dec7e007dffbd0a2ea835a1aa818f7d85bd63e4d1b6
SIZE (mikutter.0.2.2.1410.tar.gz) = 2334586 SIZE (mikutter.0.2.2.1430.tar.gz) = 2334672