Date: Thu, 4 May 2000 15:28:41 +0400 (MSD) From: Dmitry Sivachenko <dima@Chg.RU> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/18384: Update www/lynx to use po-files Message-ID: <200005041128.PAA22364@netserv1.chg.ru>
next in thread | raw e-mail | index | archive | help
>Number: 18384 >Category: ports >Synopsis: Update www/lynx to use po-files >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu May 4 04:30:02 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Dmitry Sivachenko >Release: FreeBSD 3.3-RELEASE i386 >Organization: >Environment: >Description: lynx supports l10n via gettext library. Please update www/lynx to use existing translations. Since lynx developers do not want [yet] to include po-files into distribution tarball (they are scared it will grow very large) let's download them manually. >How-To-Repeat: >Fix: diff -Nur lynx.old/Makefile lynx/Makefile --- lynx.old/Makefile Mon May 1 07:08:41 2000 +++ lynx/Makefile Thu May 4 15:01:53 2000 @@ -11,8 +11,11 @@ PORTNAME= lynx PORTVERSION= 2.8.3.1 CATEGORIES= www -MASTER_SITES= http://lynx.isc.org/current/ +MASTER_SITES= http://lynx.isc.org/current/ \ + http://lynx.isc.org/lynx-2.8.3/po/ DISTNAME= ${PORTNAME}2.8.3rel.1 +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${PO_FILES} +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= jseger@FreeBSD.org @@ -20,7 +23,7 @@ WRKSRC= ${WRKDIR}/lynx2-8-3 GNU_CONFIGURE= YES CONFIGURE_ARGS= --with-screen=ncurses --with-zlib --libdir="${L_LIB}" \ - --enable-nsl-fork --enable-persistent-cookies + --enable-nsl-fork --enable-persistent-cookies --enable-nls MAKE_FLAGS= helpdir=${L_HELP} docdir=${L_DOC} -f MAKEFILE= makefile INSTALL_TARGET= install-full @@ -29,6 +32,14 @@ L_LIB= ${PREFIX}/etc L_DOC= ${PREFIX}/share/doc/lynx L_HELP= ${PREFIX}/share/lynx_help +PO_FILES= lynx-2.8.3.de.po lynx-2.8.3.cs.po lynx-2.8.3.pt_BR.po \ + lynx-2.8.3.ru.po lynx-2.8.3.sl.po + +pre-configure: + ${RM} ${WRKSRC}/po/*.po + for lang in de cs pt_BR ru sl ; do \ + ${CP} ${DISTDIR}/lynx-2.8.3.$$lang.po ${WRKSRC}/po/$$lang.po ; \ + done post-install: ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${L_DOC} diff -Nur lynx.old/files/md5 lynx/files/md5 --- lynx.old/files/md5 Mon May 1 07:08:41 2000 +++ lynx/files/md5 Thu May 4 14:52:31 2000 @@ -1 +1,7 @@ MD5 (lynx2.8.3rel.1.tar.bz2) = 162c7479203d97758d3cb07f385062ac +MD5 (lynx-2.8.3.de.po) = 0c777fabf1e1aa401e0365b6e8f54846 +MD5 (fr.po) = cc3a7c9a1dbdf7fc330efbf40a7d1cea +MD5 (lynx-2.8.3.cs.po) = 01bc52f15a2c28962696a088205cd2e8 +MD5 (lynx-2.8.3.pt_BR.po) = cc4214f5c844221920d0caf58d835449 +MD5 (lynx-2.8.3.ru.po) = 8e2a4b6e5440eb47b69ecf067362608e +MD5 (lynx-2.8.3.sl.po) = 4c9bf1f05b985f7319d7ea4030dcef07 diff -Nur lynx.old/pkg/PLIST lynx/pkg/PLIST --- lynx.old/pkg/PLIST Sat Apr 22 07:09:16 2000 +++ lynx/pkg/PLIST Thu May 4 15:22:22 2000 @@ -58,6 +58,11 @@ share/lynx_help/lynx-dev.html share/lynx_help/lynx_help_main.html share/lynx_help/lynx_url_support.html +share/locale/cs/LC_MESSAGES/lynx.mo +share/locale/de/LC_MESSAGES/lynx.mo +share/locale/pt_BR/LC_MESSAGES/lynx.mo +share/locale/ru/LC_MESSAGES/lynx.mo +share/locale/sl/LC_MESSAGES/lynx.mo @dirrm share/doc/lynx/samples @dirrm share/doc/lynx/test @dirrm share/doc/lynx >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005041128.PAA22364>