summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-04-24 15:37:00 +0000
committerjlam <jlam@pkgsrc.org>2008-04-24 15:37:00 +0000
commit1280b8b85a628f54ff3dcc2417a124edbe70931d (patch)
tree0b08b024ab7bf4ffc48ec5764d5f645251bd9b1e /editors
parent6b09d11226d73ce1d1741ede34a2a962593d71cd (diff)
downloadpkgsrc-1280b8b85a628f54ff3dcc2417a124edbe70931d.tar.gz
Be slightly more clever about setting MASTER_SITES so we don't need to
hardcode a portion of the version number.
Diffstat (limited to 'editors')
-rw-r--r--editors/xemacs/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/xemacs/Makefile b/editors/xemacs/Makefile
index 83d5c76a944..8a7ba2bb9ce 100644
--- a/editors/xemacs/Makefile
+++ b/editors/xemacs/Makefile
@@ -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 @@ COMMENT?= XEmacs text editor version 21
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