I've downloaded the file ubports-installer-0.1.21-beta.freebsd and can have a look into it with
$ xz -dc ubports-installer-0.1.21-beta.freebsd | tar tf -
+COMPACT_MANIFEST
+MANIFEST
/opt/ubports-installer/LICENSE.electron.txt
/opt/ubports-installer/LICENSES.chromium.html
/opt/ubports-installer/blink_image_resources_200_percent.pak
/opt/ubports-installer/content_resources_200_percent.pak
...
How is this to be installed and used on FreeBSD?
I tried to rename the archive to the normal file name for FreeBSD packages, integrated it in my repository and tried to install it, which gives:
# mv ubports-installer-0.1.21-beta.freebsd /usr/local/PKGDIR.20170304/ubports-installer-0.1.21-beta.txz
# pkg repo /usr/local/PKGDIR.20170304
pkg -R /usr/local/etc/pkg/repos/ install ubports-installer
Updating FreeBSD repository catalogue...
meta.txz : 100% 264 B 0.3kB/s 00:01
packagesite.txz : 100% 418 KiB 428.5kB/s 00:01
Processing entries: 88%
pkg: wrong architecture: linux:4:x86:64 instead of FreeBSD:12:amd64
pkg: repository FreeBSD contains packages with wrong ABI: linux:4:x86:64
Processing entries: 100%
Unable to update repository FreeBSD
Error updating repositories!
Can the dev who created this archive please contact me? Thanks.