summaryrefslogtreecommitdiff
path: root/editors/jde
diff options
context:
space:
mode:
authoruebayasi <uebayasi>2005-08-28 04:25:28 +0000
committeruebayasi <uebayasi>2005-08-28 04:25:28 +0000
commit94e4fa69d6357e1a5cae535af27c4c9c24bdfe3c (patch)
treeccca2342ed9e54797d6faec6027bbd0e5c89cd07 /editors/jde
parentb7a1a03542680610d58269bfcd522517b8693a08 (diff)
downloadpkgsrc-94e4fa69d6357e1a5cae535af27c4c9c24bdfe3c.tar.gz
Rework emacs.mk:
1) Simplify the way how an emacs version is picked when no emacs is installed, but a user try to install an Emacs Lisp package. Just pick up the version set as EMACS_TYPE than searching for versions already installed etc. If the EMACS_TYPE version is not supported by the Emacs Lisp Package, just fail. EMACS_TYPE be default to GNU Emacs 21. (In other words, users should set EMACS_TYPE as they want. Otherwise GNU Emacs 21 is used.) 2) All Emacs Lisp Packages *must* prepend EMACS_PKGNAME_PREFIX to a) the PKGNAME itself, and b) PKGNAME in its dependency lines. EMACS_PKGNAME_PREFIX is expanded to "xemacs-" when XEmacs is used. This keeps dependency graph of Emacs-Lisp-packages- installed-for-XEmacs consistent. 3) Document EMACS_* variables as much as possible. 4) Provide more cookies for PLIST. Maybe utilized later. Note that the 2) change doesn't affect the default, GNU Emacs 21 behaviour. So no version / revision bumps in this commit.
Diffstat (limited to 'editors/jde')
-rw-r--r--editors/jde/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/editors/jde/Makefile b/editors/jde/Makefile
index 07b848f0895..8a61bd4b17c 100644
--- a/editors/jde/Makefile
+++ b/editors/jde/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.14 2005/08/11 14:36:53 uebayasi Exp $
+# $NetBSD: Makefile,v 1.15 2005/08/28 04:25:29 uebayasi Exp $
#
DISTNAME= jde-2.3.2
+PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
CATEGORIES= devel editors java
MASTER_SITES= ${MASTER_SITE_LOCAL}
# The "real" site has silly naming conventions:
@@ -11,10 +12,10 @@ MAINTAINER= cjones@NetBSD.org
HOMEPAGE= http://jdee.sunsite.dk/
COMMENT= Full-featured Java editing mode for emacs
-DEPENDS+= speedbar>=0.14rc2:../../editors/speedbar
-DEPENDS+= eieio>=0.17:../../lang/eieio
-DEPENDS+= semantic>=1.4rc13:../../devel/semantic
-DEPENDS+= elib>=1.0:../../devel/elib
+DEPENDS+= ${EMACS_PKGNAME_PREFIX}speedbar>=0.14rc2:../../editors/speedbar
+DEPENDS+= ${EMACS_PKGNAME_PREFIX}eieio>=0.17:../../lang/eieio
+DEPENDS+= ${EMACS_PKGNAME_PREFIX}semantic>=1.4rc13:../../devel/semantic
+DEPENDS+= ${EMACS_PKGNAME_PREFIX}elib>=1.0:../../devel/elib
WRKSRC= ${WRKDIR}/${DISTNAME}/lisp