mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- Update to 0.994
- Respect NOPORTDOCS - Pet portlint * Don't mix PORTDOCS with EXAMPLESDIR * Remove specific ABI version numbers from LIB_DEPENDS PR: ports/171413 (based on) Submitted by: Yasuhiro KIMURA <yasu_AT_utahime_DOT_org> Feature safe: yes
This commit is contained in:
parent
1a04e0a422
commit
0c2b3c31dc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=305813
@ -6,15 +6,15 @@
|
||||
#
|
||||
|
||||
PORTNAME= mecab
|
||||
PORTVERSION= 0.98
|
||||
PORTVERSION= 0.994
|
||||
CATEGORIES= japanese textproc ruby
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-ruby/${PORTVERSION}
|
||||
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
||||
DISTNAME= ${PORTNAME}-ruby-${PORTVERSION}
|
||||
|
||||
MAINTAINER= ruby@FreeBSD.org
|
||||
COMMENT= MeCab library module for Ruby
|
||||
|
||||
LIB_DEPENDS= mecab.1:${PORTSDIR}/japanese/mecab
|
||||
LIB_DEPENDS= mecab:${PORTSDIR}/japanese/mecab
|
||||
|
||||
USE_RUBY= yes
|
||||
USE_RUBY_EXTCONF= yes
|
||||
@ -27,10 +27,12 @@ PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${RUBY_MODDOCDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/bindings.html ${RUBY_MODDOCDIR}/
|
||||
.endif
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
@${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/test.rb ${RUBY_MODEXAMPLESDIR}/
|
||||
${MKDIR} ${RUBY_MODDOCDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/bindings.html ${RUBY_MODDOCDIR}/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (mecab-ruby-0.98.tar.gz) = fcbfc01944df501d141a68e266d0ef249c0f5bb6c983bf205729e23e34f2422b
|
||||
SIZE (mecab-ruby-0.98.tar.gz) = 41674
|
||||
SHA256 (mecab-ruby-0.994.tar.gz) = 16f9c6de6a90fb11d07f191ea646217e9006a6aec3f90f386b476ce51e611269
|
||||
SIZE (mecab-ruby-0.994.tar.gz) = 44483
|
||||
|
@ -1,5 +1,5 @@
|
||||
%%RUBY_SITEARCHLIBDIR%%/MeCab.so
|
||||
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test.rb
|
||||
%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
|
||||
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/bindings.html
|
||||
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
|
||||
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/test.rb
|
||||
%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user