pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/psi use SITES_* setting for the language files, r...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3511fc934ee1
branches:  trunk
changeset: 485227:3511fc934ee1
user:      jdolecek <jdolecek%pkgsrc.org@localhost>
date:      Sun Dec 05 12:50:19 2004 +0000

description:
use SITES_* setting for the language files, rather than using
MASTER_SITES - they are only available on the psi site, and the fetch
of each language files unnecessarily went through all the sourceforge
mirrors before trying the psi site

diffstat:

 chat/psi/Makefile |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r a05a8a7ba5da -r 3511fc934ee1 chat/psi/Makefile
--- a/chat/psi/Makefile Sun Dec 05 11:55:12 2004 +0000
+++ b/chat/psi/Makefile Sun Dec 05 12:50:19 2004 +0000
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.19 2004/11/27 21:58:18 jdolecek Exp $
+# $NetBSD: Makefile,v 1.20 2004/12/05 12:50:19 jdolecek Exp $
 
 PSI_VERSION=   0.9.2
 DISTNAME=      psi-${PSI_VERSION}
 PKGREVISION=   # empty
 CATEGORIES=    chat
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=psi/}        \
-               http://psi.affinix.com/?version=${PSI_VERSION}&file=
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=psi/}
 EXTRACT_SUFX=  .tar.bz2
 
 DIST_SUBDIR=   ${DISTNAME}
@@ -33,6 +32,10 @@
                psi_de.qm psi_sw.qm psi_pl.qm psi_mk.qm psi_el.qm       \
                psi_es.qm psi_ru.qm
 
+.for l in ${LANG_FILES}
+SITES_${l}=    http://psi.affinix.com/?version=${PSI_VERSION}&file=
+.endfor
+
 # XXX the psiwidgets.so symlink is somewhat ugly, but without that
 # uic doesn't find the built plug-in and generates sources without
 # proper psiwidgets #include's. This should eventually be fixed in



Home | Main Index | Thread Index | Old Index