diff options
author | shaun <shaun@FreeBSD.org> | 2006-08-08 08:38:45 +0800 |
---|---|---|
committer | shaun <shaun@FreeBSD.org> | 2006-08-08 08:38:45 +0800 |
commit | bd1772adfd158a9a8bdd0ad4984f33dfa624b4d1 (patch) | |
tree | 917929da2a5df2414fa7c5f719a4808693db5702 /ftp/downloader | |
parent | aba1ea4b97bfb3cd61ad38fa193814a0a99849db (diff) | |
download | freebsd-ports-gnome-bd1772adfd158a9a8bdd0ad4984f33dfa624b4d1.tar.gz freebsd-ports-gnome-bd1772adfd158a9a8bdd0ad4984f33dfa624b4d1.tar.zst freebsd-ports-gnome-bd1772adfd158a9a8bdd0ad4984f33dfa624b4d1.zip |
- Add missing locale files to plist. [1]
- Add WITHOUT_NLS knob.
PR: ports/101500 [1]
Submitted by: Stanislav Sedov <ssedov@mbsd.msk.ru> [1]
Diffstat (limited to 'ftp/downloader')
-rw-r--r-- | ftp/downloader/Makefile | 7 | ||||
-rw-r--r-- | ftp/downloader/pkg-plist | 50 |
2 files changed, 39 insertions, 18 deletions
diff --git a/ftp/downloader/Makefile b/ftp/downloader/Makefile index 5a90b40525bf..efc0fe2fd8cd 100644 --- a/ftp/downloader/Makefile +++ b/ftp/downloader/Makefile @@ -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 diff --git a/ftp/downloader/pkg-plist b/ftp/downloader/pkg-plist index 9e522281ece5..66a91a102ba1 100644 --- a/ftp/downloader/pkg-plist +++ b/ftp/downloader/pkg-plist @@ -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 |