aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/tracker-client/Makefile
blob: 92dc4f0b36e59abcbf76f49e0508147f681f6a75 (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
37
38
39
40
41
42
# New ports collection makefile for:    tracker
# Date created:     2006-12-09
# Whom:         Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
#    $MCom: ports/sysutils/tracker/Makefile,v 1.2 2006/12/10 17:33:17 ahze Exp $

PORTNAME=   tracker
PORTVERSION=    0.5.3
CATEGORIES= sysutils gnome
MASTER_SITES=   http://www.gnome.org/~jamiemcc/tracker/

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Object database, tag/metadata database, search tool and indexer

LIB_DEPENDS=    dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
        poppler-glib.1:${PORTSDIR}/graphics/poppler-gtk \
        exif.12:${PORTSDIR}/graphics/libexif \
        wv-1.2.3:${PORTSDIR}/textproc/wv \
        gmime-2.0.4:${PORTSDIR}/mail/gmime2

USE_FAM=    yes
WANT_FAM_SYSTEM=    gamin
USE_GSTREAMER=  core
USE_GNOME=  gnomedesktop gnomeprefix libgsf
CONFIGURE_ARGS= --enable-gstreamer --disable-inotify --mandir=${PREFIX}/man
GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_LDCONFIG=   yes
USE_GETTEXT=    yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"

MAN1=   tracker-extract.1 tracker-files.1 tracker-meta-folder.1 \
    tracker-query.1 tracker-search.1 tracker-stats.1 trackerd.1

post-patch:
    @${REINPLACE_CMD} -e 's|libpng|libpng12|' ${WRKSRC}/configure
    @${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
        ${WRKSRC}/Makefile.in

.include <bsd.port.mk>