blob: 536c296177d8b694adf9b16b73b351f380820079 (
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
47
|
# $NetBSD: Makefile,v 1.3 2003/04/18 08:07:48 rh Exp $
#
DISTNAME= ${PKGNAME}
PKGNAME= eclipse-2.1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.netbsd.org/pub/NetBSD/misc/jschauma/
MAINTAINER= jschauma@netbsd.org
HOMEPAGE= http://www.eclipse.org
COMMENT= Java IDE
DEPENDS+= jakarta-ant>=1.4.1:../../devel/jakarta-ant
PKG_JVM= sun-jdk13
MAKE_ENV+= JAVA_HOME=${PKG_JAVA_HOME}
MAKE_ENV+= ANT_HOME=${PREFIX}
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Linux"
DISTNAME= eclipse-sourceBuild-srcIncluded-2.1
MASTER_SITES= http://download.eclipse.org/downloads/drops/R-2.1-200303272130/
EXTRACT_SUFX= .zip
PAXDIR= ${WRKDIR}
do-build:
cd ${WRKDIR} && ${MAKE_ENV} ${SH} build -os linux -ws motif
.else
NO_BUILD= #defined
PAXDIR= ${WRKSRC}
.endif
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/eclipse
cd ${PAXDIR} && ${PAX} -s ,^./[.].*,, -rw . ${PREFIX}/eclipse/
${SED} -e "s,@PREFIX@,${PREFIX}," ${FILESDIR}/eclipse > \
${WRKDIR}/.eclipse
${INSTALL_SCRIPT} ${WRKDIR}/.eclipse ${PREFIX}/bin/eclipse
# this package provides binaries that we can not relink, so no point in checking
LDD= ${TRUE}
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
|