From owner-freebsd-ports@freebsd.org Sun Mar 14 11:30:44 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 1297F57C2BB for ; Sun, 14 Mar 2021 11:30:44 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 4Dyy6C6zX9z3Q8B for ; Sun, 14 Mar 2021 11:30:43 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (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 DDB3BE2D4 for ; Sun, 14 Mar 2021 11:30:43 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-ej1-f51.google.com with SMTP id ci14so61419208ejc.7 for ; Sun, 14 Mar 2021 04:30:43 -0700 (PDT) X-Gm-Message-State: AOAM5328Y0rG44YtFY38eSc9imN8FXQy0neV0Lddt3qRr3Szer/9K5IH ZBUizJtLefkt7HxiP7JT3fGMR/A79dP8zJPkk6A= X-Google-Smtp-Source: ABdhPJy/wWXik3VoPYvYEi3t9i1Sy9PQpwegSjz6tMwqiG+fpL7od7Gv1s6XbdMuoqduJVssovT8bSJIbXP+kKfvSzE= X-Received: by 2002:a17:906:ac6:: with SMTP id z6mr17975077ejf.505.1615721442819; Sun, 14 Mar 2021 04:30:42 -0700 (PDT) MIME-Version: 1.0 From: Nuno Teixeira Date: Sun, 14 Mar 2021 11:30:32 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: passing Makefile targets to a go port To: FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" 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:30:44 -0000 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