summaryrefslogtreecommitdiff
path: root/devel/eclipse/Makefile
diff options
context:
space:
mode:
authorjschauma <jschauma>2003-03-19 16:09:29 +0000
committerjschauma <jschauma>2003-03-19 16:09:29 +0000
commitcf4dfc677aeb3ea93154adeb3003603f41a4174c (patch)
tree01ed81a1029b7c57f958969cd2810af9503c8ed2 /devel/eclipse/Makefile
parent6a0607343096f6cabe736e02d293689ecbf2a826 (diff)
downloadpkgsrc-cf4dfc677aeb3ea93154adeb3003603f41a4174c.tar.gz
Initial import of devel/eclipse:
Eclipse is an open source software development project dedicated to providing a robust, full-featured, commercial-quality, industry platform for the development of highly integrated tools. It is composed of three projects, the Eclipse Project, the Eclipse Tools Project and the EclipseTechnology Project, each of which is overseen by a Project Management Committee (PMC) and governed by its Project Charter. Each project is composed of its own subprojects and is licensed under the CPL version 1.0. This package is a bit interesting in that it's a java application, which can be built on NetBSD using one of the sun-jdk's, but then gives runtime errors. However, installing the application built on a Linux machine under NetBSD will work just fine. Seems to work only with sun-jdk13. Thus I placed a build of eclipse from Linux in ftp, from where it can be installed using this package.
Diffstat (limited to 'devel/eclipse/Makefile')
-rw-r--r--devel/eclipse/Makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/devel/eclipse/Makefile b/devel/eclipse/Makefile
new file mode 100644
index 00000000000..c51b858e657
--- /dev/null
+++ b/devel/eclipse/Makefile
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/03/19 16:09:29 jschauma Exp $
+#
+
+DISTNAME= ${PKGNAME}
+PKGNAME= eclipse-2.0.2
+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.0.2
+MASTER_SITES= http://download.eclipse.org/downloads/drops/R-2.0.2-200211071448/
+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
+
+.include "../../mk/java-vm.mk"
+.include "../../mk/bsd.pkg.mk"