Date: Fri, 21 Jun 2013 13:07:17 +0000 (UTC) From: William Grzybowski <wg@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r321469 - head/x11-wm/lxsession Message-ID: <201306211307.r5LD7Hh5084166@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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@FreeBSD.org +MAINTAINER= nemysis@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@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%% -@dirrmtry share/locale/ast/LC_MESSAGES -@dirrmtry share/locale/ast -@dirrmtry share/locale/bn_IN/LC_MESSAGES -@dirrmtry share/locale/bn_IN -@dirrmtry share/locale/es_VE/LC_MESSAGES -@dirrmtry share/locale/es_VE -@dirrmtry share/locale/fo/LC_MESSAGES -@dirrmtry share/locale/fo -@dirrmtry share/locale/frp/LC_MESSAGES -@dirrmtry share/locale/frp -@dirrmtry share/locale/lg/LC_MESSAGES -@dirrmtry share/locale/lg -@dirrmtry share/locale/ps/LC_MESSAGES -@dirrmtry share/locale/ps -@dirrmtry share/locale/si/LC_MESSAGES -@dirrmtry share/locale/si -@dirrmtry share/locale/sr@latin/LC_MESSAGES -@dirrmtry share/locale/sr@latin -@dirrmtry share/locale/te/LC_MESSAGES -@dirrmtry share/locale/te -@dirrmtry share/locale/tt_RU/LC_MESSAGES -@dirrmtry share/locale/tt_RU -@dirrmtry share/locale/ur_PK/LC_MESSAGES -@dirrmtry share/locale/ur_PK -@dirrmtry share/locale/ur/LC_MESSAGES -@dirrmtry share/locale/ur -@dirrmtry share/locale/vi/LC_MESSAGES -@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306211307.r5LD7Hh5084166>