STAGE: explain man pages

Paul Schmehl pschmehl_lists at tx.rr.com
Wed Oct 9 20:00:36 UTC 2013


--On October 9, 2013 8:44:55 PM +0100 Anton Shterenlikht <mexas at bris.ac.uk> 
wrote:

> I'm getting:
>
># make stage
> ===>  Staging for urlview-0.9_7
> ===>   Generating temporary packing list
> /bin/sh ./mkinstalldirs
> /usr/ports/textproc/urlview/work/stage/usr/local/bin   install  -s -o
> root -g wheel -m 555  urlview
> /usr/ports/textproc/urlview/work/stage/usr/local/bin/urlview install  -o
> root -g wheel -m 444 urlview.man /usr/local/man/man1/urlview.1 install
> -o root -g wheel -m 444
> /usr/ports/textproc/urlview/work/urlview-0.9/sample.urlview
> /usr/ports/textproc/urlview/work/stage/usr/local/etc/urlview.conf.sample
> ====> Compressing man pages
>#
>
> Note that the man page is not installed on stage.
>
> The Makefile has:
>
> PLIST_FILES=    bin/urlview \
>                 etc/urlview.conf.sample \
>                 urlview.1
>
> The last file is the man page.
>
> What am I doing wrong?
>

You don't need to install or uninstall man pages.  They're done 
automatically.

In the Makefile, use MANx=	name of man pages
e.g MAN1=	urlview.1

Remove the manpage from the pkg-plist file.

Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
*******************************************
"It is as useless to argue with those who have
renounced the use of reason as to administer
medication to the dead." Thomas Jefferson
"There are some ideas so wrong that only a very
intelligent person could believe in them." George Orwell



More information about the freebsd-ports mailing list