Trying to update a Portfile

Ryan Schmidt ryandesign at macports.org
Wed Jul 21 15:56:48 PDT 2010


On Jul 21, 2010, at 08:35, Harry van der Wolf wrote:

> Thanks for your reply. I was already typing a mail to mention that I had found it. I "grepped" for other Portfiles having "sourceforge:".
> 
> I came to:
> master_sites            sourceforge:hugin

Since ":${name}" is appended by default, you can simplify this to "master_sites sourceforge"

> distname                $name-$version.$revision

As Joshua said, do not include ${revision} here. It is expected that revisions can be incremented independently of upstream changes to distfiles. So in this case I guess you need to use "distname ${name}-${version}.0". Or leave distname alone and set "version 2010.0.0" if that's an accurate version number. (I didn't quite understand why there was an extra ".0" at the end of the distfile name.)

Note also that these questions are more appropriate for the macports-dev mailing list.





More information about the macports-users mailing list