summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2005-03-14 22:03:55 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2005-03-14 22:03:55 +0000
commita27ec285625140931943a3ce5795108f5db08edb (patch)
treec58190ff220dd3b31a14e96c6f1a7d94a9422b0a /editors
parent98c839bbb63a277a2e9d16d907688246d5e6e7e7 (diff)
downloadpkgsrc-a27ec285625140931943a3ce5795108f5db08edb.tar.gz
avoid letting the emacs flavour affect DIST_SUBDIR. Ensures both emacs
and xemacs users can use this package and we don't have to maintain two identical checksums and 2 copies of the distfile.
Diffstat (limited to 'editors')
-rw-r--r--editors/matlab-mode/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/editors/matlab-mode/Makefile b/editors/matlab-mode/Makefile
index af989bcd8fb..247e54a8ab4 100644
--- a/editors/matlab-mode/Makefile
+++ b/editors/matlab-mode/Makefile
@@ -1,8 +1,11 @@
-# $NetBSD: Makefile,v 1.5 2004/03/27 21:45:07 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2005/03/14 22:03:55 dmcmahill Exp $
#
DISTNAME= matlab.el
-PKGNAME= matlab-mode-2.3.1
+# we do this because we want DIST_SUBDIR to not change based on
+# emacs vs xemacs
+BASEPKGNAME= matlab-mode-2.3.1
+PKGNAME= ${BASEPKGNAME}
CATEGORIES= editors math
MASTER_SITES= http://www.mathworks.com/matlabcentral/files/104/
EXTRACT_SUFX=
@@ -13,7 +16,7 @@ COMMENT= Matlab mode for Emacs
WRKSRC= ${WRKDIR}
EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} ${WRKDIR}
-DIST_SUBDIR= ${PKGNAME_NOREV}
+DIST_SUBDIR= ${BASEPKGNAME}
.include "../../mk/emacs.mk"