From a27ec285625140931943a3ce5795108f5db08edb Mon Sep 17 00:00:00 2001 From: dmcmahill Date: Mon, 14 Mar 2005 22:03:55 +0000 Subject: 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. --- editors/matlab-mode/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'editors') 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" -- cgit v1.2.3