The instructions at https://github.com/openhab/openhab1-addons/wiki/FreeBSD are outdated and while the steps seem to be the same it’s unclear what needs to be done when things don’t line up.
Here’s what I have been able to do so far (on a fresh install of FreeBSD 11.1)
pkg install -y openjdk8 git gradle maven gmake
cd ~
git clone https://github.com/openhab/openhab-distro.git
I have no clue if that’d the correct repository? Anyway, I continue…
git clone https://github.com/openhab/nrjavaserial
cd nrjavaserial
gradle build
make freebsd
I have no idea what needs to be done at this point since there is no bundles/io/org.openhab.io.transport.serial
folder in the repo I cloned. So I move on…
cd ../openhab-distro/
mvn clean
mvn package
That all completes with out a problem
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] openHAB Distribution ............................... SUCCESS [ 8.401 s]
[INFO] openHAB Features ................................... SUCCESS [ 0.002 s]
[INFO] openHAB Feature ESH Add-ons ........................ SUCCESS [ 0.446 s]
[INFO] openHAB Distro Feature Resources ................... SUCCESS [ 15.679 s]
[INFO] openHAB Distro Feature ............................. SUCCESS [ 3.382 s]
[INFO] openHAB Distro Feature KAR ......................... SUCCESS [01:47 min]
[INFO] openHAB Add-ons .................................... SUCCESS [ 3.857 s]
[INFO] openHAB Overrides .................................. SUCCESS [ 0.159 s]
[INFO] openHAB Distributions .............................. SUCCESS [ 0.001 s]
[INFO] openHAB Add-ons KAR ................................ SUCCESS [02:44 min]
[INFO] openHAB Legacy Add-ons KAR ......................... SUCCESS [ 10.717 s]
[INFO] openHAB Distribution ............................... SUCCESS [01:43 min]
[INFO] openHAB Feature Verification ....................... SUCCESS [32:08 min]
[INFO] openHAB Online Repository .......................... SUCCESS [ 39.296 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 39:48 min
[INFO] Finished at: 2017-11-24T03:24:26-05:00
[INFO] Final Memory: 27M/625M
[INFO] ------------------------------------------------------------------------
Now what do I do?