diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-05-06 06:41:15 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-05-06 06:41:15 +0000 |
commit | 83b78f74bc2950ee008c02c566afb23f13d607c6 (patch) | |
tree | 57e0d36f5252dfbcbd76ce8c591f83f1cd36486a /x11-wm | |
parent | - adoption of USES for gettext (diff) |
Finish converting x11* from WITHOUT_NLS to PORT_OPTIONS:MNLS
Notes
Notes:
svn path=/head/; revision=317470
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/lxsession/Makefile | 10 | ||||
-rw-r--r-- | x11-wm/obconf/Makefile | 12 | ||||
-rw-r--r-- | x11-wm/openbox/Makefile | 4 |
3 files changed, 14 insertions, 12 deletions
diff --git a/x11-wm/lxsession/Makefile b/x11-wm/lxsession/Makefile index 40a2e5b9feec..51db71a5b86c 100644 --- a/x11-wm/lxsession/Makefile +++ b/x11-wm/lxsession/Makefile @@ -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 diff --git a/x11-wm/obconf/Makefile b/x11-wm/obconf/Makefile index 83a13355ebeb..7a8966d37358 100644 --- a/x11-wm/obconf/Makefile +++ b/x11-wm/obconf/Makefile @@ -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} diff --git a/x11-wm/openbox/Makefile b/x11-wm/openbox/Makefile index 1a489322e4bd..f5d72cc796b8 100644 --- a/x11-wm/openbox/Makefile +++ b/x11-wm/openbox/Makefile @@ -25,7 +25,9 @@ MAN1= openbox.1 openbox-session.1 obxprop.1 \ 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 |