blob: 7496e316f006555c9d4231d170de5f0646528d6e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# 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>
|