summaryrefslogtreecommitdiff
path: root/devel/wide/Makefile
blob: 0ff48f54393479dfeac594a7a36c7763c5c3fbd2 (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
# $NetBSD: Makefile,v 1.15 2012/10/31 11:19:53 asau Exp $
#

DISTNAME=		wide
PKGNAME=		wide-0.1
PKGREVISION=		3
CATEGORIES=		devel lang
MASTER_SITES=		http://www2.mta.ac.il/~tal/WIDE/
EXTRACT_SUFX=		.zip

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www2.mta.ac.il/~tal/WIDE/
COMMENT=		IDE for the While programming language
LICENSE=		eclipse-license

NO_BUILD=		yes
WRKSRC=			${WRKDIR}/WIDE

PKG_JVMS_ACCEPTED=	sun-jdk14 sun-jdk15

INSTALLATION_DIRS=	bin libexec/wide share/wide

USE_TOOLS+=		pax:run

post-extract:
	chmod -R go-w ${WRKSRC}

do-configure:
	${SED} -e 's|@PAX@|${PAX}|' -e 's|@PREFIX@|${PREFIX}|g' ${FILESDIR}/wide.in > ${WRKSRC}/wide
	${RM} -fr ${WRKSRC}/images/Copy*

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/wide ${DESTDIR}${PREFIX}/bin/wide
	cd ${WRKSRC} && pax -rw Study etc help images *.ini *.xml version.txt \
				${DESTDIR}${PREFIX}/share/wide/
	cd ${WRKSRC} && pax -rw lib ${DESTDIR}${PREFIX}/libexec/wide/

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