mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
- Add missing locale files to plist. [1]
- Add WITHOUT_NLS knob. - Fix build when PREFIX != /usr/local. PR: ports/101488 [1] Submitted by: Stanislav Sedov <ssedov@mbsd.msk.ru>
This commit is contained in:
parent
aac2bb9591
commit
804f68e42a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=169991
@ -17,7 +17,6 @@ COMMENT= Receive, filter, read, compose and send mail at the text console
|
||||
CONFLICTS= elmo-devel-*
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GETTEXT= yes
|
||||
USE_ICONV= yes
|
||||
USE_OPENSSL= yes
|
||||
USE_PERL5_RUN= yes
|
||||
@ -26,6 +25,15 @@ CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
|
||||
MAN1= elmo.1 elmoconf.pl.1
|
||||
|
||||
.if defined(WITHOUT_NLS)
|
||||
CONFIGURE_ARGS+=--disable-nls
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.else
|
||||
CONFIGURE_ARGS+=--with-libintl-prefix="${LOCALBASE}"
|
||||
PLIST_SUB+= NLS=""
|
||||
USE_GETTEXT= yes
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if exists(${LOCALBASE}/lib/libgpgme03.so) || defined(WITH_GPGME)
|
||||
|
@ -2,6 +2,8 @@ bin/elmo
|
||||
bin/elmoconf.pl
|
||||
%%DATADIR%%/template
|
||||
%%DATADIR%%/tutorial
|
||||
share/locale/de/LC_MESSAGES/elmo.mo
|
||||
share/locale/pl/LC_MESSAGES/elmo.mo
|
||||
%%NLS%%share/locale/de/LC_MESSAGES/elmo.mo
|
||||
%%NLS%%share/locale/pl/LC_MESSAGES/elmo.mo
|
||||
%%NLS%%@dirrmtry share/locale/pl/LC_MESSAGES
|
||||
%%NLS%%@dirrmtry share/locale/pl
|
||||
@dirrm %%DATADIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user