freebsd-ports/net/service-discovery-applet/Makefile
Alex Kozlov e159824929 - Convert USE_GETTEXT to USES (part 3)
Approved by:	portmgr (bapt)
2013-04-24 18:10:30 +00:00

40 lines
1.2 KiB
Makefile

# New ports collection makefile for: service-discovery-applet
# Date Created: 06 May 2006
# Whom: 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= 14
CATEGORIES= net dns gnome
MASTER_SITES= http://0pointer.de/~sebest/
MAINTAINER= gnome@FreeBSD.org
COMMENT= A GNOME applet that shows available network services using mDNS
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/avahi/__init__.py:${PORTSDIR}/net/py-avahi
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/avahi/__init__.py:${PORTSDIR}/net/py-avahi
USES= gettext
USE_PYTHON= yes
USE_GNOME= gnomehack gnomeprefix intlhack pygnomedesktop
USE_GMAKE= yes
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 \
${PREFIX}/share/service-discovery-applet/icons
.include <bsd.port.mk>