From owner-freebsd-ports@FreeBSD.ORG Thu Sep 6 16:54:50 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7840216A418 for ; Thu, 6 Sep 2007 16:54:50 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (cl-162.ewr-01.us.sixxs.net [IPv6:2001:4830:1200:a1::2]) by mx1.freebsd.org (Postfix) with ESMTP id F05A613C469 for ; Thu, 6 Sep 2007 16:54:49 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.13.8/8.13.8) with ESMTP id l86GsnKw022761; Thu, 6 Sep 2007 11:54:49 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.13.8/8.13.8/Submit) id l86GsniK022760; Thu, 6 Sep 2007 11:54:49 -0500 (CDT) (envelope-from brooks) Date: Thu, 6 Sep 2007 11:54:48 -0500 From: Brooks Davis To: Chess Griffin Message-ID: <20070906165448.GA22447@lor.one-eyed-alien.net> References: <8682df160709060829o41a00c2axd642a606bb172b57@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="d6Gm4EdcadzBjdND" Content-Disposition: inline In-Reply-To: <8682df160709060829o41a00c2axd642a606bb172b57@mail.gmail.com> User-Agent: Mutt/1.5.15 (2007-04-06) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Thu, 06 Sep 2007 11:54:49 -0500 (CDT) Cc: freebsd-ports@freebsd.org Subject: Re: Creating a new port -- issue with man page install X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2007 16:54:50 -0000 --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 > > 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--