2017-09-19 18:49:12 +02:00
|
|
|
# Created by: Muhammad Moinur Rahman <bofh@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mroonga
|
2019-03-30 18:49:04 +01:00
|
|
|
PORTVERSION= 9.01
|
2017-09-19 18:49:12 +02:00
|
|
|
CATEGORIES= databases textproc
|
|
|
|
MASTER_SITES= http://packages.groonga.org/source/mroonga/
|
|
|
|
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
|
|
COMMENT= Open-source fulltext search engine for MySQL
|
|
|
|
|
|
|
|
LICENSE= LGPL21
|
|
|
|
|
2017-09-20 00:13:38 +02:00
|
|
|
BUILD_DEPENDS= ${NONEXISTENT}:${_MYSQL_SERVER}:patch
|
2017-09-19 18:49:12 +02:00
|
|
|
LIB_DEPENDS= libgroonga.so:textproc/groonga
|
|
|
|
|
|
|
|
USES= libtool mysql pkgconfig
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-mysql-source="$$(cd ${PORTSDIR}/${_MYSQL_SERVER}; ${MAKE} -V WRKSRC)" \
|
|
|
|
--with-mysql-build="$$(cd ${PORTSDIR}/${_MYSQL_SERVER}; ${MAKE} -V BUILD_WRKSRC)" \
|
|
|
|
--with-mysql-config=${PREFIX}/bin/mysql_config
|
|
|
|
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2019-03-06 09:21:23 +01:00
|
|
|
post-patch:
|
|
|
|
# Avoid conflict with C++20 <version> by adding .txt suffix
|
|
|
|
@${MV} ${WRKSRC}/version ${WRKSRC}/version.txt
|
|
|
|
@${REINPLACE_CMD} -i .c++20 's,srcdir)/version[[:>:]],&.txt,' \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
|
2018-04-23 01:04:45 +02:00
|
|
|
post-install:
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mysql/plugin/ha_mroonga.so.0.0.0
|
|
|
|
|
2017-09-19 18:49:12 +02:00
|
|
|
.include <bsd.port.mk>
|