svn commit: r466774 - head/net/get_iplayer

Jason E. Hale jhale at freebsd.org
Sun Apr 8 12:16:38 UTC 2018


On Sun, Apr 8, 2018 at 3:30 AM, Chris Rees <crees at freebsd.org> wrote:
> Author: crees
> Date: Sun Apr  8 07:30:09 2018
> New Revision: 466774
> URL: https://svnweb.freebsd.org/changeset/ports/466774
>
> Log:
>   Update to 3.13
>
> Modified:
>   head/net/get_iplayer/Makefile
>   head/net/get_iplayer/distinfo
>
> Modified: head/net/get_iplayer/Makefile
> ==============================================================================
> --- head/net/get_iplayer/Makefile       Sun Apr  8 06:59:57 2018        (r466773)
> +++ head/net/get_iplayer/Makefile       Sun Apr  8 07:30:09 2018        (r466774)
> @@ -1,10 +1,9 @@
>  # $FreeBSD$
>
>  PORTNAME=      get_iplayer
> -PORTVERSION=   3.01
> +PORTVERSION=   3.13
>  CATEGORIES=    net multimedia
> -MASTER_SITES=  http://www.thomasguymer.co.uk/ports/${PORTNAME}/ \
> -               http://www.bayofrum.net/dist/${PORTNAME}/
> +MASTER_SITES=  GH
>
>  MAINTAINER=    crees at FreeBSD.org
>  COMMENT=       Search, index, or stream archive video from BBC iPlayer
> @@ -18,9 +17,14 @@ RUN_DEPENDS= p5-HTML-Parser>=0:www/p5-HTML-Parser \
>                 p5-XML-Simple>=0:textproc/p5-XML-Simple \
>                 p5-URI>=0:net/p5-URI \
>                 p5-libwww>=0:www/p5-libwww \
> +               p5-Mojolicious>=0:www/p5-Mojolicious \
>                 rtmpdump:multimedia/rtmpdump
>
>  USES=          perl5 shebangfix
> +USE_GITHUB=    yes
> +GH_ACCOUNT=    get-iplayer
> +GH_PROJECT=    ${PORTNAME}
> +GH_TAGNAME=    07535670
>  USE_PERL5=     run
>  SHEBANG_FILES= ${PORTNAME} ${PORTNAME}.cgi
>  NO_BUILD=      yes
>
> Modified: head/net/get_iplayer/distinfo
> ==============================================================================
> --- head/net/get_iplayer/distinfo       Sun Apr  8 06:59:57 2018        (r466773)
> +++ head/net/get_iplayer/distinfo       Sun Apr  8 07:30:09 2018        (r466774)
> @@ -1,3 +1,3 @@
> -TIMESTAMP = 1494143984
> -SHA256 (get_iplayer-3.01.tar.gz) = 0e1e16f3706efa98893e33b1602cc00bb3d8e22e269bfc5a1a078559e4c21ce6
> -SIZE (get_iplayer-3.01.tar.gz) = 141196
> +TIMESTAMP = 1523172178
> +SHA256 (get-iplayer-get_iplayer-3.13-07535670_GH0.tar.gz) = 6c84bfadaa35c9510b8e70cac9d2e7f9a5d848ec88f5c378c46233bcb204b433
> +SIZE (get-iplayer-get_iplayer-3.13-07535670_GH0.tar.gz) = 140366
>

You should remove MASTER_SITES (not needed), GH_PROJECT (set to
PORTNAME by default), and GH_TAGNAME (should be just be set by
DISTVERSIONPREFIX/DISTVERSION in this case). Set DISTVERSIONPREFIX= v,
and remake distinfo. See:
https://www.freebsd.org/doc/en/books/porters-handbook/book.html#makefile-master_sites-github-description

-Jason


More information about the svn-ports-head mailing list