summaryrefslogtreecommitdiff
path: root/net/service-discovery-applet/Makefile
blob: cd45099e80387d72dd00d71af3c9c45fe079dc0c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
#   $MCom: ports/net/service-discovery-applet/Makefile,v 1.5 2007/08/06 16:57:53 mezz Exp $

PORTNAME=	service-discovery-applet
PORTVERSION=	0.4.3
PORTREVISION=	15
CATEGORIES=	net dns gnome
MASTER_SITES=	http://0pointer.de/~sebest/

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	GNOME applet that shows available network services using mDNS

BROKEN=		Uses unknown GNOME component pygnomedesktop
DEPRECATED=	Broken since update to gnome3
EXPIRATION_DATE=	2015-06-02

BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/avahi/__init__.py:${PORTSDIR}/net/py-avahi
RUN_DEPENDS=	${PYTHON_SITELIBDIR}/avahi/__init__.py:${PORTSDIR}/net/py-avahi

USES=		gettext gmake pathfix python
USE_GNOME=	gnomeprefix intlhack pygnomedesktop
GNU_CONFIGURE=	yes
INSTALLS_ICONS=	yes
CONFIGURE_ARGS=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

GCONF_SCHEMAS=	service-discovery-applet.schemas

post-patch:
	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
		${WRKSRC}/plugins/gconfterminal.py.in

post-install:
	@${LOCALBASE}/bin/gtk-update-icon-cache -f -q --ignore-theme-index \
		${STAGEDIR}${PREFIX}/share/service-discovery-applet/icons

.include <bsd.port.mk>