From owner-svn-ports-head@freebsd.org Mon Sep 23 20:42:03 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 49A8BFF888; Mon, 23 Sep 2019 20:42:03 +0000 (UTC) (envelope-from dmgk@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46cbpg1Dk5z4VwB; Mon, 23 Sep 2019 20:42:03 +0000 (UTC) (envelope-from dmgk@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0DFF11C660; Mon, 23 Sep 2019 20:42:03 +0000 (UTC) (envelope-from dmgk@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x8NKg2gL076597; Mon, 23 Sep 2019 20:42:02 GMT (envelope-from dmgk@FreeBSD.org) Received: (from dmgk@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x8NKg2ts076596; Mon, 23 Sep 2019 20:42:02 GMT (envelope-from dmgk@FreeBSD.org) Message-Id: <201909232042.x8NKg2ts076596@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dmgk set sender to dmgk@FreeBSD.org using -f From: Dmitri Goutnik Date: Mon, 23 Sep 2019 20:42:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r512675 - head/www/gohugo X-SVN-Group: ports-head X-SVN-Commit-Author: dmgk X-SVN-Commit-Paths: head/www/gohugo X-SVN-Commit-Revision: 512675 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Sep 2019 20:42:03 -0000 Author: dmgk Date: Mon Sep 23 20:42:02 2019 New Revision: 512675 URL: https://svnweb.freebsd.org/changeset/ports/512675 Log: Include bsd.port.pre.mk to get DISTINFO_FILE in scope for the shell command. Reviewed by: tobik Approved by: araujo (mentor) Differential Revision: https://reviews.freebsd.org/D21735 Modified: head/www/gohugo/Makefile Modified: head/www/gohugo/Makefile ============================================================================== --- head/www/gohugo/Makefile Mon Sep 23 20:41:42 2019 (r512674) +++ head/www/gohugo/Makefile Mon Sep 23 20:42:02 2019 (r512675) @@ -106,9 +106,6 @@ GO_BUILDFLAGS= -ldflags="\ -X github.com/gohugoio/hugo/hugolib.CommitHash=${COMMIT_ID}" \ ${BUILD_TAGS} -SOURCE_DATE_EPOCH_CMD= date -r $$(grep TIMESTAMP ${DISTINFO_FILE} | ${SED} -e 's/[^0-9]//g') '+%FT%TZ%z' -COMMIT_ID= 4aac02d49c2e2bab9f36f0caabbbd9f3cb4715cd - OPTIONS_DEFINE= MANPAGES EXTENDED OPTIONS_DEFAULT= MANPAGES EXTENDED OPTIONS_SUB= yes @@ -127,6 +124,12 @@ PORTMANS= hugo-config.1 hugo-convert-toJSON.1 hugo-con hugo-new-site.1 hugo-new-theme.1 hugo-new.1 hugo-server.1 \ hugo-version.1 hugo.1 +# needed to get DISTINFO_FILE in scope for the shell command evaluation by go.mk +.include + +SOURCE_DATE_EPOCH_CMD= date -r $$(grep TIMESTAMP ${DISTINFO_FILE} | ${SED} -e 's/[^0-9]//g') '+%FT%TZ%z' +COMMIT_ID= 4aac02d49c2e2bab9f36f0caabbbd9f3cb4715cd + do-build-MANPAGES-on: @cd ${GO_WRKSRC} && ${GO_WRKDIR_BIN}/${PORTNAME} gen man --dir man/man1/ @@ -135,4 +138,4 @@ do-install-MANPAGES-on: ${INSTALL_MAN} ${WRKSRC}/man/man1/$i ${STAGEDIR}/${PREFIX}/man/man1 .endfor -.include +.include