Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Dec 2013 16:25:21 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336457 - in head/net: avahi avahi-app avahi-app/files avahi-autoipd avahi-gtk avahi-gtk3 avahi-header avahi-libdns avahi-qt4 avahi-sharp py-avahi
Message-ID:  <201312141625.rBEGPLNG052767@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Sat Dec 14 16:25:21 2013
New Revision: 336457
URL: http://svnweb.freebsd.org/changeset/ports/336457

Log:
  Update to new lib_depends syntax, stageify,
  Unbreak py-avahi and allow avahi-gtk3 to build with gtk+ 3.10.

Modified:
  head/net/avahi-app/Makefile
  head/net/avahi-app/files/patch-avahi-ui_Makefile.in
  head/net/avahi-app/pkg-plist
  head/net/avahi-autoipd/Makefile
  head/net/avahi-autoipd/pkg-plist
  head/net/avahi-gtk/Makefile
  head/net/avahi-gtk/pkg-plist
  head/net/avahi-gtk3/Makefile
  head/net/avahi-header/Makefile
  head/net/avahi-libdns/Makefile
  head/net/avahi-qt4/Makefile
  head/net/avahi-sharp/Makefile
  head/net/avahi/Makefile
  head/net/py-avahi/Makefile   (contents, props changed)
  head/net/py-avahi/pkg-plist

Modified: head/net/avahi-app/Makefile
==============================================================================
--- head/net/avahi-app/Makefile	Sat Dec 14 15:59:54 2013	(r336456)
+++ head/net/avahi-app/Makefile	Sat Dec 14 16:25:21 2013	(r336457)
@@ -15,17 +15,15 @@ COMMENT?=	Service discovery on a local n
 AVAHI_SLAVE?=	no
 
 .if ${AVAHI_SLAVE} != header
-BUILD_DEPENDS?=	g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
-LIB_DEPENDS?=	expat:${PORTSDIR}/textproc/expat2 \
-		daemon.0:${PORTSDIR}/devel/libdaemon \
-		dbus-glib-1:${PORTSDIR}/devel/dbus-glib \
-		gdbm:${PORTSDIR}/databases/gdbm
-RUN_DEPENDS?=	g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
+LIB_DEPENDS?=	libexpat.so:${PORTSDIR}/textproc/expat2 \
+		libdaemon.so:${PORTSDIR}/devel/libdaemon \
+		libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
+		libgdbm.so:${PORTSDIR}/databases/gdbm
 
 USERS?=		${PORTNAME}
 GROUPS?=	${USERS}
 
-USE_GNOME+=	ltverhack glib20 intltool
+USE_GNOME+=	ltverhack glib20 intltool introspection
 USES=		gettext gmake pathfix pkgconfig
 USE_GNOME_SUBR=	yes
 USE_AUTOTOOLS=	libtool
@@ -44,23 +42,12 @@ LDFLAGS+=	-L${LOCALBASE}/lib
 .if ${AVAHI_SLAVE} == no
 CONFLICTS=	howl-[0-9]*
 
-MAN1=	avahi-browse.1 avahi-publish.1 avahi-resolve.1 avahi-set-host-name.1
-MAN5=	avahi-daemon.conf.5 avahi.service.5 avahi.hosts.5
-MAN8=	avahi-daemon.8 avahi-dnsconfd.8 avahi-dnsconfd.action.8
-
-MLINKS=	avahi-browse.1 avahi-browse-domains.1 \
-	avahi-publish.1 avahi-publish-address.1 \
-	avahi-publish.1 avahi-publish-service.1 \
-	avahi-resolve.1 avahi-resolve-address.1 \
-	avahi-resolve.1 avahi-resolve-host-name.1
-
 DAEMON_CONFIG_FILES=	hosts avahi-daemon.conf
 .endif
 
 USE_RC_SUBR=yes
 .endif # !avahi-header
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${AVAHI_SLAVE} != header
@@ -141,33 +128,36 @@ pre-su-install: avahi-pre-su-install
 
 avahi-pre-su-install:
 .if ${AVAHI_SLAVE}=="no"
-	@${MKDIR} ${PREFIX}/lib/avahi
-	@${TOUCH} -f ${PREFIX}/lib/avahi/.keep
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/avahi
+	@${TOUCH} -f ${STAGEDIR}${PREFIX}/lib/avahi/.keep
 .endif
 
 post-install: avahi-post-install
 
 avahi-post-install:
-.if ${AVAHI_SLAVE}!="no"
-.for f in ${MAN1} ${MAN2} ${MAN3} ${MAN4} ${MAN5} ${MAN6} ${MAN7} ${MAN8} ${MAN9}
-	${INSTALL_DATA} ${WRKSRC}/man/${f} ${PREFIX}/man/man${f:E}/${f}
+.if defined(MANPAGES)
+.for f in ${MANPAGES}
+	${INSTALL_DATA} ${WRKSRC}/man/${f} ${STAGEDIR}${PREFIX}/man/man${f:E}/${f}
 .endfor
 .endif
 .for f in ${AVAHI_PKGCONFIG}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/libdata/pkgconfig
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/libdata/pkgconfig
 .endfor
-	${MKDIR} ${PREFIX}/etc/avahi
+	${MKDIR} ${STAGEDIR}${PREFIX}/etc/avahi
 .for f in ${DAEMON_CONFIG_FILES}
 	${INSTALL_DATA} ${WRKSRC}/avahi-daemon/${f} \
-	    	${PREFIX}/etc/avahi/${f}.dist
-	if [ ! -f ${PREFIX}/etc/avahi/${f} ]; then \
-	    	${INSTALL_DATA} ${WRKSRC}/avahi-daemon/${f} \
-			${PREFIX}/etc/avahi; \
-	fi
+		${STAGEDIR}${PREFIX}/etc/avahi/${f}.dist
 .endfor
-.if ${AVAHI_SLAVE}=="no"
+.if ${AVAHI_SLAVE}==no
 	${INSTALL_DATA} ${FILESDIR}/org.freedesktop.Avahi.service \
-		${LOCALBASE}/share/dbus-1/system-services
+		${STAGEDIR}${PREFIX}/share/dbus-1/system-services
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so*
+.elif ${AVAHI_SLAVE}==gtk3
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libavahi-ui-gtk3.so.0
+.elif ${AVAHI_SLAVE}==libdns
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libdns_sd.so.1
+.elif ${AVAHI_SLAVE}==qt4
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libavahi-qt4.so.1
 .endif
 .endif # avahi-header
 

Modified: head/net/avahi-app/files/patch-avahi-ui_Makefile.in
==============================================================================
--- head/net/avahi-app/files/patch-avahi-ui_Makefile.in	Sat Dec 14 15:59:54 2013	(r336456)
+++ head/net/avahi-app/files/patch-avahi-ui_Makefile.in	Sat Dec 14 16:25:21 2013	(r336457)
@@ -1,6 +1,6 @@
---- avahi-ui/Makefile.in.orig	2012-04-03 18:30:32.000000000 +0200
-+++ avahi-ui/Makefile.in	2012-04-03 18:33:59.000000000 +0200
-@@ -119,9 +119,7 @@ am__installdirs = "$(DESTDIR)$(libdir)" 
+--- avahi-ui/Makefile.in.orig	2013-12-11 12:03:44.000000000 +0100
++++ avahi-ui/Makefile.in	2013-12-11 12:05:00.000000000 +0100
+@@ -125,9 +125,7 @@ am__installdirs = "$(DESTDIR)$(libdir)" 
  	"$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(avahiincludedir)"
  LTLIBRARIES = $(lib_LTLIBRARIES)
  am__DEPENDENCIES_1 =
@@ -11,7 +11,7 @@
  @HAVE_DBUS_TRUE@@HAVE_GLIB_TRUE@@HAVE_GTK2OR3_TRUE@	$(am__DEPENDENCIES_1) \
  @HAVE_DBUS_TRUE@@HAVE_GLIB_TRUE@@HAVE_GTK2OR3_TRUE@	$(am__DEPENDENCIES_1)
  am__libavahi_ui_gtk3_la_SOURCES_DIST = avahi-ui.h avahi-ui.c \
-@@ -142,9 +140,7 @@ libavahi_ui_gtk3_la_LINK = $(LIBTOOL) $(
+@@ -148,9 +146,7 @@ libavahi_ui_gtk3_la_LINK = $(LIBTOOL) $(
  	$(libavahi_ui_gtk3_la_LDFLAGS) $(LDFLAGS) -o $@
  @HAVE_DBUS_TRUE@@HAVE_GLIB_TRUE@@HAVE_GTK2OR3_TRUE@@HAVE_GTK3_TRUE@am_libavahi_ui_gtk3_la_rpath = -rpath \
  @HAVE_DBUS_TRUE@@HAVE_GLIB_TRUE@@HAVE_GTK2OR3_TRUE@@HAVE_GTK3_TRUE@	$(libdir)
@@ -22,7 +22,7 @@
  @HAVE_DBUS_TRUE@@HAVE_GLIB_TRUE@@HAVE_GTK2OR3_TRUE@	$(am__DEPENDENCIES_1) \
  @HAVE_DBUS_TRUE@@HAVE_GLIB_TRUE@@HAVE_GTK2OR3_TRUE@	$(am__DEPENDENCIES_1)
  am__libavahi_ui_la_SOURCES_DIST = avahi-ui.h avahi-ui.c \
-@@ -166,12 +162,8 @@ am__bssh_SOURCES_DIST = bssh.c
+@@ -172,12 +168,8 @@ am__bssh_SOURCES_DIST = bssh.c
  @HAVE_DBUS_TRUE@@HAVE_GLIB_TRUE@@HAVE_GTK2OR3_TRUE@am_bssh_OBJECTS = bssh-bssh.$(OBJEXT)
  bssh_OBJECTS = $(am_bssh_OBJECTS)
  @HAVE_DBUS_TRUE@@HAVE_GLIB_TRUE@@HAVE_GTK2OR3_TRUE@@HAVE_GTK3_FALSE@bssh_DEPENDENCIES = $(am__DEPENDENCIES_1) \
@@ -35,7 +35,17 @@
  @HAVE_DBUS_TRUE@@HAVE_GLIB_TRUE@@HAVE_GTK2OR3_TRUE@@HAVE_GTK3_TRUE@	libavahi-ui-gtk3.la
  bssh_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(bssh_CFLAGS) $(CFLAGS) \
-@@ -482,9 +474,7 @@ EXTRA_DIST = $(desktop_DATA_in_in)
+@@ -464,8 +456,7 @@ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ 
+ # This cool debug trap works on i386/gcc only
+-AM_CFLAGS = -I$(top_srcdir) -DG_DISABLE_DEPRECATED=1 \
+-	-DGDK_DISABLE_DEPRECATED=1 -DGTK_DISABLE_DEPRECATED=1 \
++AM_CFLAGS = -I$(top_srcdir) \
+ 	'-DDEBUG_TRAP=__asm__("int $$3")' $(am__append_1)
+ pkglibdatadir = $(libdir)/avahi
+ desktopdir = $(datadir)/applications
+@@ -489,9 +480,7 @@ EXTRA_DIST = $(desktop_DATA_in_in)
  @HAVE_DBUS_TRUE@@HAVE_GLIB_TRUE@@HAVE_GTK2OR3_TRUE@	$(am__append_5) \
  @HAVE_DBUS_TRUE@@HAVE_GLIB_TRUE@@HAVE_GTK2OR3_TRUE@	$(am__append_10)
  @HAVE_DBUS_TRUE@@HAVE_GLIB_TRUE@@HAVE_GTK2OR3_TRUE@libavahi_ui_la_LIBADD = $(AM_LDADD) \
@@ -46,7 +56,7 @@
  @HAVE_DBUS_TRUE@@HAVE_GLIB_TRUE@@HAVE_GTK2OR3_TRUE@	$(GTK20_LIBS) \
  @HAVE_DBUS_TRUE@@HAVE_GLIB_TRUE@@HAVE_GTK2OR3_TRUE@	$(am__append_6)
  @HAVE_DBUS_TRUE@@HAVE_GLIB_TRUE@@HAVE_GTK2OR3_TRUE@libavahi_ui_la_LDFLAGS = $(AM_LDFLAGS)  -version-info $(LIBAVAHI_UI_VERSION_INFO)
-@@ -494,17 +484,15 @@ EXTRA_DIST = $(desktop_DATA_in_in)
+@@ -501,17 +490,15 @@ EXTRA_DIST = $(desktop_DATA_in_in)
  @HAVE_DBUS_TRUE@@HAVE_GLIB_TRUE@@HAVE_GTK2OR3_TRUE@	$(am__append_7) \
  @HAVE_DBUS_TRUE@@HAVE_GLIB_TRUE@@HAVE_GTK2OR3_TRUE@	$(am__append_11)
  @HAVE_DBUS_TRUE@@HAVE_GLIB_TRUE@@HAVE_GTK2OR3_TRUE@libavahi_ui_gtk3_la_LIBADD = $(AM_LDADD) \
@@ -67,7 +77,7 @@
  CLEANFILES = $(desktop_DATA) $(desktop_DATA_in)
  all: all-am
  
-@@ -713,7 +701,7 @@ clean-libtool:
+@@ -711,7 +698,7 @@ clean-libtool:
  	-rm -rf .libs _libs
  install-desktopDATA: $(desktop_DATA)
  	@$(NORMAL_INSTALL)
@@ -75,4 +85,4 @@
 +@HAVE_GTK_TRUE@	test -z "$(desktopdir)" || $(MKDIR_P) "$(DESTDIR)$(desktopdir)"
  	@list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \
  	for p in $$list; do \
- 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ 

Modified: head/net/avahi-app/pkg-plist
==============================================================================
--- head/net/avahi-app/pkg-plist	Sat Dec 14 15:59:54 2013	(r336456)
+++ head/net/avahi-app/pkg-plist	Sat Dec 14 16:25:21 2013	(r336457)
@@ -102,6 +102,21 @@ libdata/pkgconfig/avahi-compat-howl.pc
 libdata/pkgconfig/avahi-core.pc
 libdata/pkgconfig/avahi-glib.pc
 libdata/pkgconfig/avahi-gobject.pc
+man/man1/avahi-browse-domains.1.gz
+man/man1/avahi-browse.1.gz
+man/man1/avahi-publish-address.1.gz
+man/man1/avahi-publish-service.1.gz
+man/man1/avahi-publish.1.gz
+man/man1/avahi-resolve-address.1.gz
+man/man1/avahi-resolve-host-name.1.gz
+man/man1/avahi-resolve.1.gz
+man/man1/avahi-set-host-name.1.gz
+man/man5/avahi-daemon.conf.5.gz
+man/man5/avahi.hosts.5.gz
+man/man5/avahi.service.5.gz
+man/man8/avahi-daemon.8.gz
+man/man8/avahi-dnsconfd.8.gz
+man/man8/avahi-dnsconfd.action.8.gz
 sbin/avahi-daemon
 sbin/avahi-dnsconfd
 %%DATADIR%%/avahi-service.dtd

Modified: head/net/avahi-autoipd/Makefile
==============================================================================
--- head/net/avahi-autoipd/Makefile	Sat Dec 14 15:59:54 2013	(r336456)
+++ head/net/avahi-autoipd/Makefile	Sat Dec 14 16:25:21 2013	(r336457)
@@ -9,7 +9,7 @@ PKGNAMESUFFIX=	-autoipd
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	IPv4LL network address configuration daemon
 
-LIB_DEPENDS=	avahi-common.3:${PORTSDIR}/net/avahi-app
+LIB_DEPENDS=	libavahi-common.so:${PORTSDIR}/net/avahi-app
 
 USERS=		avahi-autoipd
 GROUPS=		${USERS}
@@ -22,7 +22,6 @@ PLIST=		${.CURDIR}/pkg-plist
 
 AVAHI_SLAVE=	autoipd
 
-MAN8=		avahi-autoipd.8
+MANPAGES=	avahi-autoipd.8
 
-NO_STAGE=	yes
 .include "${MASTERDIR}/Makefile"

Modified: head/net/avahi-autoipd/pkg-plist
==============================================================================
--- head/net/avahi-autoipd/pkg-plist	Sat Dec 14 15:59:54 2013	(r336456)
+++ head/net/avahi-autoipd/pkg-plist	Sat Dec 14 16:25:21 2013	(r336457)
@@ -1,3 +1,4 @@
 etc/avahi/avahi-autoipd.action
 sbin/avahi-autoipd
-@dirrm etc/avahi
+man/man8/avahi-autoipd.8.gz
+@dirrmtry etc/avahi

Modified: head/net/avahi-gtk/Makefile
==============================================================================
--- head/net/avahi-gtk/Makefile	Sat Dec 14 15:59:54 2013	(r336456)
+++ head/net/avahi-gtk/Makefile	Sat Dec 14 16:25:21 2013	(r336457)
@@ -9,7 +9,7 @@ PKGNAMESUFFIX=	-gtk
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	Gtk+ tools and bindings to the Avahi mDNS system
 
-LIB_DEPENDS=	avahi-common:${PORTSDIR}/net/avahi-app
+LIB_DEPENDS=	libavahi-common.so:${PORTSDIR}/net/avahi-app
 RUN_DEPENDS=	avahi-header>=0.6:${PORTSDIR}/net/avahi-header
 
 MASTERDIR=	${.CURDIR}/../avahi-app
@@ -21,12 +21,10 @@ PLIST=		${.CURDIR}/pkg-plist
 AVAHI_SLAVE=	gtk
 AVAHI_PKGCONFIG=avahi-ui.pc
 
-MAN1+=		bssh.1
-MLINKS+=	bssh.1 bvnc.1 \
-		bssh.1 bshell.1
+MANPAGES=	bssh.1
+
 USE_GNOME+=	libglade2
 
-NO_STAGE=	yes
 post-build:
 	@(cd ${WRKSRC}/avahi-discover-standalone; \
 		${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
@@ -34,5 +32,8 @@ post-build:
 post-install:
 	@(cd ${WRKSRC}/avahi-discover-standalone; \
 		${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
+	${LN} -sf man/man1/bssh.1 ${STAGEDIR}${PREFIX}/man/man1/bvnc.1
+	${LN} -sf man/man1/bssh.1 ${STAGEDIR}${PREFIX}/man/man1/bshell.1
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libavahi-ui.so.0
 
 .include "${MASTERDIR}/Makefile"

Modified: head/net/avahi-gtk/pkg-plist
==============================================================================
--- head/net/avahi-gtk/pkg-plist	Sat Dec 14 15:59:54 2013	(r336456)
+++ head/net/avahi-gtk/pkg-plist	Sat Dec 14 16:25:21 2013	(r336457)
@@ -7,6 +7,9 @@ lib/libavahi-ui.la
 lib/libavahi-ui.so
 lib/libavahi-ui.so.0
 libdata/pkgconfig/avahi-ui.pc
+man/man1/bshell.1.gz
+man/man1/bssh.1.gz
+man/man1/bvnc.1.gz
 share/applications/bssh.desktop
 share/applications/bvnc.desktop
 %%DATADIR%%/interfaces/avahi-discover.ui

Modified: head/net/avahi-gtk3/Makefile
==============================================================================
--- head/net/avahi-gtk3/Makefile	Sat Dec 14 15:59:54 2013	(r336456)
+++ head/net/avahi-gtk3/Makefile	Sat Dec 14 16:25:21 2013	(r336457)
@@ -8,7 +8,7 @@ PKGNAMESUFFIX=	-gtk3
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	Gtk+ 3 library to the Avahi mDNS system
 
-LIB_DEPENDS=	avahi-common:${PORTSDIR}/net/avahi-app
+LIB_DEPENDS=	libavahi-common.so:${PORTSDIR}/net/avahi-app
 RUN_DEPENDS=	avahi-header>=0.6:${PORTSDIR}/net/avahi-header
 
 MASTERDIR=	${.CURDIR}/../avahi-app
@@ -22,11 +22,10 @@ AVAHI_PKGCONFIG=avahi-ui-gtk3.pc
 
 USE_GNOME+=	gtk30
 
-NO_STAGE=	yes
 do-build:
 	@(cd ${WRKSRC}/avahi-ui; ${GMAKE} libavahi-ui-gtk3.la)
 
 do-install:
-	@(cd ${WRKSRC}/avahi-ui; ${GMAKE} install-libLTLIBRARIES)
+	@(cd ${WRKSRC}/avahi-ui; ${GMAKE} ${MAKE_ARGS} install-libLTLIBRARIES)
 
 .include "${MASTERDIR}/Makefile"

Modified: head/net/avahi-header/Makefile
==============================================================================
--- head/net/avahi-header/Makefile	Sat Dec 14 15:59:54 2013	(r336456)
+++ head/net/avahi-header/Makefile	Sat Dec 14 16:25:21 2013	(r336457)
@@ -20,10 +20,9 @@ AVAHI_SLAVE=	header
 
 NO_BUILD=	yes
 
-NO_STAGE=	yes
 do-install:
-	${MKDIR} ${PREFIX}/include/avahi-ui
+	${MKDIR} ${STAGEDIR}/${PREFIX}/include/avahi-ui
 	${INSTALL_DATA} ${BUILD_WRKSRC}/avahi-ui.h \
-		${PREFIX}/include/avahi-ui/
+		${STAGEDIR}/${PREFIX}/include/avahi-ui/
 
 .include "${MASTERDIR}/Makefile"

Modified: head/net/avahi-libdns/Makefile
==============================================================================
--- head/net/avahi-libdns/Makefile	Sat Dec 14 15:59:54 2013	(r336456)
+++ head/net/avahi-libdns/Makefile	Sat Dec 14 16:25:21 2013	(r336457)
@@ -8,7 +8,7 @@ PKGNAMESUFFIX=	-libdns
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	mDNSResponder compatibility from Avahi
 
-LIB_DEPENDS=	avahi-common:${PORTSDIR}/net/avahi-app
+LIB_DEPENDS=	libavahi-common.so:${PORTSDIR}/net/avahi-app
 
 MASTERDIR=	${.CURDIR}/../avahi-app
 BUILD_WRKSRC=	${WRKSRC}/avahi-compat-libdns_sd
@@ -21,5 +21,4 @@ AVAHI_PKGCONFIG=avahi-compat-libdns_sd.p
 
 CONFLICTS=	mDNSResponder-[0-9]*
 
-NO_STAGE=	yes
 .include "${MASTERDIR}/Makefile"

Modified: head/net/avahi-qt4/Makefile
==============================================================================
--- head/net/avahi-qt4/Makefile	Sat Dec 14 15:59:54 2013	(r336456)
+++ head/net/avahi-qt4/Makefile	Sat Dec 14 16:25:21 2013	(r336457)
@@ -8,7 +8,7 @@ PKGNAMESUFFIX=	-qt4
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	Qt 4 bindings to the Avahi mDNS system
 
-LIB_DEPENDS=	avahi-common:${PORTSDIR}/net/avahi-app
+LIB_DEPENDS=	libavahi-common.so:${PORTSDIR}/net/avahi-app
 
 MASTERDIR=	${.CURDIR}/../avahi-app
 BUILD_WRKSRC=	${WRKSRC}/avahi-qt
@@ -20,5 +20,4 @@ AVAHI_SLAVE=	qt4
 USE_QT4=	corelib moc_build
 AVAHI_PKGCONFIG=	avahi-qt4.pc
 
-NO_STAGE=	yes
 .include "${MASTERDIR}/Makefile"

Modified: head/net/avahi-sharp/Makefile
==============================================================================
--- head/net/avahi-sharp/Makefile	Sat Dec 14 15:59:54 2013	(r336456)
+++ head/net/avahi-sharp/Makefile	Sat Dec 14 16:25:21 2013	(r336457)
@@ -8,7 +8,7 @@ PKGNAMESUFFIX=	-sharp
 MAINTAINER=	mono@FreeBSD.org
 COMMENT=	Mono bindings for Avahi service discovery
 
-LIB_DEPENDS=	avahi-core:${PORTSDIR}/net/avahi-app
+LIB_DEPENDS=	libavahi-core.so:${PORTSDIR}/net/avahi-app
 BUILD_DEPENDS=	mono:${PORTSDIR}/lang/mono
 RUN_DEPENDS=	mono:${PORTSDIR}/lang/mono
 
@@ -21,7 +21,6 @@ PLIST=		${.CURDIR}/pkg-plist
 AVAHI_SLAVE=	sharp
 AVAHI_PKGCONFIG=avahi-sharp.pc
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} 's|@CLIENT_DLNAME@|libavahi-client.so|g; \
 		s|@COMMON_DLNAME@|libavahi-common.so|g; \

Modified: head/net/avahi/Makefile
==============================================================================
--- head/net/avahi/Makefile	Sat Dec 14 15:59:54 2013	(r336456)
+++ head/net/avahi/Makefile	Sat Dec 14 16:25:21 2013	(r336457)
@@ -11,7 +11,7 @@ DISTFILES=	# empty
 EXTRACT_ONLY=	# empty
 
 MAINTAINER=	gnome@FreeBSD.org
-COMMENT=	The "meta-port" for the Avahi service discovery suite
+COMMENT=	"meta-port" for the Avahi service discovery suite
 
 RUN_DEPENDS=	avahi-resolve:${PORTSDIR}/net/avahi-app \
 		avahi-app>=0.6.31:${PORTSDIR}/net/avahi-app
@@ -23,8 +23,9 @@ GTK_DESC=	Gtk+ tools and bindings
 LIBDNS_DESC=	Apple's mDNSResponder compatibility library
 
 NO_BUILD=	yes
+NO_INSTALL=	yes
+NO_MTREE=	yes
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MAUTOIPD}
@@ -51,6 +52,4 @@ RUN_DEPENDS+=	${LOCALBASE}/libdata/pkgco
 RUN_DEPENDS+=	avahi-bookmarks:${PORTSDIR}/net/py-avahi
 .endif
 
-do-install:
-
 .include <bsd.port.mk>

Modified: head/net/py-avahi/Makefile
==============================================================================
--- head/net/py-avahi/Makefile	Sat Dec 14 15:59:54 2013	(r336456)
+++ head/net/py-avahi/Makefile	Sat Dec 14 16:25:21 2013	(r336457)
@@ -1,7 +1,8 @@
 # Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
 # $FreeBSD$
 #   $MCom: ports/net/py-avahi/Makefile,v 1.4 2007/07/31 18:24:13 ahze Exp $
-PORTREVISION=	5
+
+PORTREVISION=	7
 CATEGORIES=	net gnome python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 PKGNAMESUFFIX=	# empty
@@ -11,12 +12,10 @@ COMMENT=	Python interface to the Avahi m
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gdbm>0:${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_PKGNAMEPREFIX}gdbm>0:${PORTSDIR}/databases/py-gdbm \
 		${PYTHON_SITELIBDIR}/dbus/_dbus.py:${PORTSDIR}/devel/py-dbus
 
-BROKEN=		fails to install
-
 MASTERDIR=	${.CURDIR}/../avahi-app
 BUILD_WRKSRC=	${WRKSRC}/avahi-python
 INSTALL_WRKSRC=	${BUILD_WRKSRC}
@@ -25,11 +24,10 @@ PLIST=		${.CURDIR}/pkg-plist
 
 AVAHI_SLAVE=	python
 
-USE_GNOME=	gnomehack pygtk2
+USE_GNOME=	pygtk2
 USE_PYTHON=	yes
-MAN1=		avahi-bookmarks.1 avahi-discover.1
+MANPAGES=	avahi-bookmarks.1 avahi-discover.1
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's|@pkglibdir@|${DATADIR}|' \
 	    	${WRKSRC}/avahi-python/avahi/ServiceTypeDatabase.py.in
@@ -43,9 +41,11 @@ post-build:
 		${MAKE_FLAGS} Makefile ${MAKE_ARGS} ${ALL_TARGET}
 
 post-install:
-	${MKDIR} ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/service-type-database/service-types.db ${DATADIR}
-	@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -l ${PYTHONPREFIX_SITELIBDIR}/avahi
-	@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -l ${PYTHONPREFIX_SITELIBDIR}/avahi
+	@cd ${WRKSRC}/service-type-database && ${SETENV} ${MAKE_ENV} ${GMAKE} \
+		${MAKE_FLAGS} Makefile ${MAKE_ARGS} install
+	(cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
+		-d ${PREFIX} -f ${PYTHONPREFIX_SITELIBDIR:S,${PREFIX}/,,})
+	(cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
+		-d ${PREFIX} -f ${PYTHONPREFIX_SITELIBDIR:S,${PREFIX}/,,})
 
 .include "${MASTERDIR}/Makefile"

Modified: head/net/py-avahi/pkg-plist
==============================================================================
--- head/net/py-avahi/pkg-plist	Sat Dec 14 15:59:54 2013	(r336456)
+++ head/net/py-avahi/pkg-plist	Sat Dec 14 16:25:21 2013	(r336457)
@@ -1,5 +1,6 @@
 bin/avahi-bookmarks
 bin/avahi-discover
+lib/avahi/service-types.db
 %%PYTHON_SITELIBDIR%%/avahi/ServiceTypeDatabase.py
 %%PYTHON_SITELIBDIR%%/avahi/ServiceTypeDatabase.pyc
 %%PYTHON_SITELIBDIR%%/avahi/ServiceTypeDatabase.pyo
@@ -9,8 +10,9 @@ bin/avahi-discover
 %%PYTHON_SITELIBDIR%%/avahi_discover/__init__.py
 %%PYTHON_SITELIBDIR%%/avahi_discover/__init__.pyc
 %%PYTHON_SITELIBDIR%%/avahi_discover/__init__.pyo
+man/man1/avahi-bookmarks.1.gz
+man/man1/avahi-discover.1.gz
 share/applications/avahi-discover.desktop
-%%DATADIR%%/service-types.db
-@dirrm %%DATADIR%%
+%%DATADIR%%/service-types
 @dirrm %%PYTHON_SITELIBDIR%%/avahi_discover
 @dirrm %%PYTHON_SITELIBDIR%%/avahi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312141625.rBEGPLNG052767>