[109887] users/mojca/wxports/x11/xchm/Portfile

Mojca Miklavec mojca at macports.org
Thu Aug 22 06:40:51 PDT 2013


On Thu, Aug 22, 2013 at 5:14 AM, Ryan Schmidt wrote:
>
>> Modified: users/mojca/wxports/x11/xchm/Portfile
>> ===================================================================
>> --- users/mojca/wxports/x11/xchm/Portfile     2013-08-21 13:22:03 UTC (rev 109886)
>> +++ users/mojca/wxports/x11/xchm/Portfile     2013-08-21 13:42:51 UTC (rev 109887)
>> @@ -52,11 +52,12 @@
>>     app.name                xCHM
>>     app.executable          xchm
>>     app.icon                ${worksrcpath}/art/${icon_name}.png
>> -    # TODO: ImageMagick doesn't need to be universal
>> -    # it's only needed to convert the image to png
>> +    # TODO: ImageMagick is only needed to convert the image to png
>>     # if there is a more lightweight program to do the same, that one should be used
>> -    # or the icon as png should be fetched from elsewhere
>> +    # or the icon as png/icns should be fetched from elsewhere
>>     depends_build-append    port:ImageMagick
>> +    depends_skip_archcheck-append \
>> +                            port:ImageMagick
>
> It must be only the port name, not the full depspec.
>
>     depends_skip_archcheck-append \
>                             ImageMagick

Now that I went through ten iterations anyway: how could I properly
fetch the icon file from
    http://sourceforge.net/p/xchm/code/ci/master/tree/art/xchm-128.png?format=raw
instead of converting it on the fly, so that dependency on ImageMagic
could be avoided altogether?

Mojca


More information about the macports-dev mailing list