1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/www/udmsearch/Makefile
Muhammad Moinur Rahman 6d2e8f9aeb Change my non-FreeBSD MAINTAINER mail to bofh@
Approved by:	bapt
2014-12-24 00:14:11 +00:00

46 lines
1.1 KiB
Makefile

# Created by: Kelly Yancey <kbyanc@posi.net>
# $FreeBSD$
PORTNAME= udmsearch
PORTVERSION= 3.1.7
PORTREVISION= 2
CATEGORIES= www databases
MASTER_SITES= http://www.mnogosearch.org/Download/ \
http://udmsearch.real-time.com/Download/
MAINTAINER= bofh@FreeBSD.org
COMMENT= Full featured SQL-based hypertext search engine
LICENSE= GPLv2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-charset-guesser \
--enable-freebsd-pthreads \
--sysconfdir=${PREFIX}/etc/udmsearch \
--localstatedir=/var/udmsearch
USES= libtool
OPTIONS_DEFINE= MYSQL PGSQL DOCS
OPTIONS_DEFAULT= MYSQL
MYSQL_USE= MYSQL=YES
MYSQL_CONFIGURE_ON+= --with-mysql=${LOCALBASE}
PGSQL_USES= pgsql
PGSQL_CONFIGURE_ON+= --with-pgsql=${LOCALBASE}/pgsql
PORTDOCS= *
SUB_FILES= pkg-message
pre-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
post-install:
@${CP} -R ${WRKSRC}/create ${STAGEDIR}${DATADIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/INSTALL ${STAGEDIR}${DOCSDIR}
${CP} ${WRKSRC}/doc/*.txt ${STAGEDIR}${DOCSDIR}
${CP} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>