1999-10-21 21:36:34 +02:00
|
|
|
# New ports collection makefile for: udmsearch
|
1999-12-23 17:05:50 +01:00
|
|
|
# Date created: 11/29/1999
|
1999-10-21 21:36:34 +02:00
|
|
|
# Whom: Kelly Yancey <kbyanc@posi.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-10 02:07:29 +02:00
|
|
|
PORTNAME= udmsearch
|
2006-08-01 15:03:23 +02:00
|
|
|
PORTVERSION= 3.1.5
|
2000-02-23 15:00:16 +01:00
|
|
|
CATEGORIES= www databases
|
2005-10-03 09:04:40 +02:00
|
|
|
MASTER_SITES= http://search.mnogo.ru/Download/ \
|
|
|
|
http://udmsearch.real-time.com/Download/
|
1999-10-21 21:36:34 +02:00
|
|
|
|
2003-04-29 17:31:22 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Full featured SQL-based hypertext search engine
|
1999-10-21 21:36:34 +02:00
|
|
|
|
2006-08-01 15:03:23 +02:00
|
|
|
OPTIONS= MSQL "MSQL support" off \
|
|
|
|
MYSQL "MYSQL support" on \
|
|
|
|
PGSQL "PGSQL support" off
|
1999-10-21 21:36:34 +02:00
|
|
|
|
2000-02-23 15:00:16 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2000-07-13 13:56:31 +02:00
|
|
|
CONFIGURE_ARGS= --enable-charset-guesser \
|
2000-08-23 16:04:15 +02:00
|
|
|
--enable-freebsd-pthreads \
|
2000-07-13 13:56:31 +02:00
|
|
|
--sysconfdir=${PREFIX}/etc/udmsearch \
|
2000-07-27 18:03:24 +02:00
|
|
|
--localstatedir=/var/udmsearch
|
1999-10-21 21:36:34 +02:00
|
|
|
|
2006-08-01 15:03:23 +02:00
|
|
|
MAN1= indexer.1
|
|
|
|
MAN5= indexer.conf.5
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
1999-11-14 03:18:01 +01:00
|
|
|
|
2006-08-01 15:03:23 +02:00
|
|
|
.if defined(WITH_MSQL)
|
1999-11-14 03:18:01 +01:00
|
|
|
BUILD_DEPENDS= ${PREFIX}/lib/libmsql.a:${PORTSDIR}/databases/msql
|
2000-10-13 22:23:05 +02:00
|
|
|
CONFIGURE_ARGS+= --with-msql=${LOCALBASE}
|
2006-08-01 15:03:23 +02:00
|
|
|
.endif
|
1999-11-14 03:18:01 +01:00
|
|
|
|
2006-08-01 15:03:23 +02:00
|
|
|
.if !defined(WITHOUT_MYSQL)
|
2003-08-28 14:57:52 +02:00
|
|
|
USE_MYSQL= YES
|
2000-10-13 22:23:05 +02:00
|
|
|
CONFIGURE_ARGS+= --with-mysql=${LOCALBASE}
|
1999-11-14 03:18:01 +01:00
|
|
|
.endif
|
|
|
|
|
2006-08-01 15:03:23 +02:00
|
|
|
.if defined(WITH_PGSQL)
|
|
|
|
USE_PGSQL= YES
|
|
|
|
CONFIGURE_ARGS+= --with-pgsql=${LOCALBASE}/pgsql
|
1999-11-14 03:18:01 +01:00
|
|
|
.endif
|
1999-10-21 21:36:34 +02:00
|
|
|
|
|
|
|
pre-install:
|
2006-08-01 15:03:23 +02:00
|
|
|
@${MKDIR} ${DATADIR}
|
1999-10-21 21:36:34 +02:00
|
|
|
|
|
|
|
post-install:
|
2006-08-01 15:03:23 +02:00
|
|
|
@${CP} -R ${WRKSRC}/create ${DATADIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR}
|
2003-09-27 03:01:08 +02:00
|
|
|
@${ECHO_MSG}
|
1999-10-21 21:36:34 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2006-08-01 15:03:23 +02:00
|
|
|
.include <bsd.port.post.mk>
|