diff options
Diffstat (limited to 'net/service-discovery-applet/Makefile')
-rw-r--r-- | net/service-discovery-applet/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/net/service-discovery-applet/Makefile b/net/service-discovery-applet/Makefile new file mode 100644 index 000000000..bbf77ad81 --- /dev/null +++ b/net/service-discovery-applet/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: service-discovery-applet +# Date Created: 06 May 2006 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= service-discovery-applet +PORTVERSION= 0.4.1 +PORTREVISION= 2 +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= ${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages/avahi/__init__.py:${PORTSDIR}/net/py-avahi +RUN_DEPENDS= ${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages/avahi/__init__.py:${PORTSDIR}/net/py-avahi + +USE_XLIB= yes +USE_GETTEXT= yes +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 + +post-install: + @${LOCALBASE}/bin/gtk-update-icon-cache -f -q --ignore-theme-index \ + ${PREFIX}/share/gnome/service-discovery-applet/icons + +.include <bsd.port.mk> |