freebsd-ports/sysutils/tracker-client/Makefile
Jeremy Messenger 903b45dfc5 First all, ahze did most of work. Thanks ahze! Last week or so, I am just
merely pick up and help him. Thanks to many testers in both private and
mailing list emails for report a few of build and dependencies problems.
Also, thanks to marcus and Chess Griffin for test in their tinderboxes.

x11/pixman: Update to 0.10.0
-------------------------------------------------------
Firefox 3 needs it. Orignal, the shared library was bumped and ahze has
added a new feature in our USE_GNOME=ltverhack by can control the number
of shared library. To control the number of shared library, add the
ltverhack:N. Right now pixman has USE_GNOME=ltverhack:9 to make it stays
same at libpixman-1.so.9. If anyone want to use ltverhack:N in one of your
port, you need to make sure the ABI doesn't change to use it..
-------------------------------------------------------

graphics/cairo: Update to 1.6.4
-------------------------------------------------------
Firefox 3 needs it. We have updated most cairo binding ports too.
-------------------------------------------------------

graphics/poppler: Update to 0.8.3
-------------------------------------------------------
The shared libraries version have been changed. All ports that depend on
poppler have PORTREVISION bump. The graphics/py-poppler has been updated
to 0.8.1 to work with newer poppler better. As for the poppler-qt, there
is no shared library version change.
-------------------------------------------------------

www/firefox3 and gecko ports related: Update to 3.0 final
-------------------------------------------------------
The bsd.gecko.mk has been moved from www/mozilla/ to Mk/. You no longer
need to include bsd.gecko.mk/Makefile.common by manual. We are keeping it
in backward compatibility, so the rest ports won't be break. We haven't
add some other ports to have Firefox 3 support yet, so feel free to send
us patch or commit it by yourself (to committers). However, view in
bsd.gecko.mk for document.
-------------------------------------------------------

Approved by:	portmgr (marcus)
2008-06-30 20:16:22 +00:00

110 lines
3.8 KiB
Makefile

# New ports collection makefile for: tracker
# Date created: 2006-12-09
# Whom: Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
# $MCom: ports-stable/sysutils/tracker-client/Makefile,v 1.7 2008/06/16 22:18:40 mezz Exp $
#
PORTNAME= tracker
PORTVERSION= 0.6.6
PORTREVISION= 6
CATEGORIES= sysutils gnome
MASTER_SITES= http://www.gnome.org/~jamiemcc/tracker/
PKGNAMESUFFIX?= -client
MAINTAINER= gnome@FreeBSD.org
COMMENT= Object database, tag/metadata database, search tool and indexer
LIB_DEPENDS= sqlite3.8:${PORTSDIR}/databases/sqlite3 \
dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
poppler-glib.3:${PORTSDIR}/graphics/poppler-gtk \
exif.12:${PORTSDIR}/graphics/libexif \
wv-1.2.3:${PORTSDIR}/textproc/wv \
gmime-2.0.4:${PORTSDIR}/mail/gmime2 \
qdbm.14:${PORTSDIR}/databases/qdbm \
exempi.3:${PORTSDIR}/textproc/exempi
RUN_DEPENDS= xdg-desktop-icon:${PORTSDIR}/devel/xdg-utils \
pdftotext:${PORTSDIR}/graphics/poppler-utils \
w3m:${PORTSDIR}/www/w3m
USE_BZIP2= yes
USE_FAM= yes
WANT_FAM_SYSTEM=gamin
INSTALLS_ICONS= yes
USE_GNOME= gnomehack gnomeprefix ltasneededhack intltool
USE_GMAKE= yes
USE_GETTEXT= yes
USE_LDCONFIG= yes
USE_GSTREAMER= core
INSTALLS_ICONS= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
CONFIGURE_ARGS= --enable-video-extractor=gstreamer \
--enable-file-monitoring=fam \
--with-session-bus-services-dir=${LOCALBASE}/share/dbus-1/services \
--enable-external-qdbm
.include <bsd.port.pre.mk>
.if defined(TRACKER_SLAVE)
LIB_DEPENDS+= trackerclient:${PORTSDIR}/sysutils/tracker-client
. if ${TRACKER_SLAVE}=="gnome"
PKGNAMESUFFIX= -gnome
LIB_DEPENDS+= tracker-gtk:${PORTSDIR}/sysutils/tracker-libtrackergtk
BUILD_WRKSRC= ${WRKSRC}/src/tracker-applet
INSTALL_WRKSRC= ${WRKSRC}/src/tracker-applet
EXTRA_WRKSRC= src/tracker-preferences src/tracker-search-tool
RUN_DEPENDS+= ${LOCALBASE}/lib/deskbar-applet/deskbar-applet:${PORTSDIR}/deskutils/deskbar-applet
USE_GNOME+= gnomedesktop libgsf
MAN1+= tracker-applet.1 tracker-search-tool.1 tracker-preferences.1
CONFIGURE_ARGS+=--enable-deskbar-applet \
--with-deskbar-applet-handler-dir=${LOCALBASE}/lib/deskbar-applet/handlers
. endif
. if defined(TRACKER_SLAVE) && ${TRACKER_SLAVE}=="libtrackergtk"
PKGNAMESUFFIX= -libtrackergtk
USE_GNOME+= libgsf
BUILD_WRKSRC= ${WRKSRC}/src/libtracker-gtk
INSTALL_WRKSRC= ${BUILD_WRKSRC}
. endif
.else
MAN1+= tracker-extract.1 tracker-files.1 \
tracker-meta-folder.1 tracker-query.1 \
tracker-search.1 tracker-stats.1 \
tracker-status.1 tracker-tag.1 tracker-thumbnailer.1 trackerd.1
MAN5+= tracker.cfg.5
MAN7+= tracker-services.7
CONFIGURE_ARGS+= --disable-libtrackergtk --disable-gui \
--disable-trackerapplet --disable-gsf \
--disable-preferences
.endif
post-patch:
@${REINPLACE_CMD} -e 's|libpng|libpng12|' ${WRKSRC}/configure
post-build:
.if defined(TRACKER_SLAVE) && ${TRACKER_SLAVE}=="libtrackergtk"
@(cd ${WRKSRC}/src/tracker-extract && ${MAKE} libextract-msoffice.la)
.elif defined(TRACKER_SLAVE) && ${TRACKER_SLAVE}=="gnome"
. for dir in ${EXTRA_WRKSRC}
@(cd ${WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
. endfor
.endif
post-install:
.if defined(TRACKER_SLAVE) && ${TRACKER_SLAVE}=="libtrackergtk"
${MKDIR} ${PREFIX}/lib/tracker/extract-modules
@(cd ${WRKSRC}/src/tracker-extract && for f in .a .la .so ; \
do ${INSTALL_DATA} .libs/libextract-msoffice$${f} \
${PREFIX}/lib/tracker/extract-modules ; done)
.elif defined(TRACKER_SLAVE) && ${TRACKER_SLAVE}=="gnome"
. for dir in ${EXTRA_WRKSRC}
@(cd ${WRKSRC}/${dir} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
. endfor
. for man in ${MAN1}
@(cd ${WRKSRC} && ${INSTALL_DATA} docs/${man} ${PREFIX}/man/man1/${man})
. endfor
.endif
.include <bsd.port.post.mk>