Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 May 2013 06:41:16 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
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
Message-ID:  <201305060641.r466fGGr058288@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <romain@blogreen.org>
-#
+# Created by: Romain Tartière <romain@blogreen.org>
 # $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 <bsd.port.options.mk>
+
+.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 <bsd.port.options.mk>
+
+.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 <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
 USES+=		gettext
 PLIST_SUB+=	NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+=	NLS="@comment "
 .endif
 
 .include <bsd.port.mk>

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 <bsd@tuxproject.de>
-#
+# Created by: Jens K. Loewe <bsd@tuxproject.de>
 # $FreeBSD$
-#
 
 PORTNAME=	rodent
 PORTVERSION=	4.8.0
@@ -35,7 +31,9 @@ PORTDOCS=	*
 
 MAN1=		fgr.1
 
-.if !defined(WITHOUT_NLS)
+.include <bsd.port.options.mk>
+
+.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 <bsd.port.pre.mk>
-
 .if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
 BROKEN=		Does not compile on ia64, powerpc, or sparc64
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

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 <vanilla@MinJe.com.TW>
-#
+# Created by: Vanilla I. Shu <vanilla@MinJe.com.TW>
 # $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 <bsd.port.options.mk>
+
+.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 <bsd.port.options.mk>
+
+.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 <bsd.port.options.mk>
+
+.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 <bsd.port.options.mk>
+
+.if ${PORT_OTPIONS:MNLS}
 USES+=		gettext
 PLIST_SUB+=	NLS=""
 .else



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