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!
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:53:05 -0000
@@ -1,12 +1,7 @@
# $OpenBSD: Makefile,v 1.1.1.1 2018/06/11 21:17:14 solene Exp $
-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 +17,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: /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:53:05 -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