From 9882047ad2debf17d1d69d7de5c31ceb017d2c81 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Mon, 6 May 2013 07:01:48 +0000 Subject: [PATCH] Finish converting e* from WITHOUT_NLS to PORT_OPTIONS:MNLS --- editors/ssed/Makefile | 16 +++++++--------- editors/zoinks/Makefile | 18 ++++++++---------- emulators/gxmame/Makefile | 10 ++++++---- emulators/tiemu3/Makefile | 4 +++- 4 files changed, 24 insertions(+), 24 deletions(-) diff --git a/editors/ssed/Makefile b/editors/ssed/Makefile index e1343fda9876..825cee580c68 100644 --- a/editors/ssed/Makefile +++ b/editors/ssed/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: ssed -# Date created: 28 May 2002 -# Whom: verm -# +# Created by: verm # $FreeBSD$ -# PORTNAME= sed PORTVERSION= 3.62 @@ -20,13 +16,15 @@ CONFIGURE_ARGS= --program-prefix=s MAN1= ssed.1 -.if defined(WITHOUT_NLS) -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.else +.include + +.if ${PORT_OPTIONS:MNLS} USES+= gettext CONFIGURE_ARGS+= --with-libiconv-prefix=${LOCALBASE} PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " .endif .include diff --git a/editors/zoinks/Makefile b/editors/zoinks/Makefile index e7e93b4ef277..d391ae1ae8e9 100644 --- a/editors/zoinks/Makefile +++ b/editors/zoinks/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: zoinks -# Date created: 26 July 2003 -# Whom: Mike Lockwood -# +# Created by: Mike Lockwood # $FreeBSD$ -# PORTNAME= zoinks PORTVERSION= 0.3.7 @@ -12,7 +8,7 @@ CATEGORIES= editors MASTER_SITES= http://zoinks.mikelockwood.com/download/ MAINTAINER= mike@mikelockwood.com -COMMENT= An X11 programmer's editor and development environment +COMMENT= X11 programmer's editor and development environment .if defined(WITH_IMLIB) USE_GNOME= imlib @@ -21,7 +17,12 @@ CONFIGURE_ARGS+= --enable-imlib CONFIGURE_ARGS+= --disable-imlib .endif -.if !defined(WITHOUT_NLS) +USE_XORG= xpm +GNU_CONFIGURE= yes + +.include + +.if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .else @@ -29,9 +30,6 @@ CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " .endif -USE_XORG= xpm -GNU_CONFIGURE= yes - pre-everything:: @${ECHO_MSG} "" @${ECHO_MSG} "Zoinks can be built with optional support for calculating image sizes" diff --git a/emulators/gxmame/Makefile b/emulators/gxmame/Makefile index 88a147a69e62..33643773b53f 100644 --- a/emulators/gxmame/Makefile +++ b/emulators/gxmame/Makefile @@ -15,7 +15,7 @@ COMMENT= GXmame is a GTK frontend for xmame LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 RUN_DEPENDS= xmame:${PORTSDIR}/emulators/xmame -USES= pathfix +USES= pathfix USE_GNOME= gtk20 intlhack gnomeprefix USE_GMAKE= yes GNU_CONFIGURE= yes @@ -23,11 +23,13 @@ GNU_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --with-xmame-dir=${LOCALBASE}/share/xmame -.if defined(WITHOUT_NLS) +.include + +.if ${PORT_OPTIONS:MNLS} +PLIST_SUB+= NLS="" +.else CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " -.else -PLIST_SUB+= NLS="" .endif MAN6= gxmame.6 diff --git a/emulators/tiemu3/Makefile b/emulators/tiemu3/Makefile index 2439f729d47a..27962c66a989 100644 --- a/emulators/tiemu3/Makefile +++ b/emulators/tiemu3/Makefile @@ -27,7 +27,9 @@ CONFIGURE_ARGS= --disable-gdb MAN1= tiemu.1 -.if !defined(WITHOUT_NLS) +.include + +.if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB= NLS="" .else