pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/gnome-session Get rid of the SPLASH_NAME variable,...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2d4ff1a2bfcc
branches:  trunk
changeset: 470342:2d4ff1a2bfcc
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Mon Mar 08 15:24:40 2004 +0000

description:
Get rid of the SPLASH_NAME variable, because SITES_${SPLASH_NAME} was not
beeing defined properly (causing a build failure).  (I could have defined
the variable at the very beginning of the Makefile, but this annoys pkglint.)

diffstat:

 x11/gnome-session/Makefile |  11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diffs (37 lines):

diff -r 515dedc25dfb -r 2d4ff1a2bfcc x11/gnome-session/Makefile
--- a/x11/gnome-session/Makefile        Mon Mar 08 14:46:31 2004 +0000
+++ b/x11/gnome-session/Makefile        Mon Mar 08 15:24:40 2004 +0000
@@ -1,13 +1,13 @@
-# $NetBSD: Makefile,v 1.33 2004/03/07 17:42:23 jmmv Exp $
+# $NetBSD: Makefile,v 1.34 2004/03/08 15:24:40 jmmv Exp $
 #
 
 DISTNAME=              gnome-session-2.4.2
 PKGREVISION=           4
 CATEGORIES=            x11 gnome
 MASTER_SITES=          ${MASTER_SITE_GNOME:=sources/gnome-session/2.4/}
-SITES_${SPLASH_NAME}=  ${MASTER_SITE_LOCAL:=gnome-splash/}
+SITES_gnome-splash-2.4.2.png=  ${MASTER_SITE_LOCAL:=gnome-splash/}
 EXTRACT_SUFX=          .tar.bz2
-DISTFILES=             ${DISTNAME}${EXTRACT_SUFX} ${SPLASH_NAME}
+DISTFILES=             ${DISTNAME}${EXTRACT_SUFX} gnome-splash-2.4.2.png
 
 MAINTAINER=            jmmv%NetBSD.org@localhost
 HOMEPAGE=              http://www.gnome.org/
@@ -26,14 +26,13 @@
 USE_PERL5=             build
 USE_LIBTOOL=           yes
 
-SPLASH_NAME=           gnome-splash-2.4.2.png
-
 GCONF2_SCHEMAS=        gnome-session.schemas
 
 post-extract:
        ${MV} ${WRKSRC}/gnome-session/gnome-splash.png \
            ${WRKSRC}/gnome-session/gnome-splash-orig.png
-       ${CP} ${DISTDIR}/${SPLASH_NAME} ${WRKSRC}/gnome-session/gnome-splash.png
+       ${CP} ${DISTDIR}/gnome-splash-2.4.2.png \
+           ${WRKSRC}/gnome-session/gnome-splash.png
 
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/gnome-session/gnome-splash-orig.png \



Home | Main Index | Thread Index | Old Index