Add support for localization.

PR:		36351
Submitted by:	Thierry Thomas <thierry@pompo.net>
This commit is contained in:
Pete Fritchman 2002-04-19 01:08:14 +00:00
parent 36f4328e7b
commit a9115fa27e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57871
2 changed files with 16 additions and 2 deletions

View File

@ -19,13 +19,17 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= petef@FreeBSD.org
LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang
LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang \
intl.2:${PORTSDIR}/devel/gettext \
iconv.3:${PORTSDIR}/converters/libiconv
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-ipv6 --disable-inews --with-slrnpull
CONFIGURE_ARGS= --enable-ipv6 --disable-inews --with-slrnpull \
--with-libiconv-prefix=${LOCALBASE}
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib"
.if !defined(WITHOUT_SSL)
USE_OPENSSL= YES
@ -45,6 +49,7 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/slrnpull ${PREFIX}/bin
@${MKDIR} ${PREFIX}/share/examples/slrn
${INSTALL_DATA} ${WRKSRC}/doc/slrn.rc ${PREFIX}/share/examples/slrn
(cd ${WRKSRC}/po; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install)
@${MKDIR} ${PREFIX}/share/examples/slrn/slrnpull
.for file in FAQ README SETUP score slrn.rc slrnpull.conf slrnpull.sh
${INSTALL_DATA} ${WRKSRC}/doc/slrnpull/${file} ${PREFIX}/share/examples/slrn/slrnpull

View File

@ -8,6 +8,15 @@ share/examples/slrn/slrnpull/score
share/examples/slrn/slrnpull/slrn.rc
share/examples/slrn/slrnpull/slrnpull.conf
share/examples/slrn/slrnpull/slrnpull.sh
share/locale/da/LC_MESSAGES/slrn.mo
share/locale/de/LC_MESSAGES/slrn.mo
share/locale/es/LC_MESSAGES/slrn.mo
share/locale/fr/LC_MESSAGES/slrn.mo
share/locale/it/LC_MESSAGES/slrn.mo
share/locale/ko/LC_MESSAGES/slrn.mo
share/locale/nl/LC_MESSAGES/slrn.mo
share/locale/pl/LC_MESSAGES/slrn.mo
share/locale/ru/LC_MESSAGES/slrn.mo
%%PORTDOCS%%share/doc/slrn/FAQ
%%PORTDOCS%%share/doc/slrn/README.GroupLens
%%PORTDOCS%%share/doc/slrn/README.SSL