diff options
Diffstat (limited to 'devel/gonzui')
-rw-r--r-- | devel/gonzui/Makefile | 13 | ||||
-rw-r--r-- | devel/gonzui/pkg-plist | 39 |
2 files changed, 11 insertions, 41 deletions
diff --git a/devel/gonzui/Makefile b/devel/gonzui/Makefile index e9c64d46fbb7..ce1053176e53 100644 --- a/devel/gonzui/Makefile +++ b/devel/gonzui/Makefile @@ -7,7 +7,7 @@ PORTNAME= gonzui PORTVERSION= 1.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= SF @@ -17,15 +17,24 @@ COMMENT= A source code search engine BUILD_DEPENDS= ${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb \ ${RUBY_ARCHLIBDIR}/iconv.so:${PORTSDIR}/converters/ruby-iconv RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb \ - ${RUBY_ARCHLIBDIR}/iconv.so:${PORTSDIR}/converters/ruby-iconv + ${RUBY_ARCHLIBDIR}/iconv.so:${PORTSDIR}/converters/ruby-iconv \ + ${RUBY_SITELIBDIR}/langscan.rb:${PORTSDIR}/devel/ruby-langscan USE_RUBY= yes GNU_CONFIGURE= yes +RUBY_SHEBANG_FILES= gonzui-db gonzui-import gonzui-remove \ + gonzui-search gonzui-server gonzui-update + .include <bsd.port.pre.mk> .if ${RUBY_VER} == 1.9 BROKEN= does not build with ruby 1.9 .endif +post-configure: + ${REINPLACE_CMD} -e 's| langscan | |' \ + -e 's| langscan.*\.rb||' \ + ${WRKSRC}/Makefile + .include <bsd.port.post.mk> diff --git a/devel/gonzui/pkg-plist b/devel/gonzui/pkg-plist index 1bc68f9db627..8f071c52d59c 100644 --- a/devel/gonzui/pkg-plist +++ b/devel/gonzui/pkg-plist @@ -11,13 +11,6 @@ share/gonzui/doc/folder.png share/gonzui/doc/gonzui.css share/gonzui/doc/gonzui.js share/gonzui/doc/text.png -%%RUBY_SITEARCHLIBDIR%%/langscan/c/c.so -%%RUBY_SITEARCHLIBDIR%%/langscan/java/java.so -%%RUBY_SITEARCHLIBDIR%%/langscan/javascript/javascript.so -%%RUBY_SITEARCHLIBDIR%%/langscan/pairmatcher/pairmatcher.so -%%RUBY_SITEARCHLIBDIR%%/langscan/php/php.so -%%RUBY_SITEARCHLIBDIR%%/langscan/python/python.so -%%RUBY_SITEARCHLIBDIR%%/langscan/sh/sh.so %%RUBY_SITEARCHLIBDIR%%/gonzui/autopack.so %%RUBY_SITEARCHLIBDIR%%/gonzui/delta.so %%RUBY_SITEARCHLIBDIR%%/gonzui/texttokenizer.so @@ -63,43 +56,11 @@ share/gonzui/doc/text.png %%RUBY_SITELIBDIR%%/gonzui/webapp/top.rb %%RUBY_SITELIBDIR%%/gonzui/webapp/uri.rb %%RUBY_SITELIBDIR%%/gonzui/webapp/webrick.rb -%%RUBY_SITELIBDIR%%/langscan.rb -%%RUBY_SITELIBDIR%%/langscan/_common.rb -%%RUBY_SITELIBDIR%%/langscan/_easyscanner.rb -%%RUBY_SITELIBDIR%%/langscan/_pairmatcher.rb -%%RUBY_SITELIBDIR%%/langscan/_type.rb -%%RUBY_SITELIBDIR%%/langscan/autoconf.rb -%%RUBY_SITELIBDIR%%/langscan/automake.rb -%%RUBY_SITELIBDIR%%/langscan/brainfuck.rb -%%RUBY_SITELIBDIR%%/langscan/c.rb -%%RUBY_SITELIBDIR%%/langscan/css.rb -%%RUBY_SITELIBDIR%%/langscan/elisp.rb -%%RUBY_SITELIBDIR%%/langscan/java.rb -%%RUBY_SITELIBDIR%%/langscan/javascript.rb -%%RUBY_SITELIBDIR%%/langscan/perl.rb -%%RUBY_SITELIBDIR%%/langscan/perl/tokenizer.pl -%%RUBY_SITELIBDIR%%/langscan/php.rb -%%RUBY_SITELIBDIR%%/langscan/python.rb -%%RUBY_SITELIBDIR%%/langscan/rpmspec.rb -%%RUBY_SITELIBDIR%%/langscan/ruby.rb -%%RUBY_SITELIBDIR%%/langscan/sh.rb -%%RUBY_SITELIBDIR%%/langscan/text.rb @dirrm share/gonzui/catalog @dirrm share/gonzui/doc @dirrm share/gonzui -@dirrm %%RUBY_SITEARCHLIBDIR%%/langscan/sh -@dirrm %%RUBY_SITEARCHLIBDIR%%/langscan/python -@dirrm %%RUBY_SITEARCHLIBDIR%%/langscan/php -@dirrm %%RUBY_SITEARCHLIBDIR%%/langscan/pairmatcher -@dirrm %%RUBY_SITEARCHLIBDIR%%/langscan/ocaml -@dirrm %%RUBY_SITEARCHLIBDIR%%/langscan/javascript -@dirrm %%RUBY_SITEARCHLIBDIR%%/langscan/java -@dirrm %%RUBY_SITEARCHLIBDIR%%/langscan/c -@dirrm %%RUBY_SITEARCHLIBDIR%%/langscan @dirrm %%RUBY_SITEARCHLIBDIR%%/gonzui/webapp @dirrm %%RUBY_SITEARCHLIBDIR%%/gonzui -@dirrm %%RUBY_SITELIBDIR%%/langscan/perl -@dirrm %%RUBY_SITELIBDIR%%/langscan @dirrm %%RUBY_SITELIBDIR%%/gonzui/webapp @dirrm %%RUBY_SITELIBDIR%%/gonzui/cmdapp @dirrm %%RUBY_SITELIBDIR%%/gonzui |