From owner-freebsd-ports@FreeBSD.ORG Mon Mar 30 14:11:23 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EB2C3AF3 for ; Mon, 30 Mar 2015 14:11:23 +0000 (UTC) Received: from udns.ultimatedns.net (unknown [IPv6:2602:d1:b4d6:e600:4261:86ff:fef6:aa2a]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BDD3584B for ; Mon, 30 Mar 2015 14:11:23 +0000 (UTC) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id t2UEBSiI012748 for ; Mon, 30 Mar 2015 07:11:34 -0700 (PDT) (envelope-from bsd-lists@bsdforge.com) To: In-Reply-To: References: <20150329165301.GA91058@ivaldir.etoilebsd.net> , From: "Chris H" Subject: Re: USES vs BUILD_DEPENDS Date: Mon, 30 Mar 2015 07:11:34 -0700 Content-Type: text/plain; charset=UTF-8; format=fixed MIME-Version: 1.0 Message-id: Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Mar 2015 14:11:24 -0000 On Mon, 30 Mar 2015 08:50:44 -0400 (EDT) Daniel Eischen wrote > On Sun, 29 Mar 2015, Daniel Eischen wrote: > > > On Sun, 29 Mar 2015, Baptiste Daroussin wrote: > > > >> On Sun, Mar 29, 2015 at 12:41:21PM -0400, Daniel Eischen wrote: > >>> I have a port which needs pod2man just to build the man file > >>> during installation. Why do I need USES= pod2man:perl5 just to > >>> build the port? It doesn't seem feasible to use BUILD_DEPENDS > >>> because there is no generic perl5 port. > >>> > >> Have you tried using pod2mdoc ? > > > > No, I didn't know about it, I will check it out. I searched other > > ports (grep) and found pod2man used. My port's (internal) > > doc/Makefile uses pod2man. > > pod2mdoc doesn't seem compatible with the way pod2man is used: > > pod2man --release="'cat .version'" --center="Foo" $*.pod > > in particular, the -r or --release option. Are you able to generate the man page on your own machine? Point being; you could simply pass a CONFIGURE_ARGS line that disables/turns off the option to create the man page, and put the man page you've created locally into files/, and add it to post-install: Just a thought. --Chris > > -- > DE > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"