diff options
author | Juergen Lock <nox@FreeBSD.org> | 2012-02-29 22:53:20 +0000 |
---|---|---|
committer | Juergen Lock <nox@FreeBSD.org> | 2012-02-29 22:53:20 +0000 |
commit | cb0378f90ce5e342208d84fbebc4cb297e26d315 (patch) | |
tree | 2063c08879f5d627b63d5580e990cd943c6f17c9 /x11/xkeyboard-config | |
parent | 9ffea18152a7c250b6b4ef027195852f505054e3 (diff) | |
download | ports-cb0378f90ce5e342208d84fbebc4cb297e26d315.tar.gz ports-cb0378f90ce5e342208d84fbebc4cb297e26d315.zip |
- Do not attempt to install gettext locales under WITHOUT_NLS.
- Do all @dirrmtry for localedir under %%NLS%% in plist.
PR: ports/161021
Submitted by: h h <aakuusta@gmail.com>
Approved by: x11 (kwm)
Notes
Notes:
svn path=/head/; revision=292458
Diffstat (limited to 'x11/xkeyboard-config')
-rw-r--r-- | x11/xkeyboard-config/Makefile | 3 | ||||
-rw-r--r-- | x11/xkeyboard-config/pkg-plist | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/x11/xkeyboard-config/Makefile b/x11/xkeyboard-config/Makefile index b40a0c247b55..c699bd4f5cda 100644 --- a/x11/xkeyboard-config/Makefile +++ b/x11/xkeyboard-config/Makefile @@ -42,6 +42,9 @@ PLIST_SUB+= NLS="" .endif post-patch: +.if defined(WITHOUT_NLS) + @${REINPLACE_CMD} '/^SUBDIR/s/ po//' ${WRKSRC}/Makefile.in +.endif @${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' -e 's|==|=|g' \ ${WRKSRC}/rules/merge.sh diff --git a/x11/xkeyboard-config/pkg-plist b/x11/xkeyboard-config/pkg-plist index 565c5ad4a06b..e9824e6bd004 100644 --- a/x11/xkeyboard-config/pkg-plist +++ b/x11/xkeyboard-config/pkg-plist @@ -372,8 +372,8 @@ share/X11/xkb/types/pc %%NLS%%@dirrmtry share/locale/ky/LC_MESSAGES %%NLS%%@dirrmtry share/locale/ky %%NLS%%@dirrmtry share/locale/crh/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/crh @exec mkdir -p /var/lib/xkb -@dirrmtry share/locale/crh @dirrm share/X11/xkb/types @dirrm share/X11/xkb/symbols/xfree68_vndr @dirrm share/X11/xkb/symbols/sun_vndr |