This project contains tools to build the port files for FreeBSD's /usr/ports/java/eclipse.
bin/script
bin/fetch-distfiles [additional fetch(1) flags]
bin/unpack-distfiles
bin/apply-patches [directory ...]
Unpacked distfiles + up-to-date patches => eclipse.platform.releng.aggregator
bin/build-eclipse [additional maven flags]
The challenge is to get a working build. Changes to eclipse.platform.releng.aggregator should be committed and pushed to the repo as required.
On a successful build, org.eclipse.sdk.ide-freebsd.gtk.${ARCH}.tar.gz
is
generated. This can be unpacked to test the generated executable:
tar xf org.eclipse.sdk.ide-freebsd.gtk.${ARCH}.tar.gz
eclipse/eclipse
When a usable executable has been generated the java/eclipse port can be updated:
bin/generate-patches
The porting-strategy is based on using the Linux port as the base and converting it to FreeBSD. The pre-patch stage renames Linux specific directories, and most of the work devolves to changing the following lines of text:
linux.x86_64
=> freebsd.amd64
linux.ppc64le
=> freebsd.powerpc64
The following modules have been disabled as they involve maven repository updates or are uncompilable tests.