pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/xemacs Be slightly more clever about setting M...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cb7192aa019d
branches:  trunk
changeset: 541685:cb7192aa019d
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Apr 24 15:37:00 2008 +0000

description:
Be slightly more clever about setting MASTER_SITES so we don't need to
hardcode a portion of the version number.

diffstat:

 editors/xemacs/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 50d100cb770f -r cb7192aa019d editors/xemacs/Makefile
--- a/editors/xemacs/Makefile   Thu Apr 24 15:33:12 2008 +0000
+++ b/editors/xemacs/Makefile   Thu Apr 24 15:37:00 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.85 2008/04/24 15:32:15 jlam Exp $
+# $NetBSD: Makefile,v 1.86 2008/04/24 15:37:00 jlam Exp $
 
 PKGNAME?=      ${DISTNAME}
 COMMENT?=      XEmacs text editor version 21
@@ -6,7 +6,7 @@
 DISTNAME=      xemacs-21.4.17
 PKGREVISION=   4
 CATEGORIES=    editors
-MASTER_SITES=  ${MASTER_SITE_XEMACS:=xemacs-21.4/}
+MASTER_SITES=  ${MASTER_SITE_XEMACS:=${DISTNAME:C/[.][^.]*$//}/}
 DISTFILES=     ${DISTNAME}.tar.gz ${DISTNAME}-elc.tar.gz \
                ${DISTNAME}-info.tar.gz
 



Home | Main Index | Thread Index | Old Index