blob: 832a1ebc99c7b5e4095883f8137dbb8954257c6a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Created by: Muhammad Moinur Rahman <bofh@FreeBSD.org>
# $FreeBSD$
PORTNAME= pgroonga
PORTVERSION= 2.2.6
CATEGORIES= databases textproc
MASTER_SITES= http://packages.groonga.org/source/pgroonga/
MAINTAINER= bofh@FreeBSD.org
COMMENT= Open-source fulltext search engine for PostGRESQL
LICENSE= PostgreSQL
LIB_DEPENDS= libgroonga.so:textproc/groonga
USES= gmake pgsql:9.6+ pkgconfig
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/groonga
LLD_UNSAFE= yes
SUB_FILES= pkg-message
OPTIONS_DEFINE= MECAB
MECAB_DESC= Use MeCab as a tokenizer
MECAB_BUILD_DEPENDS= mecab-ipadics>=0.996:japanese/mecab-ipadic
.include <bsd.port.pre.mk>
# With PG11+ some scripts are only installed when they are common to
# all PG versions.
.if ${PGSQL_VER:R} < 11
PLIST_SUB+= OLDPG="@comment "
.else
PLIST_SUB+= OLDPG=""
.endif
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/pgroonga.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/pgroonga_check.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/pgroonga_database.so
.include <bsd.port.post.mk>
|