mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Finish converting x11* from WITHOUT_NLS to PORT_OPTIONS:MNLS
This commit is contained in:
parent
7cdc62b981
commit
83b78f74bc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317470
8 changed files with 44 additions and 48 deletions
|
@ -1,9 +1,5 @@
|
||||||
# New ports collection makefile for: alarm-clock
|
# Created by: Romain Tartière <romain@blogreen.org>
|
||||||
# Date created: 2008-06-16
|
|
||||||
# Whom: Romain Tartière <romain@blogreen.org>
|
|
||||||
#
|
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
|
||||||
|
|
||||||
PORTNAME= alarm-clock
|
PORTNAME= alarm-clock
|
||||||
PORTVERSION= 1.4
|
PORTVERSION= 1.4
|
||||||
|
@ -19,12 +15,14 @@ LIB_DEPENDS= unique-1:${PORTSDIR}/x11-toolkits/unique \
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
USE_BZIP2= yes
|
USE_BZIP2= yes
|
||||||
USES= gettext
|
USES= gettext pathfix
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
USE_GSTREAMER= 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
|
USES+= gettext
|
||||||
PLIST_SUB+= NLS=""
|
PLIST_SUB+= NLS=""
|
||||||
.else
|
.else
|
||||||
|
|
|
@ -1,9 +1,5 @@
|
||||||
# New ports collection makefile for: cairo-clock
|
# Created by: chinsan
|
||||||
# Date created: 2007/01/16
|
|
||||||
# Whom: chinsan
|
|
||||||
#
|
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
|
||||||
|
|
||||||
PORTNAME= cairo-clock
|
PORTNAME= cairo-clock
|
||||||
PORTVERSION= 0.3.4
|
PORTVERSION= 0.3.4
|
||||||
|
@ -21,7 +17,9 @@ GNU_CONFIGURE= yes
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
MAN1= cairo-clock.1
|
MAN1= cairo-clock.1
|
||||||
|
|
||||||
.if !defined(WITHOUT_NLS)
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
|
.if ${PORT_OPTIONS:MNLS}
|
||||||
USES+= gettext
|
USES+= gettext
|
||||||
PLIST_SUB+= NLS=""
|
PLIST_SUB+= NLS=""
|
||||||
CPPFLAGS+= -I${LOCALBASE}/include
|
CPPFLAGS+= -I${LOCALBASE}/include
|
||||||
|
@ -37,7 +35,7 @@ post-patch:
|
||||||
${WRKSRC}/man/Makefile.in
|
${WRKSRC}/man/Makefile.in
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(NOPORTDOCS)
|
.if ${PORT_OPTIONS:MDOCS}
|
||||||
@${MKDIR} ${DOCSDIR}
|
@${MKDIR} ${DOCSDIR}
|
||||||
.for file in README NEWS AUTHORS TODO
|
.for file in README NEWS AUTHORS TODO
|
||||||
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
||||||
|
|
|
@ -37,12 +37,14 @@ MAN1= gnome-commander.1
|
||||||
pre-configure:
|
pre-configure:
|
||||||
cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTORECONF} -W none
|
cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTORECONF} -W none
|
||||||
|
|
||||||
.if defined(WITHOUT_NLS)
|
.include <bsd.port.options.mk>
|
||||||
CONFIGURE_ARGS+=--disable-nls
|
|
||||||
PLIST_SUB+= NLS="@comment "
|
.if ${PORT_OPTIONS:MNLS}
|
||||||
.else
|
|
||||||
USES+= gettext
|
USES+= gettext
|
||||||
PLIST_SUB+= NLS=""
|
PLIST_SUB+= NLS=""
|
||||||
|
.else
|
||||||
|
CONFIGURE_ARGS+=--disable-nls
|
||||||
|
PLIST_SUB+= NLS="@comment "
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,9 +1,5 @@
|
||||||
# Ports collection Makefile for: rodent
|
# Created by: Jens K. Loewe <bsd@tuxproject.de>
|
||||||
# Date created: 16 March 2012
|
|
||||||
# Whom: Jens K. Loewe <bsd@tuxproject.de>
|
|
||||||
#
|
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
|
||||||
|
|
||||||
PORTNAME= rodent
|
PORTNAME= rodent
|
||||||
PORTVERSION= 4.8.0
|
PORTVERSION= 4.8.0
|
||||||
|
@ -35,7 +31,9 @@ PORTDOCS= *
|
||||||
|
|
||||||
MAN1= fgr.1
|
MAN1= fgr.1
|
||||||
|
|
||||||
.if !defined(WITHOUT_NLS)
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
|
.if ${PORT_OPTIONS:MNLS}
|
||||||
USES+= gettext
|
USES+= gettext
|
||||||
PLIST_SUB+= NLS=""
|
PLIST_SUB+= NLS=""
|
||||||
.else
|
.else
|
||||||
|
@ -47,10 +45,8 @@ post-patch:
|
||||||
${REINPLACE_CMD} -e 's,^\(docdir = \).*,\1${DOCSDIR},' \
|
${REINPLACE_CMD} -e 's,^\(docdir = \).*,\1${DOCSDIR},' \
|
||||||
${WRKSRC}/Build/share/Makefile.in
|
${WRKSRC}/Build/share/Makefile.in
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
|
||||||
|
|
||||||
.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
|
.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
|
||||||
BROKEN= Does not compile on ia64, powerpc, or sparc64
|
BROKEN= Does not compile on ia64, powerpc, or sparc64
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
# New ports collection makefile for: gtk12
|
# Created by: Vanilla I. Shu <vanilla@MinJe.com.TW>
|
||||||
# Date Created: 28 Sep 1997
|
|
||||||
# Whom: Vanilla I. Shu <vanilla@MinJe.com.TW>
|
|
||||||
#
|
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
# $MCom: ports/x11-toolkits/gtk12/Makefile,v 1.3 2006/10/09 19:31:53 ahze Exp $
|
# $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}/include/gtk12 --with-native-locale \
|
||||||
CONFIGURE_ENV= X_CFLAGS="-I${LOCALBASE}/include" \
|
CONFIGURE_ENV= X_CFLAGS="-I${LOCALBASE}/include" \
|
||||||
LIBS="-L${LOCALBASE}/lib"
|
LIBS="-L${LOCALBASE}/lib"
|
||||||
CPPFLAGS+= -I${LOCALBASE}/include
|
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
|
USES+= gettext
|
||||||
PLIST_SUB+= NLS=""
|
PLIST_SUB+= NLS=""
|
||||||
.else
|
.else
|
||||||
|
@ -34,9 +37,6 @@ CONFIGURE_ARGS+=--disable-nls
|
||||||
PLIST_SUB+= NLS="@comment "
|
PLIST_SUB+= NLS="@comment "
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
INFO= gdk gtk
|
|
||||||
MAN1= gtk-config.1
|
|
||||||
|
|
||||||
pre-build:
|
pre-build:
|
||||||
${RM} -rf ${WRKSRC}/docs/gtk.info*
|
${RM} -rf ${WRKSRC}/docs/gtk.info*
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,5 @@
|
||||||
# New ports collection makefile for: lxsession
|
# Created by: chinsan
|
||||||
# Date created: 2008/06/20
|
|
||||||
# Whom: chinsan
|
|
||||||
#
|
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
|
||||||
|
|
||||||
PORTNAME= lxsession
|
PORTNAME= lxsession
|
||||||
PORTVERSION= 0.4.6.1
|
PORTVERSION= 0.4.6.1
|
||||||
|
@ -31,7 +27,9 @@ MAN1= lxsession.1 lxsession-logout.1
|
||||||
CPPFLAGS+= -I${LOCALBASE}/include
|
CPPFLAGS+= -I${LOCALBASE}/include
|
||||||
LDFLAGS+= -L${LOCALBASE}/lib
|
LDFLAGS+= -L${LOCALBASE}/lib
|
||||||
|
|
||||||
.if !defined(WITHOUT_NLS)
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
|
.if ${PORT_OPTIONS:MNLS}
|
||||||
USES+= gettext
|
USES+= gettext
|
||||||
PLIST_SUB+= NLS=""
|
PLIST_SUB+= NLS=""
|
||||||
.else
|
.else
|
||||||
|
|
|
@ -25,16 +25,18 @@ LDFLAGS+= -L${LOCALBASE}/lib
|
||||||
|
|
||||||
PORTDOCS= ABOUT-NLS AUTHORS README TODO
|
PORTDOCS= ABOUT-NLS AUTHORS README TODO
|
||||||
|
|
||||||
.if defined(WITHOUT_NLS)
|
.include <bsd.port.options.mk>
|
||||||
CONFIGURE_ARGS+= --disable-nls
|
|
||||||
PLIST_SUB+= NLS="@comment "
|
.if ${PORT_OPTIONS:MNLS}
|
||||||
.else
|
|
||||||
USES+= gettext
|
USES+= gettext
|
||||||
PLIST_SUB+= NLS=""
|
PLIST_SUB+= NLS=""
|
||||||
|
.else
|
||||||
|
CONFIGURE_ARGS+= --disable-nls
|
||||||
|
PLIST_SUB+= NLS="@comment "
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(NOPORTDOCS)
|
.if ${PORT_OPTIONS:MDOCS}
|
||||||
@${MKDIR} ${DOCSDIR}
|
@${MKDIR} ${DOCSDIR}
|
||||||
.for file in ${PORTDOCS}
|
.for file in ${PORTDOCS}
|
||||||
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
||||||
|
|
|
@ -25,7 +25,9 @@ MAN1= openbox.1 openbox-session.1 obxprop.1 \
|
||||||
|
|
||||||
PLIST_SUB= VERSION=${PORTVERSION:C/.[0-9]+\$//}
|
PLIST_SUB= VERSION=${PORTVERSION:C/.[0-9]+\$//}
|
||||||
|
|
||||||
.if !defined(WITHOUT_NLS)
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
|
.if ${PORT_OTPIONS:MNLS}
|
||||||
USES+= gettext
|
USES+= gettext
|
||||||
PLIST_SUB+= NLS=""
|
PLIST_SUB+= NLS=""
|
||||||
.else
|
.else
|
||||||
|
|
Loading…
Add table
Reference in a new issue