Date: Mon, 28 Jan 2013 18:30:24 +0900 (JST) From: Yasuhiro KIMURA <yasu@utahime.org> To: freebsd-ports@freebsd.org Subject: Re: Issue about adapting japanese/ruby-mecab to new options framework Message-ID: <20130128.183024.124778952.yasu@utahime.org> In-Reply-To: <CAMuy=%2BiM3VV0oaXnka=6MBOs80MOvgV_CDzBrBu%2Bn1X5gSqn5A@mail.gmail.com> <CACdU%2Bf-kYY5hcfrbMUKTR7vX2uzHEWoL0%2BPAkU42AWmRpeX75g@mail.gmail.com> References: <20130128.021533.335602238.yasu@utahime.org> <CAMuy=%2BiM3VV0oaXnka=6MBOs80MOvgV_CDzBrBu%2Bn1X5gSqn5A@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
From: Jason Helfman <jgh@FreeBSD.org> Subject: Re: Issue about adapting japanese/ruby-mecab to new options framework Date: Sun, 27 Jan 2013 11:40:04 -0800 > You could look at setting OPTIONSFILE in the ports Makefile, itself. > For instance, this is set in net/rubygem-net-ssh. Although this may not be > the exact entry, this is an example you can work with to get it to work as > it should. > > OPTIONSFILE?= ${PORT_DBDIR}/rubygem-${PORTNAME}/options From: Scot Hetzel <swhetzel@gmail.com> Subject: Re: Issue about adapting japanese/ruby-mecab to new options framework Date: Sun, 27 Jan 2013 13:41:00 -0600 > You could add OPTIONSFILE to japanese/ruby-mecab/Makefile as: > > OPTIONSFILE= ${PORT_DBDIR}/ruby-mecab/options > > This way it will always find it's own options file. When following line is added in japanese/ruby-mecab/Makefile, options dialog doesn't displayed only once: OPTIONSFILE= ${PORT_DBDIR}/ja-ruby-mecab/options But when following line is added, it displayed every time: OPTIONSFILE= ${PORT_DBDIR}/ja-${RUBY_PKGNAMEPREFIX}${PORTNAME}/options Does it mean RUBY_PKGNAMEPREFIX cannot be used to assign OPTIONSFILE? If answer is yes then the former is best solution. But if possible I would like to reflect the version of ruby on OPTIONSFILE. --- Yasuhiro KIMURA
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130128.183024.124778952.yasu>