On Tue, Jun 12 2018, fredl <m...@kwondratsch.com> wrote:
> On 06/12/18 18:43, Stuart Henderson wrote:
>> On 2018/06/12 18:38, fredl wrote:
>>> Hey,
>>>
>>> included is a diff for bringing www/hugo to v0.42.
>>> Changelog can be found at: https://github.com/gohugoio/hugo/releases
>>>
>>> ok?
>>>
>>>
>>>
>>> Index: Makefile
>>> ===================================================================
>>> RCS file: /cvs/ports/www/hugo/Makefile,v
>>> retrieving revision 1.1.1.1
>>> diff -u -p -r1.1.1.1 Makefile
>>> --- Makefile    11 Jun 2018 21:17:14 -0000      1.1.1.1
>>> +++ Makefile    12 Jun 2018 16:34:14 -0000
>>> @@ -3,7 +3,7 @@ ONLY_FOR_ARCHS =        ${GO_ARCHS}
>>>
>>>   COMMENT =      fast and flexible static site generator
>>>
>>> -VERSION =      0.41
>>> +VERSION =      0.42
>>>   GH_ACCOUNT =   gohugoio
>>>   GH_PROJECT =   hugo
>>>   GH_TAGNAME =   v${VERSION}
>>> Index: distinfo
>>> ===================================================================
>>> RCS file: /cvs/ports/www/hugo/distinfo,v
>>> retrieving revision 1.1.1.1
>>> diff -u -p -r1.1.1.1 distinfo
>>> --- distinfo    11 Jun 2018 21:17:14 -0000      1.1.1.1
>>> +++ distinfo    12 Jun 2018 16:34:14 -0000
>>> @@ -1,2 +1,2 @@
>>> -SHA256 (hugo-0.41.tar.gz) = NeoFBBcyZ3eIJZyg6Z193YvoUqxuzrqru0yDArU6gJE=
>>> -SIZE (hugo-0.41.tar.gz) = 62943303
>>> +SHA256 (hugo-0.42.tar.gz) = ai7WwqSm5eykSBoyIusghU2WAPXQEZeBrKDzq18o5jw=
>>> +SIZE (hugo-0.42.tar.gz) = 63247625
>>>
>> There are a couple of problems I spotted from a quick look at the makefile,
>>
>> : COMMENT =       fast and flexible static site generator
>> :
>> : VERSION =       0.41
>> : GH_ACCOUNT =    gohugoio
>> : GH_PROJECT =    hugo
>> : GH_TAGNAME =    v${VERSION}
>>
>> no point using VERSION here, it's only used in this one place, but ...
>>
>> :
>> : CATEGORIES =    www
>> :
>> : HOMEPAGE =      https://gohugo.io/
>> :
>> : MAINTAINER =    Kevin Wondratsch <b...@kwondratsch.com>
>> :
>> : #Apache License 2.0
>> : PERMIT_PACKAGE_CDROM =  Yes
>> :
>> : WANTLIB +=      c pthread
>> :
>> : MASTER_SITES =  https://files.fairydust.space/
>>
>> GH_* are for fetching files from github auto-generated tarballs,
>> you shouldn't have both GH_* and MASTER_SITES set.
>>
> Hey,
>
> thanks for your review!
> Fixed it!

Your diffs can't be applied at least because of multibyte whitespace
characters.  Maybe those were produced by copy/pasting?

Either teach thunderbird to respect your diffs, or send them as
attachments.

> Ok?

oks are for committers. ;)

Here's a diff that applies.


Index: Makefile
===================================================================
RCS file: /d/cvs/ports/www/hugo/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile    11 Jun 2018 21:17:14 -0000      1.1.1.1
+++ Makefile    13 Jun 2018 11:22:46 -0000
@@ -3,10 +3,7 @@ ONLY_FOR_ARCHS =       ${GO_ARCHS}
 
 COMMENT =      fast and flexible static site generator
 
-VERSION =      0.41
-GH_ACCOUNT =   gohugoio
-GH_PROJECT =   hugo
-GH_TAGNAME =   v${VERSION}
+DISTNAME =     hugo-0.42
 
 CATEGORIES =   www
 
@@ -22,6 +19,8 @@ WANTLIB +=    c pthread
 MASTER_SITES = https://files.fairydust.space/
 
 MODULES =      lang/go
+
+ALL_TARGET =   github.com/gohugoio/hugo
 
 SEPARATE_BUILD =       Yes
 
Index: distinfo
===================================================================
RCS file: /d/cvs/ports/www/hugo/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo    11 Jun 2018 21:17:14 -0000      1.1.1.1
+++ distinfo    13 Jun 2018 11:25:00 -0000
@@ -1,2 +1,2 @@
-SHA256 (hugo-0.41.tar.gz) = NeoFBBcyZ3eIJZyg6Z193YvoUqxuzrqru0yDArU6gJE=
-SIZE (hugo-0.41.tar.gz) = 62943303
+SHA256 (hugo-0.42.tar.gz) = ai7WwqSm5eykSBoyIusghU2WAPXQEZeBrKDzq18o5jw=
+SIZE (hugo-0.42.tar.gz) = 63247625


-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to