Date: Thu, 6 Sep 2007 11:54:48 -0500 From: Brooks Davis <brooks@freebsd.org> To: Chess Griffin <chess.griffin@gmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: Creating a new port -- issue with man page install Message-ID: <20070906165448.GA22447@lor.one-eyed-alien.net> In-Reply-To: <8682df160709060829o41a00c2axd642a606bb172b57@mail.gmail.com> References: <8682df160709060829o41a00c2axd642a606bb172b57@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--d6Gm4EdcadzBjdND Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 06, 2007 at 11:29:09AM -0400, Chess Griffin wrote: > Hello- >=20 > I am working a new port (for gPodder, a GTK2 python-based media > aggregator) and so far everything seems to be working pretty well > (after reading through the Porter's Handbook -- what a great piece of > documentation). Anyway, I cannot seem to figure out one thing. >=20 > The tarball has a man page located in /gpodder-0.9.5/doc/man/gpodder.1. >=20 > In my Makefile, I have this: >=20 > MANCOMPRESSED=3D no > MAN1=3D ${PORTNAME}.1 >=20 > PORTNAME is gpodder, BTW. Anyway, when I create a package, it > complains that it cannot find or install the man page and I am not > sure how to fix this. Some of the snipped output is this: >=20 >=20 > =3D=3D=3D> Compressing manual pages for gpodder-0.9.5 > gzip: can't stat: /usr/local/man/man1/gpodder.1: No such file or directory > =3D=3D=3D> Registering installation for gpodder-0.9.5 > =3D=3D=3D> Building package for gpodder-0.9.5 > Creating package /usr/ports/packages/All/gpodder-0.9.5.tbz > <snip> > Creating bzip'd tar ball in '/usr/ports/packages/All/gpodder-0.9.5.tbz' > tar: man/man1/gpodder.1.gz: Cannot stat: No such file or directory > tar: Error exit delayed from previous errors. > pkg_create: make_dist: tar command failed with code 256 > *** Error code 1 >=20 > Stop in /usr/ports/multimedia/gpodder. >=20 >=20 > Any assistance is greatly appreciated. The error messages seem to indicate that the problem the manpage isn't being installed. All the MAN# variables do is tell the ports system you will be installing them. You should do something like: post-install: ${INSTALL_MAN} ${WRKSRC}/doc/man/gpodder.1 ${MANPREFIX}/man/man1 -- Brooks --d6Gm4EdcadzBjdND Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFG4DDYXY6L6fI4GtQRAioyAKCSc60SVrT2jX59XQ6DGj4SqZ3LjgCgmKuo 5NhANH5PK9kOSyJ6BxUOoBM= =yemR -----END PGP SIGNATURE----- --d6Gm4EdcadzBjdND--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070906165448.GA22447>