pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/opera7 Introduce OPERA_LANG=en and use it instead ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/06696e738b64
branches:  trunk
changeset: 463517:06696e738b64
user:      jdolecek <jdolecek%pkgsrc.org@localhost>
date:      Fri Nov 14 19:55:13 2003 +0000

description:
Introduce OPERA_LANG=en and use it instead of 'en' where appropriate
Done same way as suggested update patch in pkg/23437 by Hideyuki KURASHINA

diffstat:

 www/opera7/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 7c7fc093ecf4 -r 06696e738b64 www/opera7/Makefile
--- a/www/opera7/Makefile       Fri Nov 14 19:45:54 2003 +0000
+++ b/www/opera7/Makefile       Fri Nov 14 19:55:13 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2003/11/14 19:45:54 jdolecek Exp $
+# $NetBSD: Makefile,v 1.11 2003/11/14 19:55:13 jdolecek Exp $
 
 DISTNAME=      opera-${OPERA_PKG_VERSION}
 PKGREVISION=   # empty
@@ -11,7 +11,7 @@
                ftp://ftp.tuwien.ac.at/infosys/browsers/opera/linux/${OPERA_DIR}/ \
                ftp://ftp.opera.com/pub/opera/linux/
 EXTRACT_SUFX=  .rpm
-DISTFILES=     opera-${OPERA_DIST_VERSION}.${OPERA_ARCH}-en${EXTRACT_SUFX}
+DISTFILES=     opera-${OPERA_DIST_VERSION}.${OPERA_ARCH}-${OPERA_LANG}${EXTRACT_SUFX}
 
 MAINTAINER=    jdolecek%NetBSD.org@localhost
 HOMEPAGE=      http://www.opera.com/
@@ -43,7 +43,8 @@
 
 OPERA_ARCH=            i386
 OPERA_PKG_VERSION=     7.22
-OPERA_DIR=             ${OPERA_PKG_VERSION:S/.//g:C/beta.*//}/final/en/i386/static
+OPERA_LANG=            en
+OPERA_DIR=             ${OPERA_PKG_VERSION:S/.//g:C/beta.*//}/final/${OPERA_LANG}/${OPERA_ARCH}/static
 OPERA_DIST_VERSION=    ${OPERA_PKG_VERSION:C/beta.*//}-20031103.1-static-qt
 .endif
 



Home | Main Index | Thread Index | Old Index