summaryrefslogtreecommitdiff
path: root/editors/jave/Makefile
blob: 21ff4d60c5907fce1bd67dae32691897217cfca2 (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
# $NetBSD: Makefile,v 1.4 2006/03/10 23:39:24 rillig Exp $

DISTNAME=		jave_6.0_M7
PKGNAME=		jave-6.0m7
PKGREVISION=		1
CATEGORIES=		editors
MASTER_SITES=		http://www.jave.de/developer/ http://www.jave.de/figlet/
EXTRACT_SUFX=		.zip
DISTFILES=		jave_6.0_M7${EXTRACT_SUFX} figletfonts37${EXTRACT_SUFX}

MAINTAINER=		martti@NetBSD.org
HOMEPAGE=		http://www.jave.de/
COMMENT=		Java ASCII Versatile Editor

USE_JAVA=		run
PKG_JVMS_ACCEPTED=	sun-jdk14 sun-jdk15

WRKSRC=			${WRKDIR}

post-extract:
	${MKDIR} ${WRKDIR:Q}/.workdir
	${MV} ${WRKDIR:Q}/* ${WRKDIR:Q}/.workdir/

do-build:
	${SED}	-e "s#@PKG_JAVA_HOME@#${PKG_JAVA_HOME}#g"	\
		-e "s#@PREFIX@#${PREFIX}#g"			\
		< ${FILESDIR:Q}/jave > ${WRKDIR:Q}/jave

do-install:
	${INSTALL_SCRIPT} ${WRKDIR:Q}/jave ${PREFIX:Q}/bin
	${INSTALL_DATA_DIR} ${PREFIX:Q}/share/jave
	(cd ${WRKDIR:Q}/.workdir && ${PAX} -rw * ${PREFIX:Q}/share/jave)

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