diff options
author | William Grzybowski <wg@FreeBSD.org> | 2013-06-21 13:07:17 +0000 |
---|---|---|
committer | William Grzybowski <wg@FreeBSD.org> | 2013-06-21 13:07:17 +0000 |
commit | 4b6f30c5cce5eb41c107c7f7cc071efd78989b91 (patch) | |
tree | fef0d6231ad063ad13878ab6e8d654a39297d0d0 /x11-wm | |
parent | 376e98b1b6f9ffec5b9c790278981ae337f4eafc (diff) | |
download | ports-4b6f30c5cce5eb41c107c7f7cc071efd78989b91.tar.gz ports-4b6f30c5cce5eb41c107c7f7cc071efd78989b91.zip |
Notes
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 |