Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Oct 2013 22:40:14 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Anton Shterenlikht <mexas@bris.ac.uk>
Cc:        pschmehl_lists@tx.rr.com, freebsd-ports@freebsd.org
Subject:   Re: STAGE: explain man pages
Message-ID:  <20131009204014.GF95601@ithaqua.etoilebsd.net>
In-Reply-To: <201310092032.r99KW5dW015115@mech-cluster241.men.bris.ac.uk>
References:  <20131009201145.GD95601@ithaqua.etoilebsd.net> <201310092032.r99KW5dW015115@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

--iBwuxWUsK/REspAd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Oct 09, 2013 at 09:32:05PM +0100, Anton Shterenlikht wrote:
> >From baptiste.daroussin@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 <mexas@bris.a=
c.u=3D
> >k>=3D20
> >> wrote:
> >>=3D20
> >> > I'm getting:
> >> >
> >> ># make stage
> >> > =3D3D=3D3D=3D3D>  Staging for urlview-0.9_7
> >> > =3D3D=3D3D=3D3D>   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 res=
pect
> >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=3D
> >th
> >parenthesis before $(mandir) as they already do in install-binPROGRAMS
> >
> >And upstream will also want that patch as that makes their installation =
sys=3D
> >tem
> >consistent
>=20
> ok, cool!
>=20
> So now I get:
>=20
> =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/urlvie=
w/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/u=
rlview.conf.sample
> =3D=3D=3D=3D> Compressing man pages
> #
>=20
> But then:
>=20
> # make makeplist
> bin/urlview
> etc/urlview.conf.sample
> man/man1/urlview.1.gz
> # make check-orphans
> man/man1/urlview.1.gz
> # make package
> =3D=3D=3D>  Building package for urlview-0.9_7
> pkg-static: lstat(/usr/ports/textproc/urlview/work/stage/usr/local/urlvie=
w.1): No such file or directory
> *** Error code 1
>=20
> Stop.
> make: stopped in /usr/ports/textproc/urlview
> #=20
>=20
> What is wrong here?
>=20
> Many thanks
>=20
> Anton
>=20

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

--iBwuxWUsK/REspAd
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlJVvy4ACgkQ8kTtMUmk6EyuxgCgvMsJJaHaxcSGAuKCH9ipmrUa
jFIAnjnnsxyJuhiEVQMAUtleIGv15udr
=shr/
-----END PGP SIGNATURE-----

--iBwuxWUsK/REspAd--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131009204014.GF95601>