USES vs BUILD_DEPENDS

Chris H bsd-lists at bsdforge.com
Mon Mar 30 14:11:24 UTC 2015


On Mon, 30 Mar 2015 08:50:44 -0400 (EDT) Daniel Eischen <deischen at freebsd.org>
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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"




More information about the freebsd-ports mailing list