summaryrefslogtreecommitdiff
path: root/editors/jde/Makefile
blob: 42f6726670024d2fc303f64b46b57e7b3a760637 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# $NetBSD: Makefile,v 1.3 2002/12/31 15:44:29 jlam Exp $
#

DISTNAME=       jde-2.2.7.1
CATEGORIES=     devel editors
MASTER_SITES=	${MASTER_SITE_LOCAL}
# The "real" site has silly naming conventions:
#MASTER_SITES=   http://jde.sunsite.dk/projects/jde/

MAINTAINER=     cjones@netbsd.org
HOMEPAGE=       http://jde.sunsite.dk/
COMMENT=        Full-featured Java editing mode for emacs

DEPENDS+=       speedbar-0.13a:../../editors/speedbar
DEPENDS+=       eieio-0.16:../../lang/eieio
DEPENDS+=       semantic-1.4beta5:../../devel/semantic
DEPENDS+=       elib-1.0:../../devel/elib

.include "../../mk/bsd.prefs.mk"

.if defined(USE_XEMACS)
DEPENDS+=               xemacs-[0-9]*:../../editors/xemacs
EMACS=                  xemacs
LISPDIR=                lib/xemacs/xemacs-packages/lisp/jde
.else
DEPENDS+=               emacs-[0-9]*:../../editors/emacs
EMACS=                  emacs
LISPDIR=                share/emacs/site-lisp/jde
.endif

BUILD_ENV+=     EMACS=${EMACS}
BUILD_ENV+=     LISPDIR=${LISPDIR}
PLIST_SUBST+=   LISPDIR=${LISPDIR}

NO_CONFIGURE=   # set

WRKSRC=         ${WRKDIR}/${DISTNAME}/lisp
MAKEFILE=       makefile

do-install:
	${INSTALL_DATA_DIR} ${PREFIX}/${LISPDIR}
	cd ${WRKDIR}/${DISTNAME} ; tar cf - . | \
		( cd ${PREFIX}/${LISPDIR} ; tar xf - )

.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"