summaryrefslogtreecommitdiff
path: root/editors/jde/Makefile
blob: d564ee89aef72c4d447095866b7f88cc9279da93 (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.1.1.1 2001/08/03 21:13:51 cjones 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-*:../../editors/xemacs
EMACS=                  xemacs
LISPDIR=                lib/xemacs/xemacs-packages/lisp/jde
.else
DEPENDS+=               emacs-*:../../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
USE_JAVA=       yes

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/bsd.pkg.mk"