From owner-freebsd-ports@freebsd.org Sun Mar 14 11:37:36 2021 Return-Path: Delivered-To: freebsd-ports@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 D12BD57C7B5 for ; Sun, 14 Mar 2021 11:37:36 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DyyG85Vskz3QgJ for ; Sun, 14 Mar 2021 11:37:36 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id A9CFEE3A5 for ; Sun, 14 Mar 2021 11:37:36 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-ej1-f46.google.com with SMTP id mm21so61516819ejb.12 for ; Sun, 14 Mar 2021 04:37:36 -0700 (PDT) X-Gm-Message-State: AOAM531Ncm7s/Zk5gcxuSgtuFKX96I5+CdYqVo7qYyUannSU330rAF+n +TIO+xD0guN9Pp1gJ/Lez43nJ8BWIK4cGQ7seL4= X-Google-Smtp-Source: ABdhPJxPWt7LQvedyLjohRoN0KN3gEmzln6/fqLphexwAzldj2PV0caQd6dF832ss3wyV1oAihodC4x9a0kezCvBYgo= X-Received: by 2002:a17:906:f0d0:: with SMTP id dk16mr18595668ejb.48.1615721855663; Sun, 14 Mar 2021 04:37:35 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Nuno Teixeira Date: Sun, 14 Mar 2021 11:37:25 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: passing Makefile targets to a go port To: FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Mar 2021 11:37:36 -0000 GO_BUILDFLAGS Additional build arguments to be passed to go build. Nuno Teixeira escreveu no dia domingo, 14/03/2021 =C3=A0(s) 11:30: > Hello, > > I'm working on updating security/gopass. > > New version added a gopass.1 man file but it is needed to run "gmake man" > in WRKSRC. > How do I pass "gmake man" to go port Makefile? > > In the other hand, this port uses a: > --- > post-build: > .for SHELL in bash fish zsh > ${GO_WRKDIR_BIN}/${PORTNAME} completion ${SHELL} > > ${WRKSRC}/${SHELL} > .endfor > --- > to create completion files, and it can be accomplished with "gmake > completion" at WRKSRC. > > It was cool that it is a way to add "completion" and "man" targets to > gopass port. > > gopass Makefile > > Cheers, > Nuno Teixeira >