aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/recoll/Makefile
blob: d1ceadff31029e928c7009944738a0183d3cf18a (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
# New ports collection makefile for:   recoll
# Date created:        5 December 2005
# Whom:                J.F. Dockes <jean-francois.dockes@wanadoo.fr>
#
# $FreeBSD$
#

PORTNAME=   recoll
PORTVERSION=    1.4.3
PORTREVISION=   1
CATEGORIES= deskutils
MASTER_SITES=   http://www.lesbonscomptes.com/recoll/

MAINTAINER= jean-francois.dockes@wanadoo.fr
COMMENT=    A personal full text search package, based on QT and Xapian

BUILD_DEPENDS=  qmake:${PORTSDIR}/devel/qmake
LIB_DEPENDS=    xapian.12:${PORTSDIR}/databases/xapian-core \
        qt-mt.3:${PORTSDIR}/x11-toolkits/qt33

USE_QT_VER= 3
CONFIGURE_ENV=  QTDIR="${QT_PREFIX}" QMAKESPEC="freebsd-g++"
MAKE_ENV=   ${CONFIGURE_ENV}
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE=  yes
USE_ICONV=  yes

MAN1=       recoll.1 recollindex.1
MAN5=       recoll.conf.5

post-patch:
    ${REINPLACE_CMD} -e 's/^CXXFLAGS =/CXXFLAGS ?=/' \
        ${WRKSRC}/mk/localdefs.in

.include <bsd.port.mk>