1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Finish converting e* from WITHOUT_NLS to PORT_OPTIONS:MNLS

This commit is contained in:
Baptiste Daroussin 2013-05-06 07:01:48 +00:00
parent b8e1c3bed3
commit 9882047ad2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317474
4 changed files with 24 additions and 24 deletions

View File

@ -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 <bsd.port.options.mk>
.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 <bsd.port.mk>

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: zoinks
# Date created: 26 July 2003
# Whom: Mike Lockwood <mike@mikelockwood.com>
#
# Created by: Mike Lockwood <mike@mikelockwood.com>
# $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 <bsd.port.options.mk>
.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"

View File

@ -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 <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.else
PLIST_SUB+= NLS=""
.endif
MAN6= gxmame.6

View File

@ -27,7 +27,9 @@ CONFIGURE_ARGS= --disable-gdb
MAN1= tiemu.1
.if !defined(WITHOUT_NLS)
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB= NLS=""
.else