From owner-freebsd-ports@FreeBSD.ORG Wed Oct 9 20:40:19 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id AEDE3710 for ; Wed, 9 Oct 2013 20:40:19 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-we0-x22a.google.com (mail-we0-x22a.google.com [IPv6:2a00:1450:400c:c03::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 481F1243B for ; Wed, 9 Oct 2013 20:40:19 +0000 (UTC) Received: by mail-we0-f170.google.com with SMTP id u57so1502539wes.1 for ; Wed, 09 Oct 2013 13:40:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=sUis9wnSSRpzMOeTAyssi+xquj7b+4pFytRX7WQMles=; b=CvpKov98PRquuG9Kh7s+XJ6abp3+OUQT1J0OwclXhTXjH1fwk6kCuhp+Qgwz+zuMxc jVbk1CjdVv0mGrche6FgS5/9+K8XUELd1QYysblCJpwc3qJFzVc8JfuSbIKlOdZEy+xZ PD2LimJx4k8f+anxVbwMoJiIaCWi9zjBt8XqY9+06yVu4M9typbrfBV2af3lnBbVTOev wcLDqqVUAYfi4aEC3+UPjkRDkZuLJaGbBRsTQN4lk+cY0l0pM4yRJmfv82TMdm8czxN0 QIiqjFwo5YJpnV5ramoqWvvdQBJDY/ALY896TzOdW6jMsDkltU/2kPxCUF1bhcmAGuIr dyLg== X-Received: by 10.180.187.51 with SMTP id fp19mr4431006wic.1.1381351217678; Wed, 09 Oct 2013 13:40:17 -0700 (PDT) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPSA id q17sm3916774wiv.10.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 09 Oct 2013 13:40:16 -0700 (PDT) Sender: Baptiste Daroussin Date: Wed, 9 Oct 2013 22:40:14 +0200 From: Baptiste Daroussin To: Anton Shterenlikht Subject: Re: STAGE: explain man pages Message-ID: <20131009204014.GF95601@ithaqua.etoilebsd.net> References: <20131009201145.GD95601@ithaqua.etoilebsd.net> <201310092032.r99KW5dW015115@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="iBwuxWUsK/REspAd" Content-Disposition: inline In-Reply-To: <201310092032.r99KW5dW015115@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: pschmehl_lists@tx.rr.com, freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Oct 2013 20:40:19 -0000 --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 >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--