summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorjlam <jlam>2008-04-24 15:37:00 +0000
committerjlam <jlam>2008-04-24 15:37:00 +0000
commit86521a0646a634364c6297919e1a8c7f007f1fd5 (patch)
tree0b08b024ab7bf4ffc48ec5764d5f645251bd9b1e /editors
parent964a17cee108ffde26e5a8e2bbe0ac1dd892ef6a (diff)
downloadpkgsrc-86521a0646a634364c6297919e1a8c7f007f1fd5.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