svn commit: r302350 - head/x11/libxfce4menu

Olivier Duchateau olivierd at FreeBSD.org
Thu Aug 9 19:13:57 UTC 2012


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 at 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



More information about the svn-ports-all mailing list