On 01/03/2013 02:49 AM, Joshua Root wrote:
On 2013-1-3 09:23 , Blair Zajac wrote:
On my testing on 10.7, the package that is generated from 'port pkg'
doesn't contain any version info, so it looks like Mac OS X treats it as
a 1.0 package.

Given I don't know anything about Mac OS X packaging and need this for
an internal project, where is the appropriate place to put a version
number?

I implemented the flat pkg support, but I don't know exactly where the
version should go or how it should be formatted, sorry. The available
documentation isn't very good.

These are the best references I found:

<http://s.sudre.free.fr/Stuff/Ivanhoe/FLAT.html>
<https://developer.apple.com/library/mac/#documentation/DeveloperTools/Reference/DistributionDefinitionRef/Chapters/Distribution_XML_Ref.html>

According to packagemaker, passing --version should be sufficient.

https://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/packagemaker.1.html

I'm trying this now.

Also, should we put the epoch number into the generated pkg and mpkg filenames? I'm going to add it to the version number:

${epoch}.${portversion}.${portrevision}

Blair

_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to