aboutsummaryrefslogtreecommitdiff
path: root/deskutils/doodle/Makefile
blob: 593a4fa42cece775ec32183e1ff694dc72217e0c (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:	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.3
PORTREVISION=	2
CATEGORIES=	deskutils
MASTER_SITES=	http://gnunet.org/doodle/download/

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

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

USE_REINPLACE=	yes
USE_AUTOTOOLS=	libtool:15
USE_GETTEXT=	yes
USE_FAM=	yes
INSTALLS_SHLIB=	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>