On make install two files do not honour the prefix for the installation. Namely xtrkcad.desktop and xtrkcad.png, these are always installed into /usr/share/applications and /usr/share/pixmaps respectively.
This happens on Devuan 2.x ASCII (like Debian 9.x Stretch) with branch 'default'.
The rules for installation of said files are set in [1]. After playing a bit with the options I was able to make it work on my system. Though I have no clue about cmake nor the project, so no idea whether this suits other distros and operating systems.
In said file[1] I've altered line 50 to:
DESTINATION "${XTRKCAD_SHARE_INSTALL_DIR}/applications"
and line 54 to:
DESTINATION "${XTRKCAD_SHARE_INSTALL_DIR}/pixmaps"
[1] https://sourceforge.net/p/xtrkcad-fork/xtrkcad/ci/default/tree/app/lib/CMakeLists.txt
Fixed as above
More work is required to update the system menus and desktop
Ticket moved from /p/xtrkcad-fork/bugs/284/
Can't be converted: