2009-12-24 04:49:35 +01:00
|
|
|
# $NetBSD: Makefile,v 1.27 2009/12/24 03:49:35 dsainty Exp $
|
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.
2003-03-19 17:09:29 +01:00
|
|
|
#
|
|
|
|
|
2006-02-06 23:51:09 +01:00
|
|
|
DISTNAME= ${PKGNAME_NOREV}
|
2004-02-28 19:31:25 +01:00
|
|
|
PKGNAME= eclipse-${VERSION}
|
2009-11-22 20:51:43 +01:00
|
|
|
PKGREVISION= 2
|
2003-08-23 17:09:51 +02:00
|
|
|
CATEGORIES= devel java
|
2009-08-01 20:33:08 +02:00
|
|
|
MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/jschauma/
|
2004-07-13 22:36:28 +02:00
|
|
|
EXTRACT_SUFX= .zip
|
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.
2003-03-19 17:09:29 +01:00
|
|
|
|
2009-03-22 03:31:39 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2003-12-30 18:21:54 +01:00
|
|
|
HOMEPAGE= http://www.eclipse.org/
|
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.
2003-03-19 17:09:29 +01:00
|
|
|
COMMENT= Java IDE
|
2005-01-19 21:44:11 +01:00
|
|
|
LICENSE= eclipse-license
|
|
|
|
|
2003-06-03 19:02:44 +02:00
|
|
|
DEPENDS+= apache-ant>=1.4.1:../../devel/apache-ant
|
2009-12-24 04:49:35 +01:00
|
|
|
USE_TOOLS+= unzip
|
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.
2003-03-19 17:09:29 +01:00
|
|
|
|
2008-03-03 18:45:33 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2009-11-22 20:51:43 +01:00
|
|
|
PKG_JVMS_ACCEPTED= sun-jdk6 sun-jdk15 sun-jdk14
|
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.
2003-03-19 17:09:29 +01:00
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
MAKE_ENV+= JAVA_HOME=${PKG_JAVA_HOME:Q}
|
|
|
|
MAKE_ENV+= ANT_HOME=${PREFIX:Q}
|
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.
2003-03-19 17:09:29 +01:00
|
|
|
|
2005-01-19 21:44:11 +01:00
|
|
|
VERSION= 3.0.1
|
2004-07-13 22:36:28 +02:00
|
|
|
|
|
|
|
# XXX: Others might work but might need significant tweaking
|
2009-11-22 20:51:43 +01:00
|
|
|
ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-x86_64 Linux-*-*
|
2004-02-28 19:31:25 +01:00
|
|
|
|
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.
2003-03-19 17:09:29 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} == "Linux"
|
2004-02-28 19:31:25 +01:00
|
|
|
DISTNAME= eclipse-sourceBuild-srcIncluded-${VERSION}
|
2005-10-20 20:38:29 +02:00
|
|
|
MASTER_SITES= ftp://download.eclipse.org/R-3.0.1-200409161125/
|
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.
2003-03-19 17:09:29 +01:00
|
|
|
|
2004-09-21 15:49:41 +02:00
|
|
|
BUILD_DEPENDS+= zip>=2.3:../../archivers/zip
|
|
|
|
|
2005-06-16 08:57:37 +02:00
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
|
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.
2003-03-19 17:09:29 +01:00
|
|
|
do-build:
|
2004-07-13 22:36:28 +02:00
|
|
|
cd ${WRKDIR} && ${MAKE_ENV} ${SH} build -os linux -ws motif -arch x86
|
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.
2003-03-19 17:09:29 +01:00
|
|
|
.else
|
2006-05-23 00:22:02 +02:00
|
|
|
NO_BUILD= yes
|
|
|
|
CHECK_SHLIBS_SUPPORTED= no
|
2004-07-13 22:36:28 +02:00
|
|
|
|
|
|
|
do-extract:
|
|
|
|
${MKDIR} ${WRKDIR}/result
|
2006-02-06 23:51:09 +01:00
|
|
|
${CP} ${DISTDIR}/${PKGNAME_NOREV}${EXTRACT_SUFX} ${WRKDIR}/result/linux-motif-x86-sdk.zip
|
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.
2003-03-19 17:09:29 +01:00
|
|
|
.endif
|
|
|
|
|
2004-07-13 22:36:28 +02:00
|
|
|
post-build:
|
|
|
|
${RM} -fr ${WRKDIR}/tmp
|
|
|
|
|
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.
2003-03-19 17:09:29 +01:00
|
|
|
do-install:
|
2008-03-03 18:45:33 +01:00
|
|
|
cd ${DESTDIR}${PREFIX} && \
|
|
|
|
unzip ${WRKDIR}/result/linux-motif-x86-sdk.zip
|
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.
2003-03-19 17:09:29 +01:00
|
|
|
${SED} -e "s,@PREFIX@,${PREFIX}," ${FILESDIR}/eclipse > \
|
2008-03-03 18:45:33 +01:00
|
|
|
${WRKDIR}/.eclipse
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/.eclipse ${DESTDIR}${PREFIX}/bin/eclipse
|
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.
2003-03-19 17:09:29 +01:00
|
|
|
|
|
|
|
.include "../../mk/java-vm.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|