diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2003-08-18 19:25:59 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2003-08-18 19:25:59 +0000 |
commit | fa92d445b6b8063df6c9ce56fc71a78cd07a3ee9 (patch) | |
tree | 600aeb3548bb4e497ed51190c1933e0dcd3d8e5b /japanese/ruby-mecab | |
parent | 5f029c5d3ff2944cbf087eb27a090cd97e5bbaeb (diff) | |
download | ports-fa92d445b6b8063df6c9ce56fc71a78cd07a3ee9.tar.gz ports-fa92d445b6b8063df6c9ce56fc71a78cd07a3ee9.zip |
Notes
Diffstat (limited to 'japanese/ruby-mecab')
-rw-r--r-- | japanese/ruby-mecab/Makefile | 16 | ||||
-rw-r--r-- | japanese/ruby-mecab/distinfo | 1 | ||||
-rw-r--r-- | japanese/ruby-mecab/pkg-plist | 5 |
3 files changed, 11 insertions, 11 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> diff --git a/japanese/ruby-mecab/distinfo b/japanese/ruby-mecab/distinfo new file mode 100644 index 000000000000..f14c30095de1 --- /dev/null +++ b/japanese/ruby-mecab/distinfo @@ -0,0 +1 @@ +MD5 (mecab-ruby-0.76.tar.gz) = 8e454b10ec25f761b603917b7cdf9ced diff --git a/japanese/ruby-mecab/pkg-plist b/japanese/ruby-mecab/pkg-plist index 67daf7399869..74f2713a5c33 100644 --- a/japanese/ruby-mecab/pkg-plist +++ b/japanese/ruby-mecab/pkg-plist @@ -1,2 +1,5 @@ %%RUBY_SITEARCHLIBDIR%%/MeCab.so -%%PORTDOCS%%share/examples/mecab/test.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test.rb +%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/bindings.html +%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% |