1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/www/udmsearch/Makefile
Martin Wilke f75221e4d1 - Update to 3.1.7
- Pass maintainership to submitter

PR:		165656
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com>
2012-03-04 06:31:07 +00:00

57 lines
1.2 KiB
Makefile

# New ports collection makefile for: udmsearch
# Date created: 11/29/1999
# Whom: Kelly Yancey <kbyanc@posi.net>
#
# $FreeBSD$
#
PORTNAME= udmsearch
PORTVERSION= 3.1.7
CATEGORIES= www databases
MASTER_SITES= http://www.mnogosearch.org/Download/ \
http://udmsearch.real-time.com/Download/
MAINTAINER= 5u623l20@gmail.com
COMMENT= Full featured SQL-based hypertext search engine
OPTIONS= MSQL "MSQL support" off \
MYSQL "MYSQL support" on \
PGSQL "PGSQL support" off
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-charset-guesser \
--enable-freebsd-pthreads \
--sysconfdir=${PREFIX}/etc/udmsearch \
--localstatedir=/var/udmsearch
MAN1= indexer.1
MAN5= indexer.conf.5
.include <bsd.port.pre.mk>
.if defined(WITH_MSQL)
BUILD_DEPENDS= ${PREFIX}/lib/libmsql.a:${PORTSDIR}/databases/msql
CONFIGURE_ARGS+= --with-msql=${LOCALBASE}
.endif
.if !defined(WITHOUT_MYSQL)
USE_MYSQL= YES
CONFIGURE_ARGS+= --with-mysql=${LOCALBASE}
.endif
.if defined(WITH_PGSQL)
USE_PGSQL= YES
CONFIGURE_ARGS+= --with-pgsql=${LOCALBASE}/pgsql
.endif
pre-install:
@${MKDIR} ${DATADIR}
post-install:
@${CP} -R ${WRKSRC}/create ${DATADIR}
@${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR}
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>