summaryrefslogtreecommitdiff
path: root/japanese/ruby-mecab/Makefile
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2003-08-18 19:25:59 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2003-08-18 19:25:59 +0000
commitfa92d445b6b8063df6c9ce56fc71a78cd07a3ee9 (patch)
tree600aeb3548bb4e497ed51190c1933e0dcd3d8e5b /japanese/ruby-mecab/Makefile
parentUpdate to 0.9. (diff)
Update to 0.76. Pthread is not required any longer.
Notes
Notes: svn path=/head/; revision=87225
Diffstat (limited to 'japanese/ruby-mecab/Makefile')
-rw-r--r--japanese/ruby-mecab/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/japanese/ruby-mecab/Makefile b/japanese/ruby-mecab/Makefile
index e1ae788669fb..7d38a2032c11 100644
--- a/japanese/ruby-mecab/Makefile
+++ b/japanese/ruby-mecab/Makefile
@@ -8,18 +8,16 @@
PORTNAME= ${MECAB_PORTNAME}
PORTVERSION= ${MECAB_PORTVERSION}
CATEGORIES= japanese textproc ruby
-MASTER_SITES= # none
-DISTFILES= # none
+MASTER_SITES= http://cl.aist-nara.ac.jp/~taku-ku/software/mecab/bindings/
+DISTNAME= ${PORTNAME}-ruby-${PORTVERSION}
MAINTAINER= knu@FreeBSD.org
COMMENT= MeCab library module for Ruby
-EXTRACT_DEPENDS= ${NONEXISTENT}:${MECAB_PORTDIR}:patch
LIB_DEPENDS= mecab.0:${MECAB_PORTDIR}
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
-RUBY_WITH_PTHREAD= yes
INSTALL_TARGET= site-install
@@ -29,14 +27,12 @@ INSTALL_TARGET= site-install
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
-do-extract:
- ${MKDIR} ${WRKDIR}
- ${LN} -fs `${MECAB_WRKSRC_CMD}`/ruby ${WRKSRC}
-
post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/examples/mecab
- ${INSTALL_DATA} ${WRKSRC}/test.rb ${PREFIX}/share/examples/mecab/
+ ${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>