Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Dec 2014 14:09:28 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r374204 - in head: . databases databases/mysqlbigram
Message-ID:  <201412071409.sB7E9Sf5017602@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Sun Dec  7 14:09:27 2014
New Revision: 374204
URL: https://svnweb.freebsd.org/changeset/ports/374204
QAT: https://qat.redports.org/buildarchive/r374204/

Log:
  - 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

Added:
  head/databases/mysqlbigram/
     - copied from r227570, head/databases/mysqlbigram/
Deleted:
  head/databases/mysqlbigram/pkg-plist
Modified:
  head/MOVED
  head/databases/Makefile
  head/databases/mysqlbigram/Makefile   (contents, props changed)
  head/databases/mysqlbigram/distinfo   (contents, props changed)
  head/databases/mysqlbigram/pkg-descr   (contents, props changed)

Modified: head/MOVED
==============================================================================
--- head/MOVED	Sun Dec  7 13:54:52 2014	(r374203)
+++ head/MOVED	Sun Dec  7 14:09:27 2014	(r374204)
@@ -439,7 +439,6 @@ www/aolserver-nscache||2009-02-03|Remove
 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

Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile	Sun Dec  7 13:54:52 2014	(r374203)
+++ head/databases/Makefile	Sun Dec  7 14:09:27 2014	(r374204)
@@ -204,6 +204,7 @@
     SUBDIR += mysql56-client
     SUBDIR += mysql56-server
     SUBDIR += mysqlbackup
+    SUBDIR += mysqlbigram
     SUBDIR += mysqldumper
     SUBDIR += mysqlidxchk
     SUBDIR += mysqlreport

Modified: head/databases/mysqlbigram/Makefile
==============================================================================
--- head/databases/mysqlbigram/Makefile	Tue Feb  3 22:26:25 2009	(r227570)
+++ head/databases/mysqlbigram/Makefile	Sun Dec  7 14:09:27 2014	(r374204)
@@ -1,30 +1,26 @@
-# New ports collection makefile for:	mysqlbigram
-# Date created:		2007-07-25
-# Whom:			Gea-Suan Lin <gslin@gslin.org>
-#
+# Created by: Gea-Suan Lin <gslin@gslin.org>
 # $FreeBSD$
-#
 
 PORTNAME=	mysqlbigram
 PORTVERSION=	1.0.1
 CATEGORIES=	databases
 MASTER_SITES=	http://mysqlbigram.googlepages.com/
-DISTFILES=	bi_gram-src-${PORTVERSION}${EXTRACT_SUFX}
+DISTNAME=	bi_gram-src-${PORTVERSION}
 
 MAINTAINER=	gslin@gslin.org
-COMMENT=	Simple N-Gram (bi-gram) FULLTEXT parser plugin for MySQL 5.1+
+COMMENT=	Simple n-gram (bi-gram) fulltext parser plugin for MySQL
 
-BROKEN=		does not compile
-DEPRECATED=	has been broken for more than 6 months
-EXPIRATION_DATE=2009-01-19
+LICENSE=	LGPL21
 
-CFLAGS+=	-I"${LOCALBASE}/include" -I"${LOCALBASE}/include/mysql"
-CONFIGURE_ENV+=	CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
 GNU_CONFIGURE=	yes
-IGNORE_WITH_MYSQL=	323 40 41 50
-LDFLAGS+=	-L${LOCALBASE}/lib
 USE_MYSQL=	yes
-WANT_MYSQL_VER?=	51
 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>

Modified: head/databases/mysqlbigram/distinfo
==============================================================================
--- head/databases/mysqlbigram/distinfo	Tue Feb  3 22:26:25 2009	(r227570)
+++ head/databases/mysqlbigram/distinfo	Sun Dec  7 14:09:27 2014	(r374204)
@@ -1,3 +1,2 @@
-MD5 (bi_gram-src-1.0.1.tar.gz) = f5d52e3abb245461307147ff5421cbde
 SHA256 (bi_gram-src-1.0.1.tar.gz) = 06ebc2d61ac4809f3a3122def3600dbdcef15fb83a7277c4f8eba32e01b85ca8
 SIZE (bi_gram-src-1.0.1.tar.gz) = 308085

Modified: head/databases/mysqlbigram/pkg-descr
==============================================================================
--- head/databases/mysqlbigram/pkg-descr	Tue Feb  3 22:26:25 2009	(r227570)
+++ head/databases/mysqlbigram/pkg-descr	Sun Dec  7 14:09:27 2014	(r374204)
@@ -1,14 +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 laungage like
-Japanese or Chinese. and it also can't search charactors in middle of
-a words. (cf. searching 'in' will not match word 'ping'.)
+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').
 
-Starts from MySQL 5.1, MySQL supports a plugin that allows to change
-server components (fulltext search parser) without restarting /
+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 index no word
-delimiter laungage.
+n-gram (bi-gram) fulltext index parser which can be used for languages
+without word delimiters.
 
-WWW:	http://mysqlbigram.googlepages.com/
+WWW: http://mysqlbigram.googlepages.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412071409.sB7E9Sf5017602>