Date: Wed, 20 Mar 2013 12:50:02 GMT From: dfilter@FreeBSD.ORG (dfilter service) To: ruby@FreeBSD.org Subject: Re: ports/175257: commit references a PR Message-ID: <201303201250.r2KCo2U9093977@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/175257; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/175257: commit references a PR Date: Wed, 20 Mar 2013 12:41:01 +0000 (UTC) Author: tota Date: Wed Mar 20 12:40:53 2013 New Revision: 314726 URL: http://svnweb.freebsd.org/changeset/ports/314726 Log: - Update to 0.995 - Add a patch to fix build error with Ruby 1.8 [1] - Add LICENSE section - Adopt OptionsNG - Trim Makefile header - Remove Author: line from pkg-descr - Replace tab with space WWW: line in pkg-descr - Update WWW: line in pkg-descr PR: ports/175257 Submitted by: Yasuhiro KIMURA <yasu_AT_utahime_DOT_org> Obtained from: http://code.google.com/p/mecab/issues/detail?id=3 [1] Added: head/japanese/ruby-mecab/files/patch-MeCab__wrap.cpp (contents, props changed) Modified: head/japanese/ruby-mecab/Makefile head/japanese/ruby-mecab/distinfo head/japanese/ruby-mecab/pkg-descr Modified: head/japanese/ruby-mecab/Makefile ============================================================================== --- head/japanese/ruby-mecab/Makefile Wed Mar 20 12:38:23 2013 (r314725) +++ head/japanese/ruby-mecab/Makefile Wed Mar 20 12:40:53 2013 (r314726) @@ -1,12 +1,8 @@ -# New ports collection makefile for: ruby-mecab -# Date created: 23 April 2003 -# Whom: Akinori MUSHA aka knu <knu@idaemons.org> -# +# Created by: Akinori MUSHA aka knu <knu@idaemons.org> # $FreeBSD$ -# PORTNAME= mecab -PORTVERSION= 0.994 +PORTVERSION= 0.995 CATEGORIES= japanese textproc ruby MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} DISTNAME= ${PORTNAME}-ruby-${PORTVERSION} @@ -14,6 +10,12 @@ DISTNAME= ${PORTNAME}-ruby-${PORTVERSION MAINTAINER= ruby@FreeBSD.org COMMENT= MeCab library module for Ruby +LICENSE= BSD GPLv2 LGPL21 +LICENSE_COMB= dual +LICENSE_FILE_BSD= ${WRKSRC}/BSD +LICENSE_FILE_GPLv2= ${WRKSRC}/GPL +LICENSE_FILE_LGPL21= ${WRKSRC}/LGPL + LIB_DEPENDS= mecab:${PORTSDIR}/japanese/mecab USE_RUBY= yes @@ -21,16 +23,19 @@ USE_RUBY_EXTCONF= yes INSTALL_TARGET= site-install +OPTIONS_DEFINE= DOCS EXAMPLES +OPTIONSFILE= ${PORT_DBDIR}/ja-ruby-${PORTNAME}/options + .include <bsd.port.pre.mk> PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX} post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${RUBY_MODDOCDIR} ${INSTALL_DATA} ${WRKSRC}/bindings.html ${RUBY_MODDOCDIR}/ .endif -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${RUBY_MODEXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/test.rb ${RUBY_MODEXAMPLESDIR}/ .endif Modified: head/japanese/ruby-mecab/distinfo ============================================================================== --- head/japanese/ruby-mecab/distinfo Wed Mar 20 12:38:23 2013 (r314725) +++ head/japanese/ruby-mecab/distinfo Wed Mar 20 12:40:53 2013 (r314726) @@ -1,2 +1,2 @@ -SHA256 (mecab-ruby-0.994.tar.gz) = 16f9c6de6a90fb11d07f191ea646217e9006a6aec3f90f386b476ce51e611269 -SIZE (mecab-ruby-0.994.tar.gz) = 44483 +SHA256 (mecab-ruby-0.995.tar.gz) = d55241f11ad676fe02421c67ad57f5805c1ef893d6b6b91d0209ac9cf0dfa7f0 +SIZE (mecab-ruby-0.995.tar.gz) = 48688 Added: head/japanese/ruby-mecab/files/patch-MeCab__wrap.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/japanese/ruby-mecab/files/patch-MeCab__wrap.cpp Wed Mar 20 12:40:53 2013 (r314726) @@ -0,0 +1,12 @@ +--- MeCab_wrap.cpp.orig 2013-01-25 14:07:27.000000000 +0900 ++++ MeCab_wrap.cpp 2013-03-20 15:01:31.000000000 +0900 +@@ -1856,8 +1856,7 @@ + + /* Workaround for ruby1.9.x */ + #if defined SWIGRUBY +-#include "ruby/version.h" +-#if RUBY_API_VERSION_CODE >= 10900 ++#if HAVE_RUBY_ENCODING_H + #include "ruby/encoding.h" + #define rb_str_new rb_external_str_new + #endif Modified: head/japanese/ruby-mecab/pkg-descr ============================================================================== --- head/japanese/ruby-mecab/pkg-descr Wed Mar 20 12:38:23 2013 (r314725) +++ head/japanese/ruby-mecab/pkg-descr Wed Mar 20 12:40:53 2013 (r314726) @@ -1,4 +1,3 @@ This is the MeCab library module for Ruby. -Author: Taku Kudo <taku@chasen.org> -WWW: http://mecab.sourceforge.net/ +WWW: https://code.google.com/p/mecab/ _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303201250.r2KCo2U9093977>