pkgsrc/textproc/groonga/Makefile
obache c38c120ee5 recursive bump from libffi shlib major bump
(additionaly, reset PKGREVISION of qt4-* sub packages from base qt4 update)
2012-09-15 10:03:29 +00:00

57 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.21 2012/09/15 10:06:36 obache Exp $
#
DISTNAME= groonga-2.0.3
PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://packages.groonga.org/source/groonga/
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://groonga.org/
COMMENT= Fulltext search engine and column store
LICENSE= gnu-lgpl-v2.1
PKG_DESTDIR_SUPPORT= user-destdir
RUBY_VERSION_SUPPORTED= 192 193
.include "../../lang/ruby/rubyversion.mk"
DEPENDS+= ${RUBY_BASE}>=${RUBY_VERSION}:../../lang/${RUBY_BASE}
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
# for long file name
EXTRACT_USING= bsdtar
.include "options.mk"
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR}
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
CONFIGURE_ARGS+= --with-ruby19=${RUBY}
PKGCONFIG_OVERRIDE+= groonga.pc.in
PKG_SYSCONFSUBDIR= ${PKGBASE}
BUILD_DEFS+= VARBASE
INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples
CONF_FILES+= share/examples/${PKGBASE}/groonga.conf \
${PKG_SYSCONFDIR}/groonga.conf
OWN_DIRS+= ${VARBASE}/log/${PKGBASE}
CHECK_WRKREF_SKIP+= bin/groonga
CHECK_INTERPRETER_SKIP+= share/groonga/examples/*
REPLACE_RUBY+= data/munin/groonga_cpu_time
REPLACE_RUBY+= data/munin/groonga_disk
REPLACE_RUBY+= data/munin/groonga_n_records
REPLACE_RUBY+= data/munin/groonga_query_performance
REPLACE_RUBY+= data/munin/groonga_status
.include "../../lang/ruby/replace.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"