2017-09-19 18:49:12 +02:00
|
|
|
# Created by: Muhammad Moinur Rahman <bofh@FreeBSD.org>
|
|
|
|
|
|
|
|
PORTNAME= mroonga
|
2021-11-13 07:22:25 +01:00
|
|
|
PORTVERSION= 11.09
|
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
|
2021-10-08 14:45:19 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2017-09-19 18:49:12 +02:00
|
|
|
|
2019-11-03 10:15:11 +01:00
|
|
|
IGNORE_WITH_MYSQL= 101m 102m 103m 57p 57w
|
|
|
|
|
2019-08-03 12:29:57 +02:00
|
|
|
BUILD_DEPENDS= ${NONEXISTENT}:${_MYSQL_SERVER}:configure
|
2017-09-19 18:49:12 +02:00
|
|
|
LIB_DEPENDS= libgroonga.so:textproc/groonga
|
|
|
|
|
2021-04-07 05:29:49 +02:00
|
|
|
USES= compiler:c11 libtool mysql pkgconfig shebangfix
|
|
|
|
|
|
|
|
SHEBANG_FILES= data/rpm/post.sh \
|
2021-10-08 14:45:19 +02:00
|
|
|
data/rpm/preun.sh
|
2017-09-19 18:49:12 +02:00
|
|
|
|
|
|
|
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)" \
|
2019-10-07 23:47:44 +02:00
|
|
|
--with-mysql-config=${PREFIX}/bin/mysql_config
|
2017-09-19 18:49:12 +02:00
|
|
|
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
2021-10-08 14:45:19 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2017-09-19 18:49:12 +02:00
|
|
|
|
2019-03-06 09:21:23 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -i .c++20 's,srcdir)/version[[:>:]],&.txt,' \
|
|
|
|
${WRKSRC}/Makefile.in
|
2021-06-04 11:12:10 +02:00
|
|
|
@${REINPLACE_CMD} -e '/deb/d' \
|
|
|
|
-e '/rpm/d' \
|
|
|
|
${WRKSRC}/data/Makefile.in
|
2019-03-06 09:21:23 +01:00
|
|
|
|
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>
|