[106713] trunk/dports/science

Ryan Schmidt ryandesign at macports.org
Thu Jun 6 16:23:13 PDT 2013


On Jun 5, 2013, at 20:42, michaelld at macports.org wrote:

> Revision: 106713
>          https://trac.macports.org/changeset/106713
> Author:   michaelld at macports.org
> Date:     2013-06-05 18:42:16 -0700 (Wed, 05 Jun 2013)
> Log Message:
> -----------
> hackrf: initial port addition.
> 
> Added Paths:
> -----------
>    trunk/dports/science/hackrf/
>    trunk/dports/science/hackrf/Portfile
> 
> Added: trunk/dports/science/hackrf/Portfile
> ===================================================================
> --- trunk/dports/science/hackrf/Portfile	                        (rev 0)
> +++ trunk/dports/science/hackrf/Portfile	2013-06-06 01:42:16 UTC (rev 106713)
> @@ -0,0 +1,45 @@
> +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
> +# $Id$
> +
> +PortSystem          1.0
> +PortGroup           cmake 1.0
> +
> +name                hackrf
> +maintainers		    michaelld openmaintainer
> +
> +description		    ${name} is a project to build a low cost software radio platform.
> +
> +categories		    science comms
> +homepage            https://github.com/mossmann/hackrf/wiki
> +license             GPL-3
> +platforms           darwin macosx
> +
> +long_description    ${description}
> +
> +version             20130605
> +
> +fetch.type          git
> +git.url             git://github.com/mossmann/hackrf.git
> +git.branch          532807110b57d52e22a753c5763a81eb98660953
> +
> +livecheck.url       https://github.com/mossmann/hackrf/commits/master/
> +livecheck.version   ${git.branch}
> +livecheck.regex     ${name}/commits/(\[a-f0-9\]+).>

Since this is hosted at github, using the github portgroup might take care of some of these details for you. Is there a reason why you must fetch from git? If using a tarball is possible, that is preferred; it is also the default behavior of the github portgroup.




More information about the macports-dev mailing list