[113517] trunk/dports/graphics

Ryan Schmidt ryandesign at macports.org
Tue Nov 19 20:56:19 PST 2013


On Nov 18, 2013, at 16:14, devans at macports.org wrote:

> Revision
> 113517
> Author
> devans at macports.org
> Date
> 2013-11-18 14:14:50 -0800 (Mon, 18 Nov 2013)
> Log Message
> 
> osm-gps-map-gtk2: legacy gtk2 version of osm-gps-map for ports that need it, installs in parallel with new osm-gps-map.

> --- trunk/dports/graphics/osm-gps-map-gtk2/Portfile	                        (rev 0)
> +++ trunk/dports/graphics/osm-gps-map-gtk2/Portfile	2013-11-18 22:14:50 UTC (rev 113517)
> 
> @@ -0,0 +1,55 @@
> 
> +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
> +# $Id$
> +
> +PortSystem      1.0
> +
> +PortGroup       github 1.0
> +
> +set git_name    osm-gps-map
> +github.setup    nzjrs ${git_name} 0.7.3

You don’t need a separate git_name variable here. The github portgroup already gives you the variable github.project that you can use.

> +homepage        
> http://nzjrs.github.com/${git_name}


e.g. homepage        http://${github.author}.github.io/${github.project}/

(This appears to be the correct canonical URL.)



More information about the macports-dev mailing list