On Wed, Oct 09, 2013 at 09:32:05PM +0100, Anton Shterenlikht wrote: > >From baptiste.darous...@gmail.com Wed Oct 9 21:14:50 2013 > > > >On Wed, Oct 09, 2013 at 03:00:33PM -0500, Paul Schmehl wrote: > >> --On October 9, 2013 8:44:55 PM +0100 Anton Shterenlikht <me...@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 > > ok, cool! > > So now I get: > > ===> 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/ports/textproc/urlview/work/stage/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 > # > > But then: > > # make makeplist > bin/urlview > etc/urlview.conf.sample > man/man1/urlview.1.gz > # make check-orphans > man/man1/urlview.1.gz > # make package > ===> Building package for urlview-0.9_7 > pkg-static: > lstat(/usr/ports/textproc/urlview/work/stage/usr/local/urlview.1): No such > file or directory > *** Error code 1 > > Stop. > make: stopped in /usr/ports/textproc/urlview > # > > What is wrong here? > > Many thanks > > Anton >
As said in make check-orphans the file you need in your plist_file is man/man1/urlview.1.gz not urlview.1 regards, Bapt
pgppngV0EK4dQ.pgp
Description: PGP signature