1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

Add openfts-0.34, a Open Source Full Text Search engine.

This commit is contained in:
Jun Kuriyama 2003-08-19 06:01:46 +00:00
parent df09ef5a58
commit c31f4d547d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87267
5 changed files with 100 additions and 0 deletions

View File

@ -160,6 +160,7 @@
SUBDIR += no-aspell
SUBDIR += ocaml-pxp
SUBDIR += ocaml-yaxpo
SUBDIR += openfts
SUBDIR += openjade
SUBDIR += opensched
SUBDIR += opensp

53
textproc/openfts/Makefile Normal file
View File

@ -0,0 +1,53 @@
# New ports collection makefile for: OpenFTS
# Date Created: 15 Aug, 2003
# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= openfts
PORTVERSION= 0.34
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= openfts
PKGNAMEPREFIX= p5-
DISTNAME= Search-OpenFTS-${PORTVERSION}
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Open Source Full Text Search engine
EXTRACT_DEPENDS=/nonexistent:${PORTSDIR}/databases/postgresql7:configure
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
PERL_CONFIGURE= yes
USE_REINPLACE= yes
MAN3= Search::OpenFTS.3 Search::OpenFTS::Base.3 \
Search::OpenFTS::Dict::PorterEng.3 Search::OpenFTS::Dict::Snowball.3 \
Search::OpenFTS::Dict::UnknownDict.3 Search::OpenFTS::Index.3 \
Search::OpenFTS::Morph::ISpell.3 Search::OpenFTS::Parser.3
PGSRC= `cd ${PORTSDIR}/databases/postgresql7; ${MAKE} -VWRKSRC`/contrib
PGMAKE= ${GMAKE} docdir=${PREFIX}/share/doc
post-extract:
cd ${WRKSRC} && ${CP} -r pgsql_contrib_openfts ${PGSRC}/
post-build:
cd ${PGSRC}/tsearch && ${GMAKE} && \
${REINPLACE_CMD} 's,$$libdir,${PREFIX}/lib/postgresql,' tsearch.sql
cd ${PGSRC}/pgsql_contrib_openfts && ${GMAKE}
post-install:
cd ${PGSRC}/tsearch && ${PGMAKE} install
cd ${PGSRC}/pgsql_contrib_openfts && ${PGMAKE} install
# Sample DB initialization.
DBNAME?= openfts
create-database:
createdb ${DBNAME}
cd ${PREFIX}/share/postgresql/contrib && \
psql ${DBNAME} < tsearch.sql && \
psql ${DBNAME} < openfts.sql
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (Search-OpenFTS-0.34.tar.gz) = a9b264ba8a3e3ffe108137bea5d74afa

View File

@ -0,0 +1,7 @@
OpenFTS (Open Source Full Text Search engine) is an advanced
PostgreSQL-based search engine that provides online indexing of data
and relevance ranking for database searching.
Close integration with database allows use of metadata to restrict
search results.
WWW: http://openfts.sourceforge.net/

View File

@ -0,0 +1,38 @@
lib/postgresql/openfts.so
lib/postgresql/tsearch.so
share/doc/postgresql/contrib/README.openfts
share/doc/postgresql/contrib/README.tsearch
share/postgresql/contrib/openfts.sql
share/postgresql/contrib/tsearch.sql
%%SITE_PERL%%/%%PERL_ARCH%%/Search/OpenFTS.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Search/OpenFTS/Base.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Search/OpenFTS/Dict/PorterEng.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Search/OpenFTS/Dict/Snowball.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Search/OpenFTS/Dict/UnknownDict.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Search/OpenFTS/Index.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Search/OpenFTS/Morph/ISpell.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Search/OpenFTS/Parser.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Search/OpenFTS/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Search/OpenFTS/Dict/PorterEng/PorterEng.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Search/OpenFTS/Dict/PorterEng/PorterEng.so
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Search/OpenFTS/Dict/PorterEng/autosplit.ix
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Search/OpenFTS/Morph/ISpell/ISpell.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Search/OpenFTS/Morph/ISpell/ISpell.so
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Search/OpenFTS/Morph/ISpell/autosplit.ix
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Search/OpenFTS/Parser/Parser.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Search/OpenFTS/Parser/Parser.so
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Search/OpenFTS/Parser/autosplit.ix
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Search/OpenFTS/Dict/PorterEng
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Search/OpenFTS/Dict
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Search/OpenFTS/Morph/ISpell
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Search/OpenFTS/Morph
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Search/OpenFTS/Parser
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Search/OpenFTS
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Search/OpenFTS/Dict
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Search/OpenFTS/Morph
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Search/OpenFTS
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Search 2>/dev/null
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Search 2>/dev/null
@dirrm share/doc/postgresql/contrib
@dirrm share/doc/postgresql
@dirrm share/postgresql/contrib