aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorTAKATSU Tomonari <tota@FreeBSD.org>2012-10-13 04:00:49 +0000
committerTAKATSU Tomonari <tota@FreeBSD.org>2012-10-13 04:00:49 +0000
commit0c2b3c31dcf78fab0781bf8f71ea973c71380a6f (patch)
treec96d0a4b3c984b7dc7243f6c22c86a67f1a19898 /japanese
parent1a04e0a422867ae10963e05c2289945fb4f05ca7 (diff)
downloadports-0c2b3c31dcf78fab0781bf8f71ea973c71380a6f.tar.gz
ports-0c2b3c31dcf78fab0781bf8f71ea973c71380a6f.zip
Notes
Diffstat (limited to 'japanese')
-rw-r--r--japanese/ruby-mecab/Makefile12
-rw-r--r--japanese/ruby-mecab/distinfo4
-rw-r--r--japanese/ruby-mecab/pkg-plist4
3 files changed, 11 insertions, 9 deletions
diff --git a/japanese/ruby-mecab/Makefile b/japanese/ruby-mecab/Makefile
index 3060f5387a82..2423839bcdeb 100644
--- a/japanese/ruby-mecab/Makefile
+++ b/japanese/ruby-mecab/Makefile
@@ -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>
diff --git a/japanese/ruby-mecab/distinfo b/japanese/ruby-mecab/distinfo
index 155208ca0970..808808a6d933 100644
--- a/japanese/ruby-mecab/distinfo
+++ b/japanese/ruby-mecab/distinfo
@@ -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
diff --git a/japanese/ruby-mecab/pkg-plist b/japanese/ruby-mecab/pkg-plist
index 74f2713a5c33..8ffcfacf5282 100644
--- a/japanese/ruby-mecab/pkg-plist
+++ b/japanese/ruby-mecab/pkg-plist
@@ -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%%