diff options
Diffstat (limited to 'java/eclipse/Makefile')
-rw-r--r-- | java/eclipse/Makefile | 149 |
1 files changed, 0 insertions, 149 deletions
diff --git a/java/eclipse/Makefile b/java/eclipse/Makefile deleted file mode 100644 index 3c818b7d0..000000000 --- a/java/eclipse/Makefile +++ /dev/null @@ -1,149 +0,0 @@ -# New ports collection makefile for: eclipse -# Date created: March 7, 2003 -# Whom: various members of freebsd-java -# -# $FreeBSD$ -# - -PORTNAME= eclipse -PORTVERSION= 3.1.2 -PORTREVISION= 0 -CATEGORIES= java devel -MASTER_SITES= ${MASTER_SITE_ECLIPSE} -MASTER_SITE_SUBDIR= R-${PORTVERSION}-200601181600 -DISTNAME= ${PORTNAME}-sourceBuild-srcIncluded-${PORTVERSION} -DIST_SUBDIR= eclipse - -MAINTAINER= freebsd-eclipse@FreeBSD.org -COMMENT= An open extensible IDE for anything and nothing in particular - -BUILD_DEPENDS= ant:${PORTSDIR}/devel/apache-ant \ - zip:${PORTSDIR}/archivers/zip -BUILD_DEPENDS+= ${EXTRACT_DEPENDS} - -ONLY_FOR_ARCHS= i386 amd64 -USE_GMAKE= yes -USE_ZIP= yes -USE_GCC= 3.4 - -USE_JAVA= yes -JAVA_VERSION= 1.4+ -JAVA_OS= native - -NO_WRKSUBDIR= yes - -PORTDESTDIR= ${PREFIX}/eclipse - -ECLIPSE_OS= freebsd - -.if defined(WITH_MOTIF) -ECLIPSE_WS= motif -USE_ICONV= yes -USE_MOTIF= yes -.else -ECLIPSE_WS= gtk -.if defined(WITHOUT_CAIRO) -MAKE_CAIRO= -.else -LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo -MAKE_CAIRO= make_cairo -.endif -.endif - -.if defined(WITHOUT_GNOMEVFS) -MAKE_GNOME= -USE_GNOME= gtk20 pkgconfig desktopfileutils -.else -MAKE_GNOME= make_gnome -USE_GNOME= gtk20 gnomevfs2 libgnome libgnomeui pkgconfig desktopfileutils -.endif - -.include <bsd.port.pre.mk> - -.if (${ARCH} == "amd64") -ECLIPSE_ARCH= amd64 -ECLIPSE_SWT= gtk64 -.else -ECLIPSE_ARCH= x86 -ECLIPSE_SWT= gtk -.endif - -.if !defined(WITHOUT_MOZILLA) -MAKE_MOZILLA= make_mozilla -USE_GECKO= firefox mozilla seamonkey xulrunner -.include "${PORTSDIR}/www/mozilla/bsd.gecko.mk" -BROWSER= ${GECKO} -USE_LDCONFIG= yes -.else -BROWSER= -MAKE_MOZILLA= -.endif - -MAKE_ENV+= BROWSER=${BROWSER} \ - ECLIPSE_ARCH=${ECLIPSE_ARCH} \ - ECLIPSE_OS=${ECLIPSE_OS} \ - ECLIPSE_WS=${ECLIPSE_WS} \ - JAVA_HOME=${JAVA_HOME} \ - MAKE_GNOME=${MAKE_GNOME} \ - MAKE_MOZILLA=${MAKE_MOZILLA} \ - MAKE_CAIRO=${MAKE_CAIRO} \ - MACHINE_ARCH=${MACHINE_ARCH} \ - MOTIF_HOME=${X11_HOME} \ - GECKO_CONFIG=${GECKO_CONFIG} - -PLIST_FILES= bin/eclipse share/applications/eclipse.desktop - -SWTCAIRO=${WRKSRC}/plugins/org.eclipse.swt/Eclipse SWT PI/cairo/library -SWTGTK=${WRKSRC}/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library -SWTMOTIF=${WRKSRC}/plugins/org.eclipse.swt/Eclipse SWT PI/motif/library - -# Manually patch some files with spaces in the path -post-patch: - @${PATCH} ${PATCH_DIST_ARGS} "${SWTMOTIF}/build.sh" \ - ${FILESDIR}/manualpatch-plugins-swt-motif-build.sh - @${PATCH} ${PATCH_DIST_ARGS} "${SWTMOTIF}/make_freebsd.mak" \ - ${FILESDIR}/manualpatch-plugins-swt-motif-make_freebsd.mak - @${PATCH} ${PATCH_DIST_ARGS} "${SWTGTK}/make_freebsd.mak" \ - ${FILESDIR}/manualpatch-plugins-swt-gtk-make_freebsd.mak - @${PATCH} ${PATCH_DIST_ARGS} "${SWTGTK}/build.sh" \ - ${FILESDIR}/manualpatch-plugins-swt-gtk-build.sh - @${PATCH} ${PATCH_DIST_ARGS} \ - "plugins/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo.c" \ - ${FILESDIR}/manualpatch-plugins-swt-cairo-library \ - + "plugins/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo.h" \ - + "plugins/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo_custom.c" \ - + "plugins/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo_stats.c" \ - + "plugins/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo_stats.h" \ - + "plugins/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo_structs.c" \ - + "plugins/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo_structs.h" - -do-build: - @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} \ - ./build -os ${ECLIPSE_OS} -ws ${ECLIPSE_WS} -arch ${ECLIPSE_ARCH} -compilelibs) - -do-install: - @${MKDIR} ${PORTDESTDIR} - @${TAR} -xzf ${WRKSRC}/result/*.tar.gz -C ${PREFIX} - @${SED} \ - -e "s+%%ECLIPSE_HOME%%+${PORTDESTDIR}+g" \ - -e "s+%%PREFIX%%+${PREFIX}+g" \ - -e "s+%%X11BASE%%+${X11BASE}+g" \ - -e "s+%%BROWSER%%+${BROWSER}+g" \ - -e "s,%%JAVA_VERSION%%,${JAVA_VERSION},g" \ - -e "s+%%JAVA_OS%%+${JAVA_OS}+g" \ - ${FILESDIR}/eclipse.in > ${WRKSRC}/eclipse.tmp - ${INSTALL_SCRIPT} ${WRKSRC}/eclipse.tmp ${PREFIX}/bin/eclipse - @${SED} \ - -e "s+%%ECLIPSE_HOME%%+${PORTDESTDIR}+g" \ - -e "s+%%PREFIX%%+${PREFIX}+g" \ - ${FILESDIR}/eclipse.desktop > ${WRKSRC}/eclipse.desktop.tmp - ${INSTALL_DATA} ${WRKSRC}/eclipse.desktop.tmp ${PREFIX}/share/applications/eclipse.desktop - ${INSTALL_PROGRAM} ${WRKSRC}/launchertmp/eclipse ${PREFIX}/eclipse/eclipse - @-update-desktop-database - @(cd ${WRKSRC}; ${FIND} -s eclipse -not -type d) >> ${TMPPLIST} - @echo '@exec ${PREFIX}/bin/update-desktop-database > /dev/null || /usr/bin/true' >> ${TMPPLIST} - @(cd ${WRKSRC}; ${FIND} -s -d eclipse -type d) \ - | ${SED} -ne 's,^,@dirrm ,p' >> ${TMPPLIST} - @echo '@unexec ${PREFIX}/bin/update-desktop-database > /dev/null || /usr/bin/true' >> ${TMPPLIST} - -.include <bsd.port.post.mk> |