From owner-svn-ports-all@FreeBSD.ORG Mon May 6 06:41:18 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1905D441; Mon, 6 May 2013 06:41:18 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 09201333; Mon, 6 May 2013 06:41:18 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r466fHZ6058299; Mon, 6 May 2013 06:41:17 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r466fGGr058288; Mon, 6 May 2013 06:41:16 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201305060641.r466fGGr058288@svn.freebsd.org> From: Baptiste Daroussin Date: Mon, 6 May 2013 06:41:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r317470 - in head: x11-clocks/alarm-clock x11-clocks/cairo-clock x11-fm/gnome-commander2 x11-fm/rodent x11-toolkits/gtk12 x11-wm/lxsession x11-wm/obconf x11-wm/openbox X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 May 2013 06:41:18 -0000 Author: bapt Date: Mon May 6 06:41:15 2013 New Revision: 317470 URL: http://svnweb.freebsd.org/changeset/ports/317470 Log: Finish converting x11* from WITHOUT_NLS to PORT_OPTIONS:MNLS Modified: head/x11-clocks/alarm-clock/Makefile head/x11-clocks/cairo-clock/Makefile head/x11-fm/gnome-commander2/Makefile head/x11-fm/rodent/Makefile head/x11-toolkits/gtk12/Makefile head/x11-wm/lxsession/Makefile head/x11-wm/obconf/Makefile head/x11-wm/openbox/Makefile Modified: head/x11-clocks/alarm-clock/Makefile ============================================================================== --- head/x11-clocks/alarm-clock/Makefile Mon May 6 06:32:22 2013 (r317469) +++ head/x11-clocks/alarm-clock/Makefile Mon May 6 06:41:15 2013 (r317470) @@ -1,9 +1,5 @@ -# New ports collection makefile for: alarm-clock -# Date created: 2008-06-16 -# Whom: Romain Tartière -# +# Created by: Romain Tartière # $FreeBSD$ -# PORTNAME= alarm-clock PORTVERSION= 1.4 @@ -19,12 +15,14 @@ LIB_DEPENDS= unique-1:${PORTSDIR}/x11-to GNU_CONFIGURE= yes USE_BZIP2= yes -USES= gettext +USES= gettext pathfix USE_GMAKE= yes USE_GSTREAMER= yes -USE_GNOME= gnomehack gtk20 +USE_GNOME= gtk20 -.if !defined(WITHOUT_NLS) +.include + +.if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .else Modified: head/x11-clocks/cairo-clock/Makefile ============================================================================== --- head/x11-clocks/cairo-clock/Makefile Mon May 6 06:32:22 2013 (r317469) +++ head/x11-clocks/cairo-clock/Makefile Mon May 6 06:41:15 2013 (r317470) @@ -1,9 +1,5 @@ -# New ports collection makefile for: cairo-clock -# Date created: 2007/01/16 -# Whom: chinsan -# +# Created by: chinsan # $FreeBSD$ -# PORTNAME= cairo-clock PORTVERSION= 0.3.4 @@ -21,7 +17,9 @@ GNU_CONFIGURE= yes USE_LDCONFIG= yes MAN1= cairo-clock.1 -.if !defined(WITHOUT_NLS) +.include + +.if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" CPPFLAGS+= -I${LOCALBASE}/include @@ -37,7 +35,7 @@ post-patch: ${WRKSRC}/man/Makefile.in post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} .for file in README NEWS AUTHORS TODO ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} Modified: head/x11-fm/gnome-commander2/Makefile ============================================================================== --- head/x11-fm/gnome-commander2/Makefile Mon May 6 06:32:22 2013 (r317469) +++ head/x11-fm/gnome-commander2/Makefile Mon May 6 06:41:15 2013 (r317470) @@ -37,12 +37,14 @@ MAN1= gnome-commander.1 pre-configure: cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTORECONF} -W none -.if defined(WITHOUT_NLS) -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.else +.include + +.if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " .endif .include Modified: head/x11-fm/rodent/Makefile ============================================================================== --- head/x11-fm/rodent/Makefile Mon May 6 06:32:22 2013 (r317469) +++ head/x11-fm/rodent/Makefile Mon May 6 06:41:15 2013 (r317470) @@ -1,9 +1,5 @@ -# Ports collection Makefile for: rodent -# Date created: 16 March 2012 -# Whom: Jens K. Loewe -# +# Created by: Jens K. Loewe # $FreeBSD$ -# PORTNAME= rodent PORTVERSION= 4.8.0 @@ -35,7 +31,9 @@ PORTDOCS= * MAN1= fgr.1 -.if !defined(WITHOUT_NLS) +.include + +.if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .else @@ -47,10 +45,8 @@ post-patch: ${REINPLACE_CMD} -e 's,^\(docdir = \).*,\1${DOCSDIR},' \ ${WRKSRC}/Build/share/Makefile.in -.include - .if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64" BROKEN= Does not compile on ia64, powerpc, or sparc64 .endif -.include +.include Modified: head/x11-toolkits/gtk12/Makefile ============================================================================== --- head/x11-toolkits/gtk12/Makefile Mon May 6 06:32:22 2013 (r317469) +++ head/x11-toolkits/gtk12/Makefile Mon May 6 06:41:15 2013 (r317470) @@ -1,7 +1,4 @@ -# New ports collection makefile for: gtk12 -# Date Created: 28 Sep 1997 -# Whom: Vanilla I. Shu -# +# Created by: Vanilla I. Shu # $FreeBSD$ # $MCom: ports/x11-toolkits/gtk12/Makefile,v 1.3 2006/10/09 19:31:53 ahze Exp $ @@ -26,7 +23,13 @@ CONFIGURE_ARGS= --includedir=${PREFIX}/i CONFIGURE_ENV= X_CFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" CPPFLAGS+= -I${LOCALBASE}/include -.if !defined(WITHOUT_NLS) + +INFO= gdk gtk +MAN1= gtk-config.1 + +.include + +.if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .else @@ -34,9 +37,6 @@ CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " .endif -INFO= gdk gtk -MAN1= gtk-config.1 - pre-build: ${RM} -rf ${WRKSRC}/docs/gtk.info* Modified: head/x11-wm/lxsession/Makefile ============================================================================== --- head/x11-wm/lxsession/Makefile Mon May 6 06:32:22 2013 (r317469) +++ head/x11-wm/lxsession/Makefile Mon May 6 06:41:15 2013 (r317470) @@ -1,9 +1,5 @@ -# New ports collection makefile for: lxsession -# Date created: 2008/06/20 -# Whom: chinsan -# +# Created by: chinsan # $FreeBSD$ -# PORTNAME= lxsession PORTVERSION= 0.4.6.1 @@ -31,7 +27,9 @@ MAN1= lxsession.1 lxsession-logout.1 CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -.if !defined(WITHOUT_NLS) +.include + +.if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .else Modified: head/x11-wm/obconf/Makefile ============================================================================== --- head/x11-wm/obconf/Makefile Mon May 6 06:32:22 2013 (r317469) +++ head/x11-wm/obconf/Makefile Mon May 6 06:41:15 2013 (r317470) @@ -25,16 +25,18 @@ LDFLAGS+= -L${LOCALBASE}/lib PORTDOCS= ABOUT-NLS AUTHORS README TODO -.if defined(WITHOUT_NLS) -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.else +.include + +.if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " .endif post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} .for file in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} Modified: head/x11-wm/openbox/Makefile ============================================================================== --- head/x11-wm/openbox/Makefile Mon May 6 06:32:22 2013 (r317469) +++ head/x11-wm/openbox/Makefile Mon May 6 06:41:15 2013 (r317470) @@ -25,7 +25,9 @@ MAN1= openbox.1 openbox-session.1 obxpr PLIST_SUB= VERSION=${PORTVERSION:C/.[0-9]+\$//} -.if !defined(WITHOUT_NLS) +.include + +.if ${PORT_OTPIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .else