jasper 45b80e6550 import conduit 0.3.15
Conduit is a synchronization application for GNOME. It allows you to
synchronize your files, photos, emails, contacts, notes, calendar data
and any other type of personal information and synchronize that data
with another computer, and online service.

(don't hook it up yet, as it needs some more tweaking, which'll help having
it in-tree)
2008-12-11 23:03:11 +00:00

53 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2008/12/11 23:03:11 jasper Exp $
COMMENT= synchronization application for GNOME
GNOME_PROJECT= conduit
GNOME_VERSION= 0.3.15
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= lang/python \
x11/gnome
BUILD_DEPENDS= ::x11/gnome/doc-utils \
${RUN_DEPENDS}
RUN_DEPENDS= ::devel/gettext \
::devel/xdg-utils \
::graphics/py-goocanvas \
:python-sqlite-${MODPY_VERSION}*:lang/python/${MODPY_VERSION},-sqlite \
::textproc/py-vobject \
::x11/dbus-python \
::x11/gnome/tomboy \
# ::x11/gnome/totem
USE_X11= Yes
MODGNOME_HELP_FILES= Yes
DESKTOP_FILES= Yes
CONFIGURE_ARGS+= --with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/conduit \
--disable-schemas-install \
--disable-scrollkeeper \
--enable-totem-plugin \
--with-totem-plugin-dir="${LOCALBASE}/lib/totem/plugins/" \
# This currently doesn't install anything.
CONFIGURE_ARGS+= --disable-nautilus-extension \
--disable-eog-plugin
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
PYTHON="${MODPY_BIN}"
pre-configure:
find ${WRKDIST} -name \*.py | \
xargs perl -pi -e 's,/usr/bin/env python2.5,${MODPY_BIN},g;' \
-e 's,/usr/bin/env python,${MODPY_BIN},g;' \
-e 's,/usr/bin/python,${MODPY_BIN},g'
${SUBST_CMD} ${WRKSRC}/conduit/conduit ${WRKSRC}/conduit/conduit.real \
${WRKSRC}/tools/conduit-client
.include <bsd.port.mk>