diff options
author | wg <wg@FreeBSD.org> | 2013-06-21 21:07:17 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2013-06-21 21:07:17 +0800 |
commit | 692aec3ea962400b104b969de38f61e28b0d6aa4 (patch) | |
tree | fef0d6231ad063ad13878ab6e8d654a39297d0d0 /x11-wm | |
parent | dff2addc5ecddb1ccb379e63d5bc7261b9756538 (diff) | |
download | freebsd-ports-gnome-692aec3ea962400b104b969de38f61e28b0d6aa4.tar.gz freebsd-ports-gnome-692aec3ea962400b104b969de38f61e28b0d6aa4.tar.zst freebsd-ports-gnome-692aec3ea962400b104b969de38f61e28b0d6aa4.zip |
x11-wm/lxsession: fix NLS option
- Fix NLS option [1]
- Pass maintainership to submitter
PR: ports/179698
Submitted by: nemysis <nemysis@gmx.ch>
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/lxsession/Makefile | 11 | ||||
-rw-r--r-- | x11-wm/lxsession/pkg-plist | 40 |
2 files changed, 20 insertions, 31 deletions
diff --git a/x11-wm/lxsession/Makefile b/x11-wm/lxsession/Makefile index 06633ac4cdf2..516c3188c1a4 100644 --- a/x11-wm/lxsession/Makefile +++ b/x11-wm/lxsession/Makefile @@ -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> diff --git a/x11-wm/lxsession/pkg-plist b/x11-wm/lxsession/pkg-plist index 2eebfbbd1dc6..ec1ea5e3ea2a 100644 --- a/x11-wm/lxsession/pkg-plist +++ b/x11-wm/lxsession/pkg-plist @@ -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 |