Open Adrien2002 opened 7 years ago
There are no install targets for any platform (except OSX) because we don't use make install
. I don't remember what the install target we do have in there is for. I think it was once involved in the OSX .app building process.
I'm not sure what an appropriate install target would even look like. A user would need to either copy the game's assets out of their Steam or non-Steam (GOG, Humble, IGS, etc) install or copy their binaries into one of said installs. I am open to any contributions for this.
That's what I did, I can't make install but I can make so I do have the NetBSD binary of the game and I copied the files from my GOG version to be able to play it. I just wanted to make a package of the engine in our pkgsrc.
But the idea of the package is to, for example, put Barony binary into $PREFIX/bin and put all the files into $PREFIX/share/barony/files and the executable will know that distfiles with the game are in a specified path like $PREFIX/share/barony/files
That path can be specified in CMake with -DBARONY_FILES:PATH=$PREFIX/share/barony/files and executable of barony will search this path then users will put manually files in there. A "MESSAGE" file into the pkgsrc package will indicate where to put the files to be able to run the game.
If you know how to write the install target for NetBSD, could you submit a pull request? Otherwise, seeing as *BSD is not one of our officially supported platforms, I'm going to leave this for a BSD user to tackle.
Hello, I'm on NetBSD and I built Barony well but I can't "make install" it because there is lack of install() entries in CMakeLists.txt about NetBSD
===> Installing for Barony-v2.0.4 make: don't know how to make install. Stop