Date: Wed, 9 Oct 2013 22:11:45 +0200 From: Baptiste Daroussin <bapt@FreeBSD.org> To: Paul Schmehl <pschmehl_lists@tx.rr.com> Cc: mexas@bris.ac.uk, freebsd-ports@freebsd.org Subject: Re: STAGE: explain man pages Message-ID: <20131009201145.GD95601@ithaqua.etoilebsd.net> In-Reply-To: <8C3BA28AE0814C587BE99BBB@Pauls-MacBook-Pro.local> References: <201310091944.r99JitwC014917@mech-cluster241.men.bris.ac.uk> <8C3BA28AE0814C587BE99BBB@Pauls-MacBook-Pro.local>
next in thread | previous in thread | raw e-mail | index | archive | help
--veXX9dWIonWZEC6h Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 09, 2013 at 03:00:33PM -0500, Paul Schmehl wrote: > --On October 9, 2013 8:44:55 PM +0100 Anton Shterenlikht <mexas@bris.ac.u= k>=20 > wrote: >=20 > > I'm getting: > > > ># make stage > > =3D=3D=3D> Staging for urlview-0.9_7 > > =3D=3D=3D> 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 wi= th parenthesis before $(mandir) as they already do in install-binPROGRAMS And upstream will also want that patch as that makes their installation sys= tem 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 > > =3D=3D=3D=3D> Compressing man pages > ># > > > > Note that the man page is not installed on stage. > > > > The Makefile has: > > > > PLIST_FILES=3D bin/urlview \ > > etc/urlview.conf.sample \ > > urlview.1 > > > > The last file is the man page. > > > > What am I doing wrong? > > >=20 > You don't need to install or uninstall man pages. They're done=20 > automatically. >=20 > In the Makefile, use MANx=3D name of man pages > e.g MAN1=3D urlview.1 >=20 > Remove the manpage from the pkg-plist file. >=20 Wrong. Not with stage, see: https://wiki.freebsd.org/ports/StageDir and=20 http://blogs.freebsdish.org/portmgr/2013/10/03/staging/ the MANx macros never took care of installing the manpages btw. regards, Bapt --veXX9dWIonWZEC6h Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlJVuIEACgkQ8kTtMUmk6ExHggCeLwtor4SuuW/oBTAmncZT2kly SKsAniwm+0fTt6q33to04DRyWvxDJ79U =HW80 -----END PGP SIGNATURE----- --veXX9dWIonWZEC6h--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131009201145.GD95601>