Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Jun 2015 10:08:34 +0200
From:      Jan Beich <jbeich@vfemail.net>
To:        Tom Pusateri <pusateri@bangj.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Help with new port with multiple downloaded files from github
Message-ID:  <eglt-uscd-wny@FreeBSD.org>
In-Reply-To: <556E83CE.2020209@bangj.com> (Tom Pusateri's message of "Wed, 03 Jun 2015 00:34:22 -0400")
References:  <556E83CE.2020209@bangj.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Why are you trying to replicate www/chromium logic instead of making
a slave of it?

Tom Pusateri <pusateri@bangj.com> writes:

> PORTVERSION=3D    43.0.2357.65
> DISTVERSIONPREFIX=3D      v
> DISTVERSIONSUFFIX=3D      1

According to the project's releases page 43.0.2357.65 ends in either
=2Datom or -atom-1, not just 1.

> root@dark:/home/pusateri/ports/www/libchromiumcontent # make
> =3D=3D=3D>   libchromiumcontent-43.0.2357.65 depends on file:
> /usr/local/sbin/pkg - found
> _MASTER_SITES_freebsd-chromium=3Dhttps://codeload.github.com/gliaskos/fre=
ebsd-chromium/tar.gz/418e996e3a?dummy=3D/:
> not found
> *** Error code 127
[...]
> USE_GITHUB=3D    yes
> GH_ACCOUNT=3D    atom:libchromiumcontent \
>                              gliaskos:freebsd-chromium

MASTER_SITE_${group} is implemented via sh(1) that supports limited set
of characters of in variable names of which - (hyphen) isn't one. So,
try replacing :freebsd-chromium with :freebsd_chromium.

> GH_PROJECT=3D    libchromiumcontent:libchromiumcontent \
>                            freebsd-chromium:freebsd-chromium
> GH_TAGNAME=3D
> ${DISTVERSIONPREFIX}${PORTVERSION}-${GH_ACCOUNT}-${DISTVERSIONSUFFIX}:lib=
chromiumcontent
> \
>                            418e996e3a:freebsd-chromium

No need to put PORTNAME-derived GH_PROJECT under a separate group as
it'd add a duplicate unless USE_GITHUB=3Dnodefault. Try instead

  GH_ACCOUNT=3D    atom gliaskos:freebsd_chromium
  GH_PROJECT=3D    freebsd-chromium:freebsd_chromium
  GH_TAGNAME=3D    418e996e3a:freebsd_chromium=20=20

  $ make fetch-urlall-list MASTER_SITE_BACKUP=3D
  https://codeload.github.com/atom/libchromiumcontent/tar.gz/v43.0.2357.65-=
atom-1?dummy=3D/atom-libchromiumcontent-v43.0.2357.65-atom-1_GH0.tar.gz
  https://codeload.github.com/gliaskos/freebsd-chromium/tar.gz/418e996e3a?d=
ummy=3D/gliaskos-freebsd-chromium-418e996e3a_GH0.tar.gz

Hmm, freebsd-chromium-418e996e3a tracks 42.0.2311.135. I don't think
mixing patches for different *major* chromium versions is going to work.

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQF8BAEBCgBmBQJVbrYCXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQjQ0MzY3NEM3RDIzNTc4NkUxNDkyQ0VF
NEM3Nzg4MzQ3OURCRERCAAoJEOTHeINHnb3bl78IAMSJuRx75mMo7UsrPK+73cQr
gYVmQ0oxAzjJm+rvLOXPcC7fyn4ZuK+OGKwLATnDSlRC+uCXgKcfhwmRnPXNfby0
wBEeWS3lARH2iGw3FpeBAxlxBQNl2m62YXAfDyR3CuYtg2STYeWuRAG/I9H7nlOZ
VNXOaL8HOgHhEFGeVh8FOLSFIS52NfpktWNimBr3AdLQg3PYTUzmFPTOeQNPz3qy
GzaKnqrmmq+qsXaY34Ejff+R//MPQ89OMIKjNCYz2/8L55O+fwynEQ1TvFVk3VEM
28BtjZGF2N7lQpWrd0eT+kqOBHHFgyz3gHKZtw2DzVJ19e23+NrcnOBz1n14hUE=
=WwYJ
-----END PGP SIGNATURE-----
--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?eglt-uscd-wny>