On Wed, Oct 09, 2013 at 03:00:33PM -0500, Paul Schmehl wrote: > --On October 9, 2013 8:44:55 PM +0100 Anton Shterenlikht <[email protected]> > 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
This is buggy ^^ you probably want to patch the upstream Makefile to respect DESTDIR as it does for all other files it installs. What you want is to change line 321 of Makefile.in to add $(DESTDIR) yes with parenthesis before $(mandir) as they already do in install-binPROGRAMS And upstream will also want that patch as that makes their installation system consistent > > -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. > Wrong. Not with stage, see: https://wiki.freebsd.org/ports/StageDir and http://blogs.freebsdish.org/portmgr/2013/10/03/staging/ the MANx macros never took care of installing the manpages btw. regards, Bapt
pgp5vZoqMXIVG.pgp
Description: PGP signature
