aboutsummaryrefslogtreecommitdiff
path: root/deskutils/doodle/Makefile
blob: ff5d1b65cc01df33b8b48604aa16372e055e07f8 (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
# New ports collection makefile for:	doodle
# Date created:				26 June 2005
# Whom:				Tom McLaughlin <tmclaugh@sdf.lonestar.org>
#				Jean-Yves Lefort <jylefort@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	doodle
PORTVERSION=	0.6.7
PORTREVISION=	1
CATEGORIES=	deskutils
MASTER_SITES=	http://gnunet.org/doodle/download/

MAINTAINER=	jadawin@FreeBSD.org
COMMENT=	Quickly search documents

LIB_DEPENDS=	extractor.2:${PORTSDIR}/textproc/libextractor

GNU_CONFIGURE=	yes
USE_GETTEXT=	yes
USE_FAM=	yes
USE_LDCONFIG=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"

MAN1=		doodle.1 doodled.1
MAN3=		libdoodle.3

post-patch:
	@${REINPLACE_CMD} -e \
		's|,\$$PTHREAD_CPPFLAGS,|,${PTHREAD_CFLAGS},|; \
		 s|,\$$PTHREAD_LIBS,|,${PTHREAD_LIBS},|; \
		 s|,\$$PTHREAD_LDFLAGS,|,,|;' ${WRKSRC}/configure

.include <bsd.port.mk>