summaryrefslogtreecommitdiffstats
path: root/deskutils/recoll/Makefile
blob: 6b821fffa60b2f0236e31a9a6ce3d1fe9df2948f (plain)
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
# 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.8.2
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.1[3-5]:${PORTSDIR}/databases/xapian-core \
		qt-mt.3:${PORTSDIR}/x11-toolkits/qt33

USE_QT_VER=	3
CONFIGURE_ENV=	QMAKESPEC="freebsd-g++"
MAKE_ENV=	${CONFIGURE_ENV}
GNU_CONFIGURE=	yes
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE=	yes
USE_ICONV=	yes
USE_XLIB=	yes
INSTALLS_ICONS=	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.pre.mk>

.if ${OSVERSION} < 500000
BROKEN=	doesn't build
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud