create directories for locales listed in ABOUT-NLS.

Switch to new-style plist.
This commit is contained in:
espie 2004-08-03 10:09:02 +00:00
parent 7ba7bbeb63
commit 3f814c97f4
3 changed files with 94 additions and 72 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.29 2004/01/31 21:41:56 brad Exp $
# $OpenBSD: Makefile,v 1.30 2004/08/03 10:09:02 espie Exp $
COMMENT= "GNU gettext"
@ -25,6 +25,7 @@ CONFIGURE_ARGS+= --with-included-gettext
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${WRKBUILD}/intl/.libs -L${LOCALBASE}/lib"
EXTRA_LOCALES=bg en eo fi he hr lv nb sk uk
post-extract:
@rm -f ${WRKSRC}/doc/gettext.info*
@ -34,6 +35,9 @@ post-install:
@cd ${PREFIX}/lib && \
perl -pi -e s#'-L${WRKBUILD}/intl/.libs '#''#g \
libintl.la
@for l in ${EXTRA_LOCALES}; do \
${INSTALL_DATA_DIR} ${PREFIX}/share/locale/$$l/LC_MESSAGES; \
done
do-regress:
@cd ${WRKBUILD}/tests && ${MAKE_PROGRAM} check-TESTS

View File

@ -1,3 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.2 2001/05/14 20:59:23 brad Exp $
@comment $OpenBSD: PFRAG.shared,v 1.3 2004/08/03 10:09:03 espie Exp $
lib/libintl.so.1.1
DYNLIBDIR(%B)
DYNLIBDIR(%D/lib)

View File

@ -1,5 +1,4 @@
@comment $OpenBSD: PLIST,v 1.14 2003/12/16 17:34:06 naddy Exp $
@unexec install-info --delete --info-dir=%D/info %D/info/gettext.info
@comment $OpenBSD: PLIST,v 1.15 2004/08/03 10:09:03 espie Exp $
bin/gettext
bin/gettextize
bin/msgcmp
@ -10,19 +9,20 @@ bin/msgunfmt
bin/ngettext
bin/xgettext
include/libintl.h
info/gettext.info
@info info/gettext.info
@comment lib/charset.alias
lib/libintl.a
lib/libintl.la
man/man3/bind_textdomain_codeset.3
man/man3/bindtextdomain.3
man/man3/dcgettext.3
man/man3/dcngettext.3
man/man3/dgettext.3
man/man3/dngettext.3
man/man3/gettext.3
man/man3/ngettext.3
man/man3/textdomain.3
@man man/man3/bind_textdomain_codeset.3
@man man/man3/bindtextdomain.3
@man man/man3/dcgettext.3
@man man/man3/dcngettext.3
@man man/man3/dgettext.3
@man man/man3/dngettext.3
@man man/man3/gettext.3
@man man/man3/ngettext.3
@man man/man3/textdomain.3
share/aclocal/
share/aclocal/codeset.m4
share/aclocal/gettext.m4
share/aclocal/glibc21.m4
@ -30,6 +30,7 @@ share/aclocal/iconv.m4
share/aclocal/isc-posix.m4
share/aclocal/lcmessage.m4
share/aclocal/progtest.m4
share/doc/gettext/
share/doc/gettext/bind_textdomain_codeset.3.html
share/doc/gettext/bindtextdomain.3.html
share/doc/gettext/gettext.3.html
@ -51,7 +52,9 @@ share/doc/gettext/gettext_foot.html
share/doc/gettext/gettext_toc.html
share/doc/gettext/ngettext.3.html
share/doc/gettext/textdomain.3.html
share/gettext/
share/gettext/ABOUT-NLS
share/gettext/intl/
share/gettext/intl/COPYING.LIB-2
share/gettext/intl/COPYING.LIB-2.1
share/gettext/intl/ChangeLog
@ -85,89 +88,104 @@ share/gettext/intl/plural.y
share/gettext/intl/ref-add.sin
share/gettext/intl/ref-del.sin
share/gettext/intl/textdomain.c
share/gettext/po/
share/gettext/po-mode.el
share/gettext/po/Makefile.in.in
share/locale/
share/locale/bg/
share/locale/bg/LC_MESSAGES/
share/locale/cs/
share/locale/cs/LC_MESSAGES/
share/locale/cs/LC_MESSAGES/gettext.mo
share/locale/da/
share/locale/da/LC_MESSAGES/
share/locale/da/LC_MESSAGES/gettext.mo
share/locale/de/
share/locale/de/LC_MESSAGES/
share/locale/de/LC_MESSAGES/gettext.mo
share/locale/el/
share/locale/el/LC_MESSAGES/
share/locale/el/LC_MESSAGES/gettext.mo
share/locale/en/
share/locale/en/LC_MESSAGES/
share/locale/en@boldquot/
share/locale/en@boldquot/LC_MESSAGES/
share/locale/en@boldquot/LC_MESSAGES/gettext.mo
share/locale/en@quot/
share/locale/en@quot/LC_MESSAGES/
share/locale/en@quot/LC_MESSAGES/gettext.mo
share/locale/eo/
share/locale/eo/LC_MESSAGES/
share/locale/es/
share/locale/es/LC_MESSAGES/
share/locale/es/LC_MESSAGES/gettext.mo
share/locale/et/
share/locale/et/LC_MESSAGES/
share/locale/et/LC_MESSAGES/gettext.mo
share/locale/fi/
share/locale/fi/LC_MESSAGES/
share/locale/fr/
share/locale/fr/LC_MESSAGES/
share/locale/fr/LC_MESSAGES/gettext.mo
share/locale/gl/
share/locale/gl/LC_MESSAGES/
share/locale/gl/LC_MESSAGES/gettext.mo
share/locale/he/
share/locale/he/LC_MESSAGES/
share/locale/hr/
share/locale/hr/LC_MESSAGES/
share/locale/id/
share/locale/id/LC_MESSAGES/
share/locale/id/LC_MESSAGES/gettext.mo
share/locale/it/
share/locale/it/LC_MESSAGES/
share/locale/it/LC_MESSAGES/gettext.mo
share/locale/ja/
share/locale/ja/LC_MESSAGES/
share/locale/ja/LC_MESSAGES/gettext.mo
share/locale/ko/
share/locale/ko/LC_MESSAGES/
share/locale/ko/LC_MESSAGES/gettext.mo
share/locale/locale.alias
share/locale/lv/
share/locale/lv/LC_MESSAGES/
share/locale/nb/
share/locale/nb/LC_MESSAGES/
share/locale/nl/
share/locale/nl/LC_MESSAGES/
share/locale/nl/LC_MESSAGES/gettext.mo
share/locale/nn/
share/locale/nn/LC_MESSAGES/
share/locale/nn/LC_MESSAGES/gettext.mo
share/locale/no/
share/locale/no/LC_MESSAGES/
share/locale/no/LC_MESSAGES/gettext.mo
share/locale/pl/
share/locale/pl/LC_MESSAGES/
share/locale/pl/LC_MESSAGES/gettext.mo
share/locale/pt/
share/locale/pt/LC_MESSAGES/
share/locale/pt/LC_MESSAGES/gettext.mo
share/locale/pt_BR/
share/locale/pt_BR/LC_MESSAGES/
share/locale/pt_BR/LC_MESSAGES/gettext.mo
share/locale/ru/
share/locale/ru/LC_MESSAGES/
share/locale/ru/LC_MESSAGES/gettext.mo
share/locale/sk/
share/locale/sk/LC_MESSAGES/
share/locale/sl/
share/locale/sl/LC_MESSAGES/
share/locale/sl/LC_MESSAGES/gettext.mo
share/locale/sv/
share/locale/sv/LC_MESSAGES/
share/locale/sv/LC_MESSAGES/gettext.mo
share/locale/tr/
share/locale/tr/LC_MESSAGES/
share/locale/tr/LC_MESSAGES/gettext.mo
share/locale/uk/
share/locale/uk/LC_MESSAGES/
share/locale/zh/
share/locale/zh/LC_MESSAGES/
share/locale/zh/LC_MESSAGES/gettext.mo
%%SHARED%%
@dirrm share/locale/zh/LC_MESSAGES
@dirrm share/locale/zh
@dirrm share/locale/tr/LC_MESSAGES
@dirrm share/locale/tr
@dirrm share/locale/sv/LC_MESSAGES
@dirrm share/locale/sv
@dirrm share/locale/sl/LC_MESSAGES
@dirrm share/locale/sl
@dirrm share/locale/ru/LC_MESSAGES
@dirrm share/locale/ru
@dirrm share/locale/pt_BR/LC_MESSAGES
@dirrm share/locale/pt_BR
@dirrm share/locale/pt/LC_MESSAGES
@dirrm share/locale/pt
@dirrm share/locale/pl/LC_MESSAGES
@dirrm share/locale/pl
@dirrm share/locale/no/LC_MESSAGES
@dirrm share/locale/no
@dirrm share/locale/nn/LC_MESSAGES
@dirrm share/locale/nn
@dirrm share/locale/nl/LC_MESSAGES
@dirrm share/locale/nl
@dirrm share/locale/ko/LC_MESSAGES
@dirrm share/locale/ko
@dirrm share/locale/ja/LC_MESSAGES
@dirrm share/locale/ja
@dirrm share/locale/it/LC_MESSAGES
@dirrm share/locale/it
@dirrm share/locale/id/LC_MESSAGES
@dirrm share/locale/id
@dirrm share/locale/gl/LC_MESSAGES
@dirrm share/locale/gl
@dirrm share/locale/fr/LC_MESSAGES
@dirrm share/locale/fr
@dirrm share/locale/et/LC_MESSAGES
@dirrm share/locale/et
@dirrm share/locale/es/LC_MESSAGES
@dirrm share/locale/es
@dirrm share/locale/en@quot/LC_MESSAGES
@dirrm share/locale/en@quot
@dirrm share/locale/en@boldquot/LC_MESSAGES
@dirrm share/locale/en@boldquot
@dirrm share/locale/el/LC_MESSAGES
@dirrm share/locale/el
@dirrm share/locale/de/LC_MESSAGES
@dirrm share/locale/de
@dirrm share/locale/da/LC_MESSAGES
@dirrm share/locale/da
@dirrm share/locale/cs/LC_MESSAGES
@dirrm share/locale/cs
@dirrm share/locale
@dirrm share/gettext/po
@dirrm share/gettext/intl
@dirrm share/gettext
@dirrm share/doc/gettext
@dirrm share/aclocal
@exec install-info --info-dir=%D/info %D/info/gettext.info