On 2009/11/10 10:32, Manuel GIRAUD wrote: > Hello ports@, > > I'd like to port the cspice toolkit (http://naif.jpl.nasa.gov/naif/) in > order to link it with xplanet and celestia. But I have some questions: > > 1- There is one source tree for each architecture (i.e. one for > Linux-32bits, one for SUN-64bits, etc.) so the port should be > arch specific. Is there an example of this in the ports tree?
I've only compared two of the distributions, but it looks like you get source code and binaries, the source is the same, so you should just be able to use one of these tar.Z files, ignore the exe directory, and rebuild from source. > 2- The maintainer of the toolkit says that it is not allowed to > redistribute a standalone toolkit but it is ok to redistribute > something that is linked with it (like celestia for example). So > I think it means that PERMIT_* should all be set to NO. And > there will be no package of cspice? right. and as things stand, I don't see any copyright notice or permission to redistribute in the tar.Z, nor any copyright notice in http://naif.jpl.nasa.gov/naif/rules.html > 3- Knowing 2, don't you think it might be better to patch > xplanet and celestia ports to build cspice and link to it? as things stand I think it has to be like this: separate port with PERMIT_*=No, and add a FLAVOR for celestia/xplanet using the the library from that port, it probably also has to force PERMIT_*=No there as well.