Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Aug 2012 19:13:57 +0000 (UTC)
From:      Olivier Duchateau <olivierd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r302350 - head/x11/libxfce4menu
Message-ID:  <201208091913.q79JDv5H042811@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olivierd
Date: Thu Aug  9 19:13:56 2012
New Revision: 302350
URL: http://svn.freebsd.org/changeset/ports/302350

Log:
  - Use USE_PKGCONFIG macro
  - Add patch when NLS is unset
  - Remove USE_AUTOTOOLS (libtool) macro
  
  Submitted by:	myself
  Approved by:	miwi, rene (mentors)

Modified:
  head/x11/libxfce4menu/Makefile
  head/x11/libxfce4menu/pkg-plist

Modified: head/x11/libxfce4menu/Makefile
==============================================================================
--- head/x11/libxfce4menu/Makefile	Thu Aug  9 19:09:34 2012	(r302349)
+++ head/x11/libxfce4menu/Makefile	Thu Aug  9 19:13:56 2012	(r302350)
@@ -7,7 +7,7 @@
 
 PORTNAME=	libxfce4menu
 PORTVERSION=	4.10.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	x11 xfce
 MASTER_SITES=	${MASTER_SITE_XFCE}
 DISTNAME=	libxfce4ui-${PORTVERSION}
@@ -16,14 +16,14 @@ DIST_SUBDIR=	xfce4
 MAINTAINER=	xfce@FreeBSD.org
 COMMENT=	Widgets library for the Xfce desktop environment
 
-USE_AUTOTOOLS=	libtool
 GNU_CONFIGURE=	yes
 USE_BZIP2=	yes
 USE_GMAKE=	yes
-USE_GNOME=	glib20 gnomehack gtk20 intltool intlhack pkgconfig desktopfileutils
+USE_GNOME=	glib20 gnomehack gtk20 intltool intlhack desktopfileutils
 USE_LDCONFIG=	yes
 USE_XFCE=	configenv libutil xfconf
 INSTALLS_ICONS=	yes
+USE_PKGCONFIG=	build
 
 CONFIGURE_ARGS=	--disable-gtk-doc-html \
 		--with-vendor-info=FreeBSD
@@ -64,4 +64,10 @@ CONFIGURE_ARGS+=--enable-gladeui
 CONFIGURE_ARGS+=--disable-gladeui
 .endif
 
+.if empty(PORT_OPTIONS:MNLS)
+post-patch:
+	@${REINPLACE_CMD} -e 's|docs \\|docs|| ; \
+		s|po||' ${WRKSRC}/Makefile.in
+.endif
+
 .include <bsd.port.mk>

Modified: head/x11/libxfce4menu/pkg-plist
==============================================================================
--- head/x11/libxfce4menu/pkg-plist	Thu Aug  9 19:09:34 2012	(r302349)
+++ head/x11/libxfce4menu/pkg-plist	Thu Aug  9 19:13:56 2012	(r302350)
@@ -13,11 +13,9 @@ include/xfce4/libxfce4ui-1/libxfce4ui/xf
 include/xfce4/libxfce4ui-1/libxfce4ui/xfce-sm-client.h
 include/xfce4/libxfce4ui-1/libxfce4ui/xfce-spawn.h
 include/xfce4/libxfce4ui-1/libxfce4ui/xfce-titled-dialog.h
-lib/libxfce4kbd-private-2.a
 lib/libxfce4kbd-private-2.la
 lib/libxfce4kbd-private-2.so
 lib/libxfce4kbd-private-2.so.0
-lib/libxfce4ui-1.a
 lib/libxfce4ui-1.la
 lib/libxfce4ui-1.so
 lib/libxfce4ui-1.so.0



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