- Add missing locale files to plist. [1]

- Add WITHOUT_NLS knob.

PR:		ports/101500 [1]
Submitted by:	Stanislav Sedov <ssedov@mbsd.msk.ru> [1]
This commit is contained in:
Shaun Amott 2006-08-08 00:38:45 +00:00
parent 3bc2ab276e
commit cd3ff239e9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=170040
2 changed files with 39 additions and 18 deletions

View File

@ -35,6 +35,13 @@ DOCSDIR= ${PREFIX}/share/doc/d4x
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.else
PLIST_SUB+= NLS=""
.endif
.if defined(WITHOUT_OPENSSL)
CONFIGURE_ARGS+= --disable-openssl
.else

View File

@ -269,25 +269,39 @@ bin/nt
%%PORTDOCS%%%%DOCSDIR%%/README.ru
%%PORTDOCS%%%%DOCSDIR%%/THANKS
%%PORTDOCS%%%%DOCSDIR%%/TROUBLES
share/locale/bg/LC_MESSAGES/d4x.mo
share/locale/ca/LC_MESSAGES/d4x.mo
share/locale/cs/LC_MESSAGES/d4x.mo
share/locale/de/LC_MESSAGES/d4x.mo
share/locale/es/LC_MESSAGES/d4x.mo
share/locale/fr/LC_MESSAGES/d4x.mo
share/locale/hu/LC_MESSAGES/d4x.mo
share/locale/it/LC_MESSAGES/d4x.mo
share/locale/ja/LC_MESSAGES/d4x.mo
share/locale/nl/LC_MESSAGES/d4x.mo
share/locale/pl/LC_MESSAGES/d4x.mo
share/locale/pt_BR/LC_MESSAGES/d4x.mo
share/locale/ru/LC_MESSAGES/d4x.mo
share/locale/sk/LC_MESSAGES/d4x.mo
share/locale/sr/LC_MESSAGES/d4x.mo
share/locale/sr@Latn/LC_MESSAGES/d4x.mo
share/locale/uk/LC_MESSAGES/d4x.mo
share/locale/zh_CN/LC_MESSAGES/d4x.mo
%%NLS%%share/locale/bg/LC_MESSAGES/d4x.mo
%%NLS%%share/locale/ca/LC_MESSAGES/d4x.mo
%%NLS%%share/locale/cs/LC_MESSAGES/d4x.mo
%%NLS%%share/locale/de/LC_MESSAGES/d4x.mo
%%NLS%%share/locale/es/LC_MESSAGES/d4x.mo
%%NLS%%share/locale/fr/LC_MESSAGES/d4x.mo
%%NLS%%share/locale/hu/LC_MESSAGES/d4x.mo
%%NLS%%share/locale/it/LC_MESSAGES/d4x.mo
%%NLS%%share/locale/ja/LC_MESSAGES/d4x.mo
%%NLS%%share/locale/nl/LC_MESSAGES/d4x.mo
%%NLS%%share/locale/pl/LC_MESSAGES/d4x.mo
%%NLS%%share/locale/pt_BR/LC_MESSAGES/d4x.mo
%%NLS%%share/locale/ru/LC_MESSAGES/d4x.mo
%%NLS%%share/locale/sk/LC_MESSAGES/d4x.mo
%%NLS%%share/locale/sr/LC_MESSAGES/d4x.mo
%%NLS%%share/locale/sr@Latn/LC_MESSAGES/d4x.mo
%%NLS%%share/locale/uk/LC_MESSAGES/d4x.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/d4x.mo
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%NLS%%@dirrmtry share/locale/zh_CN/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/zh_CN
%%NLS%%@dirrmtry share/locale/uk/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/uk
%%NLS%%@dirrmtry share/locale/sr/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/sr
%%NLS%%@dirrmtry share/locale/sk/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/sk
%%NLS%%@dirrmtry share/locale/pl/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/pl
%%NLS%%@dirrmtry share/locale/cs/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/cs
%%NLS%%@dirrmtry share/locale/ca/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/ca
@dirrm %%DATADIR%%/themes/old_theme/queue
@dirrm %%DATADIR%%/themes/old_theme/buttons
@dirrm %%DATADIR%%/themes/old_theme