svn commit: r321469 - head/x11-wm/lxsession
William Grzybowski
wg at FreeBSD.org
Fri Jun 21 13:07:17 UTC 2013
Author: wg
Date: Fri Jun 21 13:07:17 2013
New Revision: 321469
URL: http://svnweb.freebsd.org/changeset/ports/321469
Log:
x11-wm/lxsession: fix NLS option
- Fix NLS option [1]
- Pass maintainership to submitter
PR: ports/179698
Submitted by: nemysis <nemysis at gmx.ch>
Modified:
head/x11-wm/lxsession/Makefile
head/x11-wm/lxsession/pkg-plist
Modified: head/x11-wm/lxsession/Makefile
==============================================================================
--- head/x11-wm/lxsession/Makefile Fri Jun 21 12:41:33 2013 (r321468)
+++ head/x11-wm/lxsession/Makefile Fri Jun 21 13:07:17 2013 (r321469)
@@ -7,7 +7,7 @@ PORTREVISION= 1
CATEGORIES= x11-wm
MASTER_SITES= SF/lxde/LXSession%20%28session%20manager%29/LXSession%20${PORTVERSION}
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= nemysis at gmx.ch
COMMENT= LXDE Session Manager
LIB_DEPENDS= hal.1:${PORTSDIR}/sysutils/hal
@@ -27,14 +27,21 @@ MAN1= lxsession.1 lxsession-logout.1
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+OPTIONS_DEFINE= NLS
+
.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-patch:
+.if ! ${PORT_OPTIONS:MNLS}
+ @${REINPLACE_CMD} -e 's|po man|man|' \
+ ${WRKSRC}/Makefile.in
+.endif
+
.include <bsd.port.mk>
Modified: head/x11-wm/lxsession/pkg-plist
==============================================================================
--- head/x11-wm/lxsession/pkg-plist Fri Jun 21 12:41:33 2013 (r321468)
+++ head/x11-wm/lxsession/pkg-plist Fri Jun 21 13:07:17 2013 (r321469)
@@ -46,9 +46,9 @@ bin/lxsession-logout
%%NLS%%share/locale/pt_BR/LC_MESSAGES/lxsession.mo
%%NLS%%share/locale/ro/LC_MESSAGES/lxsession.mo
%%NLS%%share/locale/ru/LC_MESSAGES/lxsession.mo
-%%NLS%%share/locale/sl/LC_MESSAGES/lxsession.mo
%%NLS%%share/locale/si/LC_MESSAGES/lxsession.mo
%%NLS%%share/locale/sk/LC_MESSAGES/lxsession.mo
+%%NLS%%share/locale/sl/LC_MESSAGES/lxsession.mo
%%NLS%%share/locale/sr/LC_MESSAGES/lxsession.mo
%%NLS%%share/locale/sr at latin/LC_MESSAGES/lxsession.mo
%%NLS%%share/locale/sv/LC_MESSAGES/lxsession.mo
@@ -70,31 +70,13 @@ bin/lxsession-logout
%%DATADIR%%/images/system-shutdown.png
@dirrm %%DATADIR%%/images
@dirrm %%DATADIR%%
- at dirrmtry share/locale/ast/LC_MESSAGES
- at dirrmtry share/locale/ast
- at dirrmtry share/locale/bn_IN/LC_MESSAGES
- at dirrmtry share/locale/bn_IN
- at dirrmtry share/locale/es_VE/LC_MESSAGES
- at dirrmtry share/locale/es_VE
- at dirrmtry share/locale/fo/LC_MESSAGES
- at dirrmtry share/locale/fo
- at dirrmtry share/locale/frp/LC_MESSAGES
- at dirrmtry share/locale/frp
- at dirrmtry share/locale/lg/LC_MESSAGES
- at dirrmtry share/locale/lg
- at dirrmtry share/locale/ps/LC_MESSAGES
- at dirrmtry share/locale/ps
- at dirrmtry share/locale/si/LC_MESSAGES
- at dirrmtry share/locale/si
- at dirrmtry share/locale/sr at latin/LC_MESSAGES
- at dirrmtry share/locale/sr at latin
- at dirrmtry share/locale/te/LC_MESSAGES
- at dirrmtry share/locale/te
- at dirrmtry share/locale/tt_RU/LC_MESSAGES
- at dirrmtry share/locale/tt_RU
- at dirrmtry share/locale/ur_PK/LC_MESSAGES
- at dirrmtry share/locale/ur_PK
- at dirrmtry share/locale/ur/LC_MESSAGES
- at dirrmtry share/locale/ur
- at dirrmtry share/locale/vi/LC_MESSAGES
- at dirrmtry share/locale/vi
+%%NLS%%@dirrmtry share/locale/ur_PK/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/ur_PK
+%%NLS%%@dirrmtry share/locale/tt_RU/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/tt_RU
+%%NLS%%@dirrmtry share/locale/lg/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/lg
+%%NLS%%@dirrmtry share/locale/frp/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/frp
+%%NLS%%@dirrmtry share/locale/es_VE/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/es_VE
More information about the svn-ports-head
mailing list