head	1.29;
access;
symbols
	RELEASE_4_3_0:1.18;
locks; strict;
comment	@# @;


1.29
date	2001.08.11.18.30.28;	author ache;	state dead;
branches;
next	1.28;

1.28
date	2001.08.11.17.17.22;	author ache;	state Exp;
branches;
next	1.27;

1.27
date	2001.07.02.15.22.45;	author ache;	state Exp;
branches;
next	1.26;

1.26
date	2001.06.13.15.56.55;	author ache;	state Exp;
branches;
next	1.25;

1.25
date	2001.06.09.20.17.10;	author ache;	state Exp;
branches;
next	1.24;

1.24
date	2001.06.08.00.32.17;	author ache;	state Exp;
branches;
next	1.23;

1.23
date	2001.06.01.07.43.37;	author ache;	state Exp;
branches;
next	1.22;

1.22
date	2001.06.01.06.05.16;	author obrien;	state Exp;
branches;
next	1.21;

1.21
date	2001.05.18.12.44.53;	author ache;	state Exp;
branches;
next	1.20;

1.20
date	2001.04.23.09.55.00;	author ache;	state Exp;
branches;
next	1.19;

1.19
date	2001.04.20.08.48.22;	author ache;	state Exp;
branches;
next	1.18;

1.18
date	2001.04.15.08.40.18;	author ache;	state Exp;
branches;
next	1.17;

1.17
date	2001.04.15.08.08.17;	author ache;	state Exp;
branches;
next	1.16;

1.16
date	2001.03.13.15.49.30;	author ache;	state Exp;
branches;
next	1.15;

1.15
date	2001.03.11.02.29.53;	author kris;	state Exp;
branches;
next	1.14;

1.14
date	2001.03.02.20.05.58;	author ache;	state Exp;
branches;
next	1.13;

1.13
date	2001.02.28.21.10.35;	author ache;	state Exp;
branches;
next	1.12;

1.12
date	2001.02.20.17.55.23;	author ache;	state Exp;
branches;
next	1.11;

1.11
date	2001.02.13.22.34.38;	author ache;	state Exp;
branches;
next	1.10;

1.10
date	2001.02.05.15.33.30;	author olgeni;	state Exp;
branches;
next	1.9;

1.9
date	2001.02.01.15.23.08;	author ache;	state Exp;
branches;
next	1.8;

1.8
date	2001.01.31.15.58.02;	author ache;	state Exp;
branches;
next	1.7;

1.7
date	2001.01.31.12.53.20;	author ache;	state Exp;
branches;
next	1.6;

1.6
date	2001.01.30.21.40.46;	author ache;	state Exp;
branches;
next	1.5;

1.5
date	2001.01.30.12.10.49;	author ache;	state Exp;
branches;
next	1.4;

1.4
date	2001.01.29.23.31.17;	author ache;	state Exp;
branches;
next	1.3;

1.3
date	2001.01.29.23.28.50;	author ache;	state Exp;
branches;
next	1.2;

1.2
date	2001.01.29.15.22.24;	author ache;	state Exp;
branches;
next	1.1;

1.1
date	2001.01.29.10.45.06;	author ache;	state Exp;
branches;
next	;


desc
@@


1.29
log
@Moved to www/mnogosearch
@
text
@# New ports collection makefile for:    mnoGoSearch-current
# Date created:         27.01.2001
# Whom:                 ache
#
# $FreeBSD: ports/www/mnoGoSearch-current/Makefile,v 1.28 2001/08/11 17:17:22 ache Exp $
#

PORTNAME=	mnogosearch
PORTVERSION=    3.1.17
CATEGORIES=	www databases
MASTER_SITES=	http://search.mnogo.ru/Download/

MAINTAINER=	ache@@FreeBSD.org

MAN1=		indexer.1
MAN5=		indexer.conf.5

INSTALLS_SHLIB= yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS= --enable-phrase \
		--enable-shared \
		--enable-freebsd-pthreads \
		--sysconfdir=${PREFIX}/etc/mnogosearch \
		--localstatedir=/var/mnogosearch

.ifndef NO_OPENSSL
USE_OPENSSL=    yes
.endif

.ifdef USE_OPENSSL
CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE}
.endif

# To enable Cyrillic charset guesser, define this
# Guesser mode ignores charsets comes from HTTP header or <META> tag
.if defined(WITH_MNOGO_GUESSER)
CONFIGURE_ARGS+= --enable-charset-guesser
.endif

.if defined(WITH_MNOGO_PGSQL)
LIB_DEPENDS=		pq.2:${PORTSDIR}/databases/postgresql7
CONFIGURE_ARGS+=	--with-pgsql=${LOCALBASE}/pgsql

.elif defined(WITH_MNOGO_MSQL)
LIB_DEPENDS=            msql.1:${PORTSDIR}/databases/msql
CONFIGURE_ARGS+=	--with-msql=${LOCALBASE}

.elif defined(WITH_MNOGO_MYSQL)
LIB_DEPENDS=		mysqlclient.10:${PORTSDIR}/databases/mysql323-client
CONFIGURE_ARGS+=	--with-mysql=${LOCALBASE}

.else
CONFIGURE_ARGS+=        --with-built-in

pre-fetch:
	@@${ECHO}
	@@${ECHO} "Defaulting to mnoGoSearch with built-in database."
	@@${ECHO}
	@@${ECHO} "You may alternately build mnoGoSearch with either msql, mysql or"
	@@${ECHO} "postgresql support by invoking make with WITH_MNOGO_MSQL=yes,"
	@@${ECHO} "WITH_MNOGO_MYSQL=yes or WITH_MNOGO_PGSQL=yes respectively."
	@@${ECHO}
.endif

pre-install:
	@@${MKDIR} ${PREFIX}/share/mnogosearch

post-install:
	cd ${WRKSRC} && ${TAR} --create --file - --exclude CVS create | (cd ${PREFIX}/share/mnogosearch && ${TAR} xf -)
	${CHMOD} 700 /var/mnogosearch/cache
	${CHOWN} -R nobody:nogroup /var/mnogosearch/
	${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/mnogosearch
	${INSTALL_DATA} ${FILESDIR}/spelld.sh-dist ${PREFIX}/etc/rc.d/
	@@${ECHO}
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.28
log
@Remove NO_LATEST_LINK, this is stable version now
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mnoGoSearch-current/Makefile,v 1.27 2001/07/02 15:22:45 ache Exp $
@


1.27
log
@Upgrade to 3.1.17
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mnoGoSearch-current/Makefile,v 1.26 2001/06/13 15:56:55 ache Exp $
a16 2

NO_LATEST_LINK=	yes
@


1.26
log
@Upgrade to 3.1.16
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mnoGoSearch-current/Makefile,v 1.25 2001/06/09 20:17:10 ache Exp $
d9 1
a9 1
PORTVERSION=    3.1.16
@


1.25
log
@Sense openssl properly
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mnoGoSearch-current/Makefile,v 1.24 2001/06/08 00:32:17 ache Exp $
d9 1
a9 1
PORTVERSION=    3.1.15
@


1.24
log
@Upgrade to 3.1.15
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mnoGoSearch-current/Makefile,v 1.23 2001/06/01 07:43:37 ache Exp $
a25 1
		--with-openssl \
d28 8
@


1.23
log
@Upgrade to 3.1.14
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mnoGoSearch-current/Makefile,v 1.22 2001/06/01 06:05:16 obrien Exp $
d9 1
a9 1
PORTVERSION=    3.1.14
@


1.22
log
@Use proper POSIX syntax for `chown'.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mnoGoSearch-current/Makefile,v 1.21 2001/05/18 12:44:53 ache Exp $
d9 1
a9 1
PORTVERSION=    3.1.13
@


1.21
log
@Upgrade to 3.1.13
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mnoGoSearch-current/Makefile,v 1.20 2001/04/23 09:55:00 ache Exp $
d67 1
a67 1
	${CHOWN} -R nobody.nogroup /var/mnogosearch/
@


1.20
log
@rand-related fixes
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mnoGoSearch-current/Makefile,v 1.19 2001/04/20 08:48:22 ache Exp $
d9 1
a9 2
PORTVERSION=    3.1.12
PORTREVISION=   3
d26 1
@


1.19
log
@Fix remote buffer overflow in search.cgi arguments
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mnoGoSearch-current/Makefile,v 1.18 2001/04/15 08:40:18 ache Exp $
d10 1
a10 1
PORTREVISION=   2
@


1.18
log
@Install sample spelld.sh script
@
text
@d5 1
a5 1
# $FreeBSD$
d10 1
a10 1
PORTREVISION=   1
@


1.17
log
@chown nobody.nogroup whole /var/mnogosearch (not require additional privs for
spelld)
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mnoGoSearch-current/Makefile,v 1.16 2001/03/13 15:49:30 ache Exp $
d10 1
d69 1
@


1.16
log
@Upgrade to 3.1.12
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mnoGoSearch-current/Makefile,v 1.15 2001/03/11 02:29:53 kris Exp $
d66 1
a66 1
	${CHOWN} nobody.nogroup /var/mnogosearch/cache
@


1.15
log
@Use tar instead of cp -R and exclude CVS directories from being installed,
thereby breaking the plist.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mnoGoSearch-current/Makefile,v 1.14 2001/03/02 20:05:58 ache Exp $
d9 1
a9 2
PORTVERSION=    3.1.11
PORTREVISION=   2
a58 3

post-patch:
	cp ${FILESDIR}/cross*.txt ${WRKSRC}/create/msql
@


1.14
log
@Add offical patch for stopwords in substr mode
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mnoGoSearch-current/Makefile,v 1.13 2001/02/28 21:10:35 ache Exp $
d68 1
a68 1
	${CP} -R ${WRKSRC}/create ${PREFIX}/share/mnogosearch
@


1.13
log
@Official fix for substr search in "multi" mode
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mnoGoSearch-current/Makefile,v 1.12 2001/02/20 17:55:23 ache Exp $
d10 1
a10 1
PORTREVISION=   1
@


1.12
log
@Upgrade to 3.1.11
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mnoGoSearch-current/Makefile,v 1.11 2001/02/13 22:34:38 ache Exp $
d10 1
@


1.11
log
@Upgrade to 3.1.10
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mnoGoSearch-current/Makefile,v 1.10 2001/02/05 15:33:30 olgeni Exp $
d9 1
a9 1
PORTVERSION=    3.1.10
d23 2
a24 1
CONFIGURE_ARGS= --enable-shared \
d48 2
d59 3
@


1.10
log
@Some spaces -> tabs for ports/www.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mnoGoSearch-current/Makefile,v 1.9 2001/02/01 15:23:08 ache Exp $
d9 1
a9 2
PORTVERSION=	3.1.9
PORTREVISION=	3
a55 5

# Add missing msql DB initialization files
post-patch:
	${CP} ${FILESDIR}/msql_ispell.txt ${WRKSRC}/create/msql/ispell.txt
	${CP} ${FILESDIR}/msql_track.txt ${WRKSRC}/create/msql/track.txt
@


1.9
log
@Fix error in suffixes area when importing affixes to DB
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mnoGoSearch-current/Makefile,v 1.8 2001/01/31 15:58:02 ache Exp $
d8 3
a10 3
PORTNAME=       mnogosearch
PORTVERSION=    3.1.9
PORTREVISION=   3
d12 1
a12 1
MASTER_SITES=   http://search.mnogo.ru/Download/
d14 1
a14 1
MAINTAINER=     ache@@FreeBSD.org
@


1.8
log
@Enable threads
@
text
@d5 1
a5 1
# $FreeBSD$
d10 1
a10 1
PORTREVISION=   2
@


1.7
log
@Bump PORTREVISION due to prev. changes
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mnoGoSearch-current/Makefile,v 1.6 2001/01/30 21:40:46 ache Exp $
d10 1
a10 1
PORTREVISION=	1
d25 1
@


1.6
log
@Add missing msql DB initialization files
Fix msql syntax error
@
text
@d5 1
a5 1
# $FreeBSD$
d10 1
@


1.5
log
@Fix some portlint warnings
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mnoGoSearch-current/Makefile,v 1.4 2001/01/29 23:31:17 ache Exp $
d55 5
@


1.4
log
@Add some comment about charset guesser mode
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mnoGoSearch-current/Makefile,v 1.3 2001/01/29 23:28:50 ache Exp $
d60 3
a62 3
	cp -R ${WRKSRC}/create ${PREFIX}/share/mnogosearch
	/bin/chmod 700 /var/mnogosearch/cache
	/usr/sbin/chown nobody.nogroup /var/mnogosearch/cache
@


1.3
log
@Defaulting not to mysql but to mnoGoSearch built-in database
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mnoGoSearch-current/Makefile,v 1.2 2001/01/29 15:22:24 ache Exp $
d27 2
a41 2
# default to mysql

@


1.2
log
@Since there is no ability to turn off charset guesser when compiled in, add it
only when specially requested via env. variable
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mnoGoSearch-current/Makefile,v 1.1 2001/01/29 10:45:06 ache Exp $
d39 1
a39 1
.else
d45 1
a45 1
.if !defined(WITH_MNOGO_MYSQL)
d48 1
a48 1
	@@${ECHO} "Defaulting to mnoGoSearch with mysql support."
d50 3
a52 3
	@@${ECHO} "You may alternately build mnoGoSearch with either msql or"
	@@${ECHO} "postgresql support by invoking make with WITH_MNOGO_MSQL=yes or"
	@@${ECHO} "WITH_MNOGO_PGSQL=yes respectively."
a53 2
.endif

@


1.1
log
@Re-import under different name to minimize confusion and left "mnoGoSearch"
name for udmsearch.
@
text
@d5 1
a5 1
# $FreeBSD$
a23 1
		--enable-charset-guesser \
d26 4
@

