[Midnightbsd-cvs] mports [20883] trunk/net/py-avahi/Makefile: fix gnome setup

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Mon Nov 16 10:05:35 EST 2015


Revision: 20883
          http://svnweb.midnightbsd.org/mports/?rev=20883
Author:   laffer1
Date:     2015-11-16 10:05:34 -0500 (Mon, 16 Nov 2015)
Log Message:
-----------
fix gnome setup

Modified Paths:
--------------
    trunk/net/py-avahi/Makefile

Modified: trunk/net/py-avahi/Makefile
===================================================================
--- trunk/net/py-avahi/Makefile	2015-11-16 02:52:34 UTC (rev 20882)
+++ trunk/net/py-avahi/Makefile	2015-11-16 15:05:34 UTC (rev 20883)
@@ -1,10 +1,5 @@
-# New ports collection makefile for:   py-avahi
-# Date Created:			06 May 2006
-# Whom:				Joe Marcus Clarke <marcus at FreeBSD.org>
-#
 # $MidnightBSD$
 # $FreeBSD: ports/net/py-avahi/Makefile,v 1.16 2008/07/03 21:53:55 mezz Exp $
-#
 
 PORTREVISION=	0
 CATEGORIES=	net gnome python
@@ -13,11 +8,12 @@
 
 MAINTAINER=	ports at MidnightBSD.org
 COMMENT=	Python interface to the Avahi mDNS system
+
 LICENSE=	lgpl
 
 BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/gdbm.so:${PORTSDIR}/databases/py-gdbm \
 		${PYTHON_SITELIBDIR}/dbus/_dbus.py:${PORTSDIR}/devel/py-dbus
-LIB_DEPENDS=	avahi-client.3:${PORTSDIR}/net/avahi-app
+LIB_DEPENDS=	libavahi-client.so:${PORTSDIR}/net/avahi-app
 RUN_DEPENDS=	${PYTHON_SITELIBDIR}/gdbm.so:${PORTSDIR}/databases/py-gdbm \
 		${PYTHON_SITELIBDIR}/dbus/_dbus.py:${PORTSDIR}/devel/py-dbus
 
@@ -29,9 +25,8 @@
 
 AVAHI_SLAVE=	python
 
-USE_GNOME=	gnomehack  pygtk2
-USE_PYTHON=	yes
-MAN1=		avahi-bookmarks.1 avahi-discover.1
+USES+=		python:2
+USE_GNOME=	pygtk2
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|@pkglibdir@|${DATADIR}|' \



More information about the Midnightbsd-cvs mailing list