aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/doodle/Makefile
blob: 53a33d08ee766d6a875dc5c0c584042d0d3e9da6 (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.3
PORTREVISION=   3
CATEGORIES= deskutils
MASTER_SITES=   http://gnunet.org/doodle/download/

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

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

GNU_CONFIGURE=  yes
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>