mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-05 11:35:01 +00:00
Finish converting sysutils from WITHOUT_NLS to PORT_OPTIONS:MNLS
While here convert bacula-server from USE_GETTEXT to USES=gettext
This commit is contained in:
parent
3657d5cb0d
commit
86d16f2675
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317491
@ -29,7 +29,7 @@ OPTIONS_DEFINE?= SQLITE3 MYSQL PGSQL MTX NLS OPENSSL
|
||||
OPTIONS_DEFAULT?= NLS OPENSSL PGSQL
|
||||
MTX_DESC= Install mtx for control of autochanger devices
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PKGNAMESUFFIX} == "-client" || ${PKGNAMESUFFIX} == "-server" #Till end of the file
|
||||
|
||||
@ -87,8 +87,8 @@ SUB_LIST= BACULA_USER=${BACULA_USER} \
|
||||
BACULA_GID=${BACULA_GID} \
|
||||
BACULA_DIR=${BACULA_DIR}
|
||||
|
||||
.if !defined(WITHOUT_NLS)
|
||||
USE_GETTEXT= yes
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USES+= gettext
|
||||
CONFIGURE_ARGS+= --enable-nls
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-nls
|
||||
@ -264,4 +264,4 @@ post-install:
|
||||
.else
|
||||
.include "${MASTERDIR}/Makefile.common"
|
||||
.endif # -client and -server are defined
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,9 +1,5 @@
|
||||
# New ports collection makefile for: dar
|
||||
# Date created: 3 January 2004
|
||||
# Whom: Edson Brandi <ebrandi@fugspbr.org>
|
||||
#
|
||||
# Created by: Edson Brandi <ebrandi@fugspbr.org>
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= dar
|
||||
PORTVERSION= 2.3.11
|
||||
@ -23,7 +19,9 @@ CPPFLAGS+= -DHAVE_DECL_GETOPT=0
|
||||
|
||||
MAN1= dar.1 dar_cp.1 dar_manager.1 dar_slave.1 dar_xform.1
|
||||
|
||||
.if !defined(WITHOUT_NLS)
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USES+= gettext
|
||||
PLIST_SUB+= NLS=""
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
@ -35,7 +33,7 @@ PLIST_SUB+= NLS="@comment "
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html *.dtd *.txt *.jpg [CR]* ${DOCSDIR}
|
||||
@${MKDIR} ${DOCSDIR}/samples
|
||||
|
@ -1,9 +1,5 @@
|
||||
# New ports collection makefile for: dc3dd
|
||||
# Date created: 15 February 2011
|
||||
# Whom: MANTANI Nobutaka <nobutaka@FreeBSD.org>
|
||||
#
|
||||
# Created by: MANTANI Nobutaka <nobutaka@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= dc3dd
|
||||
PORTVERSION= 7.1.614
|
||||
@ -25,11 +21,13 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
MAN1= dc3dd.1
|
||||
|
||||
.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
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -27,12 +27,14 @@ MAKE_JOBS_SAFE= yes
|
||||
|
||||
MAN1= eiciel.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
|
||||
PLIST_SUB+= NLS=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-nls
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
|
@ -27,12 +27,14 @@ USES= fuse
|
||||
USE_GMAKE= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
.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
|
||||
|
||||
MAN1= encfs.1 encfsctl.1
|
||||
|
@ -1,10 +1,6 @@
|
||||
# New ports collection makefile for: gnome-schedule
|
||||
# Date created: 2004-11-06
|
||||
# Whom: Michael Johnson <ahze@FreeBSD.org>
|
||||
#
|
||||
# Created by: Michael Johnson <ahze@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
# $MCom: ports/sysutils/gnome-schedule/Makefile,v 1.5 2007/09/10 06:20:14 mezz Exp $
|
||||
#
|
||||
|
||||
PORTNAME= gnome-schedule
|
||||
PORTVERSION= 2.1.5
|
||||
@ -26,7 +22,7 @@ USE_GNOME= gnomeprefix gnomehack pygnome2
|
||||
INSTALLS_OMF= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
.if !defined(WITHOUT_APPLET)
|
||||
.if !defined(WITHOUT_APPLET)
|
||||
CONFIGURE_ARGS+= --enable-applet
|
||||
PLIST_SUB+= APPLET=""
|
||||
.else
|
||||
@ -34,7 +30,9 @@ CONFIGURE_ARGS+= --disable-applet
|
||||
PLIST_SUB+= APPLET="@comment "
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_NLS)
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USES+= gettext
|
||||
PLIST_SUB+= NLS=""
|
||||
.else
|
||||
|
@ -1,9 +1,5 @@
|
||||
# New ports collection makefile for: lxinput
|
||||
# Date created: 2010/09/24
|
||||
# Whom: Kris Moore <kmoore@freebsd.org>
|
||||
#
|
||||
# Created by: Kris Moore <kmoore@freebsd.org>
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= lxinput
|
||||
PORTVERSION= 0.3.1
|
||||
@ -22,7 +18,9 @@ USE_LDCONFIG= yes
|
||||
CONFIGURE_ARGS= --prefix=${PREFIX}
|
||||
MAN1= lxinput.1
|
||||
|
||||
.if !defined(WITHOUT_NLS)
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USES+= gettext
|
||||
PLIST_SUB+= NLS=""
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
|
@ -16,7 +16,9 @@ USES= iconv
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
.if !defined(WITHOUT_NLS)
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USES+= gettext
|
||||
PLIST_SUB+= NLS=""
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
|
@ -1,9 +1,5 @@
|
||||
# New ports collection makefile for: lxterminal
|
||||
# Date created: 2010/09/24
|
||||
# Whom: Kris Moore <kmoore@freebsd.org>
|
||||
#
|
||||
# Created by: Kris Moore <kmoore@freebsd.org>
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= lxterminal
|
||||
PORTVERSION= 0.1.11
|
||||
@ -24,7 +20,9 @@ USE_LDCONFIG= yes
|
||||
CONFIGURE_ARGS= --prefix=${PREFIX}
|
||||
MAN1= lxterminal.1
|
||||
|
||||
.if !defined(WITHOUT_NLS)
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USES+= gettext
|
||||
PLIST_SUB+= NLS=""
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
|
@ -1,9 +1,5 @@
|
||||
# New ports collection makefile for: progsreiserfs
|
||||
# Date created: May 13 2004
|
||||
# Whom: Florent Thoumie <flz@xbsd.org>
|
||||
#
|
||||
# Created by: Florent Thoumie <flz@xbsd.org>
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= progsreiserfs
|
||||
PORTVERSION= 0.3.1.r8
|
||||
@ -22,12 +18,14 @@ CFLAGS+= -Dgetopt_long_only=getopt_long
|
||||
|
||||
EXTRA_PATCHES= ${FILESDIR}/extrapatch-progsreiserfs::libmisc::Makefile.in
|
||||
|
||||
.if defined(WITHOUT_NLS)
|
||||
CONFIGURE_ARGS+=--disable-nls
|
||||
.else
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USES+= gettext
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-nls
|
||||
.endif
|
||||
|
||||
MAN8= cpfs.reiserfs.8 mkfs.reiserfs.8 reiserfs.8 \
|
||||
|
@ -1,9 +1,5 @@
|
||||
# New ports collection makefile for: RelaxBSD
|
||||
# Date created: 2005-10-12
|
||||
# Whom: Yinghong Liu <relaxbsd@gmail.com>
|
||||
#
|
||||
# Created by: Yinghong Liu <relaxbsd@gmail.com>
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= relaxconf
|
||||
PORTVERSION= 1.1.1
|
||||
@ -20,12 +16,14 @@ RUN_DEPENDS= cdialog:${PORTSDIR}/devel/cdialog \
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
.if defined(WITHOUT_NLS)
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
CONFIGURE_ARGS+=--disable-nls
|
||||
.else
|
||||
.include <bsd.port.options.mK>
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
PLIST_SUB+= NLS=""
|
||||
USES+= gettext
|
||||
.else
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
CONFIGURE_ARGS+=--disable-nls
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
x
Reference in New Issue
Block a user