2004-12-30 19:41:48 +01:00
|
|
|
# New ports collection makefile for: gonzui
|
|
|
|
# Date created: Wed Dec 1 16:35:00 GMT 2004
|
|
|
|
# Whom: sumikawa
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gonzui
|
2005-10-05 04:34:48 +02:00
|
|
|
PORTVERSION= 1.2
|
2011-08-18 09:03:22 +02:00
|
|
|
PORTREVISION= 2
|
2004-12-30 19:41:48 +01:00
|
|
|
CATEGORIES= devel
|
2009-08-22 02:18:43 +02:00
|
|
|
MASTER_SITES= SF
|
2004-12-30 19:41:48 +01:00
|
|
|
|
|
|
|
MAINTAINER= sumikawa@FreeBSD.org
|
2005-01-08 22:03:18 +01:00
|
|
|
COMMENT= A source code search engine
|
2004-12-30 19:41:48 +01:00
|
|
|
|
2005-01-08 22:03:18 +01:00
|
|
|
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 \
|
2011-08-18 09:03:22 +02:00
|
|
|
${RUBY_ARCHLIBDIR}/iconv.so:${PORTSDIR}/converters/ruby-iconv \
|
|
|
|
${RUBY_SITELIBDIR}/langscan.rb:${PORTSDIR}/devel/ruby-langscan
|
2005-01-02 02:57:40 +01:00
|
|
|
|
2004-12-30 19:41:48 +01:00
|
|
|
USE_RUBY= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2011-08-18 09:03:22 +02:00
|
|
|
RUBY_SHEBANG_FILES= gonzui-db gonzui-import gonzui-remove \
|
|
|
|
gonzui-search gonzui-server gonzui-update
|
|
|
|
|
2011-07-26 22:46:35 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${RUBY_VER} == 1.9
|
|
|
|
BROKEN= does not build with ruby 1.9
|
|
|
|
.endif
|
|
|
|
|
2011-08-18 09:03:22 +02:00
|
|
|
post-configure:
|
|
|
|
${REINPLACE_CMD} -e 's| langscan | |' \
|
|
|
|
-e 's| langscan.*\.rb||' \
|
|
|
|
${WRKSRC}/Makefile
|
|
|
|
|
2011-07-26 22:46:35 +02:00
|
|
|
.include <bsd.port.post.mk>
|