openbsd-ports/x11/gnome/conduit/Makefile

61 lines
1.7 KiB
Makefile
Raw Normal View History

2010-07-13 16:37:02 -04:00
# $OpenBSD: Makefile,v 1.26 2010/07/13 20:37:02 ajacoutot Exp $
2009-11-23 07:10:00 -05:00
# XXX the following modules are commented in PLIST
# N800Module ===> needs HAL which we don't provide
2009-11-23 07:10:00 -05:00
# iPodModule ===> needs HAL which we don't provide
# FlickrModule ===> needs flickrapi which we don't provide
# (RUN_DEPENDS += audio/libgpod,-python)
COMMENT= synchronization application for GNOME
GNOME_PROJECT= conduit
GNOME_VERSION= 0.3.17
2010-07-13 16:37:02 -04:00
REVISION= 0
2009-03-12 10:45:55 -04:00
HOMEPAGE= http://www.conduit-project.org/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= lang/python \
x11/gnome
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= ::devel/gettext \
::devel/xdg-utils \
::graphics/py-goocanvas \
::textproc/py-vobject \
2008-12-19 04:58:29 -05:00
::x11/dbus-python \
2009-06-03 12:31:13 -04:00
::multimedia/gstreamer-0.10/py-gstreamer \
::net/avahi \
::devel/py-gdata
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"
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 \
2008-12-12 04:15:45 -05:00
${WRKSRC}/tools/conduit-client ${WRKSRC}/conduit/gtkui/UI.py
.include <bsd.port.mk>