diff options
author | dmcmahill <dmcmahill> | 2005-03-14 22:03:55 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2005-03-14 22:03:55 +0000 |
commit | 1afbbb54fd2178e844f9ebcd0eeb3bf7d050e6bd (patch) | |
tree | c58190ff220dd3b31a14e96c6f1a7d94a9422b0a /editors/matlab-mode | |
parent | b5b514ce96bff39fb8fe39675fb4502e2782832c (diff) | |
download | pkgsrc-1afbbb54fd2178e844f9ebcd0eeb3bf7d050e6bd.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/matlab-mode')
-rw-r--r-- | editors/matlab-mode/Makefile | 9 |
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" |