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

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

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

USE_REINPLACE=  yes
USE_LIBTOOL_VER=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>