- Resurrect, unbreak, cleanup Makefile, define LICENSE (LGPL21)

- Convert three-line pkg-plist into PLIST_FILES knob
- Improve grammar in port description text, fix couple of typos
This commit is contained in:
Alexey Dokuchaev 2014-12-07 14:09:27 +00:00
parent 5bd1a593e2
commit 0a7d2c3aae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=374204
5 changed files with 43 additions and 1 deletions

1
MOVED
View File

@ -439,7 +439,6 @@ www/aolserver-nscache||2009-02-03|Removed
games/emacs-chess||2009-02-03|Has expired: has been broken for more than 6 months
devel/subversion-devel||2009-02-03|Has expired: Use devel/subversion or devel/subversion-freebsd instead of this port
devel/hs-hpl||2009-02-03|Has expired: has been broken for more than 6 months
databases/mysqlbigram||2009-02-03|Has expired: has been broken for more than 6 months
mail/claws-mail-clamav||2009-02-03|Has expired: has been broken for more than 6 months
mail/sylpheed2-devel||2009-02-03|Has expired: has been broken for more than 6 months
www/pecl-mnogosearch||2009-02-03|Has expired: has been broken for more than 6 months

View File

@ -204,6 +204,7 @@
SUBDIR += mysql56-client
SUBDIR += mysql56-server
SUBDIR += mysqlbackup
SUBDIR += mysqlbigram
SUBDIR += mysqldumper
SUBDIR += mysqlidxchk
SUBDIR += mysqlreport

View File

@ -0,0 +1,26 @@
# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$
PORTNAME= mysqlbigram
PORTVERSION= 1.0.1
CATEGORIES= databases
MASTER_SITES= http://mysqlbigram.googlepages.com/
DISTNAME= bi_gram-src-${PORTVERSION}
MAINTAINER= gslin@gslin.org
COMMENT= Simple n-gram (bi-gram) fulltext parser plugin for MySQL
LICENSE= LGPL21
GNU_CONFIGURE= yes
USE_MYSQL= yes
WRKSRC= ${WRKDIR}/bi_gram
PLIST_FILES= lib/mysql/bi_gramlib.la \
lib/mysql/bi_gramlib.so \
lib/mysql/bi_gramlib.so.0
post-patch:
@${REINPLACE_CMD} -e 's,bool ,my_&,' ${WRKSRC}/bi_gram_plugin.c
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (bi_gram-src-1.0.1.tar.gz) = 06ebc2d61ac4809f3a3122def3600dbdcef15fb83a7277c4f8eba32e01b85ca8
SIZE (bi_gram-src-1.0.1.tar.gz) = 308085

View File

@ -0,0 +1,14 @@
MySQL has fulltext index search ability for text field, but it is word
based index: it cannot be used for no word delimiter language like
Japanese or Chinese. It also can't search characters in the middle of
a word (e.g. searching 'in' will not match word 'ping').
Starting from MySQL 5.1, MySQL supports a plugin that allows to change
server components (fulltext search parser) without restarting and/or
recompiling the server.
This n-gram parser uses this plugin interface to implement a simple
n-gram (bi-gram) fulltext index parser which can be used for languages
without word delimiters.
WWW: http://mysqlbigram.googlepages.com/