Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 May 2013 16:13:46 +0000 (UTC)
From:      Jason Helfman <jgh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r317031 - in head/x11: lxpanel terminator xfce4-verve-plugin
Message-ID:  <201305011613.r41GDkFS010862@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jgh
Date: Wed May  1 16:13:45 2013
New Revision: 317031
URL: http://svnweb.freebsd.org/changeset/ports/317031

Log:
  - conversion to USES framework
  
  Approved by:	portmgr (bapt@)

Modified:
  head/x11/lxpanel/Makefile
  head/x11/terminator/Makefile
  head/x11/xfce4-verve-plugin/Makefile

Modified: head/x11/lxpanel/Makefile
==============================================================================
--- head/x11/lxpanel/Makefile	Wed May  1 15:59:48 2013	(r317030)
+++ head/x11/lxpanel/Makefile	Wed May  1 16:13:45 2013	(r317031)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	lxpanel
-# Date created:		Sat Oct 7 01:22:35 CST 2006
-# Whom:			Lin, Cheng-Tao <b89605222@ntu.edu.tw>
-#
+# Created by: Lin, Cheng-Tao <b89605222@ntu.edu.tw>
 # $FreeBSD$
-#
 
 PORTNAME=	lxpanel
 PORTVERSION=	0.5.12
@@ -11,7 +7,7 @@ CATEGORIES=	x11
 MASTER_SITES=	SF/lxde/LXPanel%20%28desktop%20panel%29/LXPanel%20${PORTVERSION}
 
 MAINTAINER=	kmoore@FreeBSD.org
-COMMENT=	LXPanel is a lightweight X11 desktop panel
+COMMENT=	Lightweight X11 desktop panel
 
 LIB_DEPENDS=	menu-cache.1:${PORTSDIR}/x11/menu-cache
 RUN_DEPENDS=	${LOCALBASE}/share/desktop-directories/lxde-audio-video.directory:${PORTSDIR}/x11/lxmenu-data
@@ -20,7 +16,8 @@ OPTIONS_DEFINE=	ALSA NLS
 OPTIONS_DEFAULT=NLS
 
 USE_XORG=	x11 xmu
-USE_GNOME=	gnomehack gtk20 pkgconfig libwnck
+USE_GNOME=	gtk20 libwnck
+USES=		pathfix pkgconfig
 GNU_CONFIGURE=	yes
 USE_AUTOTOOLS=	automake:env
 CONFIGURE_ARGS=	--prefix=${PREFIX} \
@@ -32,7 +29,7 @@ USE_GMAKE=	yes
 
 MAN1=		lxpanel.1 lxpanelctl.1
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MALSA}
 RUN_DEPENDS+=	${LINUXBASE}/lib/libasound.so.2:${PORTSDIR}/audio/linux-f10-alsa-lib
@@ -41,7 +38,7 @@ CONFIGURE_ARGS+=--disable-alsa
 .endif
 
 .if ${PORT_OPTIONS:MNLS}
-USE_GETTEXT=	yes
+USES+=		gettext
 PLIST_SUB+=	NLS=""
 .else
 CONFIGURE_ARGS+=--disable-nls
@@ -54,4 +51,4 @@ pre-patch:
 	@${REINPLACE_CMD} -e 's,$$(DATADIRNAME)/locale,share/locale,' \
 		${WRKSRC}/po/Makefile.in.in
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/x11/terminator/Makefile
==============================================================================
--- head/x11/terminator/Makefile	Wed May  1 15:59:48 2013	(r317030)
+++ head/x11/terminator/Makefile	Wed May  1 16:13:45 2013	(r317031)
@@ -29,17 +29,20 @@ INSTALLS_ICONS=	yes
 
 WANT_GNOME=	yes
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-PYSETUP+=	--without-icon-cache
-.if empty(PORT_OPTIONS:MNLS)
+.if ${PORT_OPTIONS:MNLS}
+USES+=		gettext
+PLIST_SUB+=	NLS=""
+.else
 PLIST_SUB+=	NLS="@comment "
 PYSETUP+=	--without-gettext
-.else
-USE_GETTEXT=	yes
-PLIST_SUB+=	NLS=""
 .endif
 
+.include <bsd.port.pre.mk>
+
+PYSETUP+=	--without-icon-cache
+
 .if ${PORT_OPTIONS:MGCONF}
 USE_GNOME+=	pygnome2
 .endif

Modified: head/x11/xfce4-verve-plugin/Makefile
==============================================================================
--- head/x11/xfce4-verve-plugin/Makefile	Wed May  1 15:59:48 2013	(r317030)
+++ head/x11/xfce4-verve-plugin/Makefile	Wed May  1 16:13:45 2013	(r317031)
@@ -12,7 +12,7 @@ PKGNAMEPREFIX=	xfce4-
 DISTNAME=	${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	xfce@FreeBSD.org
-COMMENT=	A command line plugin for Xfce4
+COMMENT=	Command line plugin for Xfce4
 
 LIB_DEPENDS=	pcre:${PORTSDIR}/devel/pcre
 
@@ -20,18 +20,18 @@ USE_AUTOTOOLS=	libtool
 GNU_CONFIGURE=	yes
 USE_BZIP2=	yes
 USE_GMAKE=	yes
-USE_GNOME=	gnomehack glib20 intltool intlhack
+USE_GNOME=	glib20 intltool intlhack
 USE_XFCE=	configenv panel libexo libgui libutil
-USES=		pkgconfig
+USES=		pkgconfig pathfix
 
 CONFIGURE_ARGS=	--disable-debug
 
 OPTIONS_DEFINE=	NLS DBUS
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MNLS}
-USE_GETTEXT=	yes
+USES+=		gettext
 CONFIGURE_ARGS+=--enable-nls
 PLIST_SUB+=	NLS=""
 .else
@@ -48,4 +48,4 @@ CONFIGURE_ARGS+=--disable-dbus
 PLIST_SUB+=	DBUS="@comment "
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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