From owner-freebsd-ports Thu May 4 4:30:12 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 06E5937BEE4 for ; Thu, 4 May 2000 04:30:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA81792; Thu, 4 May 2000 04:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from netserv1.chg.ru (netserv1.chg.ru [193.233.46.3]) by hub.freebsd.org (Postfix) with ESMTP id 7837737BDFC for ; Thu, 4 May 2000 04:28:43 -0700 (PDT) (envelope-from dima@netserv1.chg.ru) Received: (from dima@localhost) by netserv1.chg.ru (8.9.3/8.9.3) id PAA22364; Thu, 4 May 2000 15:28:41 +0400 (MSD) Message-Id: <200005041128.PAA22364@netserv1.chg.ru> Date: Thu, 4 May 2000 15:28:41 +0400 (MSD) From: Dmitry Sivachenko Reply-To: dima@Chg.RU To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/18384: Update www/lynx to use po-files Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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