pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/matlab-mode avoid letting the emacs flavour af...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/67d571cad823
branches:  trunk
changeset: 490547:67d571cad823
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Mon Mar 14 22:03:55 2005 +0000

description:
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:

 editors/matlab-mode/Makefile |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r ca1ead036227 -r 67d571cad823 editors/matlab-mode/Makefile
--- a/editors/matlab-mode/Makefile      Mon Mar 14 22:03:01 2005 +0000
+++ b/editors/matlab-mode/Makefile      Mon Mar 14 22:03:55 2005 +0000
@@ -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 @@
 
 WRKSRC=                        ${WRKDIR}
 EXTRACT_CMD=           ${CP} ${DOWNLOADED_DISTFILE} ${WRKDIR}
-DIST_SUBDIR=           ${PKGNAME_NOREV}
+DIST_SUBDIR=           ${BASEPKGNAME}
 
 .include "../../mk/emacs.mk"
 



Home | Main Index | Thread Index | Old Index