freebsd-ports/deskutils/nautilus-sendto/Makefile
Koop Mast 2a3357182d Convert almost all gnome@ ports to OptionsNG, trim header, use USES=pathfix
instead of gnomehack and pet portlint.
Add conflicts with future gnome3 versions.

Reviewed by:	miwi, bapt
2013-03-19 10:40:22 +00:00

52 lines
1.4 KiB
Makefile

# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$
# $MCom: ports/deskutils/nautilus-sendto/Makefile,v 1.30 2010/09/30 06:21:18 kwm Exp $
PORTNAME= nautilus-sendto
PORTVERSION= 2.32.0
PORTREVISION= 2
CATEGORIES= deskutils
MASTER_SITES= GNOME
MAINTAINER= gnome@FreeBSD.org
COMMENT= Integration between nautilus, evolution, and pidgin
MAN1= nautilus-sendto.1
GLIB_SCHEMAS= org.gnome.Nautilus.Sendto.gschema.xml
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
USES= pathfix
USE_GNOME= intlhack gnomeprefix nautilus2 gnomehack evolutiondataserver
USE_GETTEXT= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-plugins="${SENDTO_PLUGINS}"
OPTIONS_DEFINE= PIDGIN UPNP
PIDGIN_DESC= Build pidgin sendto plugin
UPNP_DESC= Build upnp sendto plugin
# check configure script for allowed_plugins="..." for new plugins
SENDTO_PLUGINS= evolution gajim nautilus-burn removable-devices
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPIDGIN}
SENDTO_PLUGINS:=${SENDTO_PLUGINS} pidgin
LIB_DEPENDS+= dbus-glib-1:${PORTSDIR}/devel/dbus-glib
RUN_DEPENDS+= pidgin:${PORTSDIR}/net-im/pidgin
PLIST_SUB+= PIDGIN=""
.else
PLIST_SUB+= PIDGIN="@comment "
.endif
.if ${PORT_OPTIONS:MUPNP}
SENDTO_PLUGINS:=${SENDTO_PLUGINS} upnp
LIB_DEPENDS+= gupnp-1:${PORTSDIR}/net/gupnp
PLIST_SUB+= UPNP=""
.else
PLIST_SUB+= UPNP="@comment "
.endif
.include <bsd.port.mk>