1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/deskutils/conduit/Makefile
Koop Mast 2f0486b647 Part 1 of adding USE_GNOME=intltool to ports that require it.
The reason for this is that in the GNOME 3.16 update, USE_GNOME gtk20 and
gtk30 don't pull intltool in anymore.

PR:		201980
Exp-run by:	antoine@
2015-08-02 20:23:55 +00:00

52 lines
1.7 KiB
Makefile

# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$
# $MCom: ports/deskutils/conduit/Makefile,v 1.7 2008/03/18 14:53:42 ahze Exp $
PORTNAME= conduit
PORTVERSION= 0.3.17
PORTREVISION= 8
CATEGORIES= deskutils
MASTER_SITES= GNOME
MAINTAINER= gnome@FreeBSD.org
COMMENT= Synchronization application for GNOME
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/goocanvasmodule.so:${PORTSDIR}/graphics/py-goocanvas \
${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \
${PYTHON_PKGNAMEPREFIX}vobject>=0.4.8:${PORTSDIR}/deskutils/py-vobject \
${PYTHON_PKGNAMEPREFIX}dbus>0:${PORTSDIR}/devel/py-dbus
LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/goocanvasmodule.so:${PORTSDIR}/graphics/py-goocanvas \
${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \
${PYTHON_PKGNAMEPREFIX}vobject>=0.4.8:${PORTSDIR}/deskutils/py-vobject \
${PYTHON_PKGNAMEPREFIX}dbus>0:${PORTSDIR}/devel/py-dbus \
xdg-open:${PORTSDIR}/devel/xdg-utils
GNU_CONFIGURE= yes
USES= gettext gmake pathfix pkgconfig python:2
INSTALLS_OMF= yes
INSTALLS_ICONS= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_GNOME= intltool pygnome2 gnomeprefix gnomedocutils
CONFIGURE_ARGS= --disable-nautilus-extension
OPTIONS_DEFINE= EOG
OPTIONS_DEFAULT=EOG
EOG_DESC= Build Eye-Of-Gnome Plugin
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEOG}
BUILD_DEPENDS+= eog:${PORTSDIR}/graphics/eog
RUN_DEPENDS+= eog:${PORTSDIR}/graphics/eog
CONFIGURE_ARGS+= --enable-eog-plugin
.endif
post-patch:
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e 's|/bin/bash|${SH}|' \
-e 's|/usr/bin/python|${LOCALBASE}/bin/python|' \
-e 's|/usr/lib/firefox*|${LOCALBASE}/lib/firefox|'
.include <bsd.port.mk>