From owner-freebsd-ports@FreeBSD.ORG Wed Oct 9 20:32:16 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 8D1FA3EA for ; Wed, 9 Oct 2013 20:32:16 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from eu1sys200aog107.obsmtp.com (eu1sys200aog107.obsmtp.com [207.126.144.123]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E5B1523D6 for ; Wed, 9 Oct 2013 20:32:15 +0000 (UTC) Received: from mail-wi0-f176.google.com ([209.85.212.176]) (using TLSv1) by eu1sys200aob107.postini.com ([207.126.147.11]) with SMTP ID DSNKUlW9SJzgIX3ky6PJpBf6BdyBiIN8NkX0@postini.com; Wed, 09 Oct 2013 20:32:16 UTC Received: by mail-wi0-f176.google.com with SMTP id l12so1973682wiv.9 for ; Wed, 09 Oct 2013 13:32:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:message-id:to:subject:cc :reply-to:in-reply-to; bh=IVLqxjO8sp2uhl9rjVCqslTSXj/B5ZQPUgE4pVXpHKE=; b=Kejf01xc4h89FiCHlckSrsAbE0dSh9fo8eG7ACR42flsPORchGMsN3x3ixlWvhTFpy eXxgjHdEUQu+LMNXBiurXgWJseSwcOfm39M1+cOGR34AZIzHA3UBqFd42DOjG58WKaHu 1wXYc8x0Ew+gZs589OMTSbPTt9qmuTOOLk3/BFcEPZRTVOToN7d4hUNzytuLbrmzdHhY B38qPNES9Jk822Zn365Iu8z5ZUsQCUsrztd27C7rxixD6Y690PcYzeNmiSLsT6dLuGnR Kc4owemDFdGpW1ZI0UIY10pZfIw7Mcackg3JZ6MXvu6EzeoDYIK6hxA62cO/ZSyOIumx SX9w== X-Gm-Message-State: ALoCoQnAdnuZHQmspX0C2gaOqkyQDoBbi+aQQ1V8w7J4DVevwz3fOIDyGzkRRIsdxVgu6HZ28AeceJYfG7G6mmmoIjhri7QCjSevIcCUoPfIfnrfmsXbVlIUH+MG1BubbwNjaOf+53cmNK9o4tXmY5nR/0N+zWv/6G/pBRkc0VlR4Ae5sby1gqE= X-Received: by 10.180.187.236 with SMTP id fv12mr4444229wic.20.1381350728566; Wed, 09 Oct 2013 13:32:08 -0700 (PDT) X-Received: by 10.180.187.236 with SMTP id fv12mr4444223wic.20.1381350728472; Wed, 09 Oct 2013 13:32:08 -0700 (PDT) Received: from mech-cluster241.men.bris.ac.uk (mech-cluster241.men.bris.ac.uk. [137.222.187.241]) by mx.google.com with ESMTPSA id i8sm18856643wiy.6.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 09 Oct 2013 13:32:07 -0700 (PDT) Sender: Anton Shterenlikht Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6) with ESMTP id r99KW5QP015116 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 9 Oct 2013 21:32:05 +0100 (BST) (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6/Submit) id r99KW5dW015115; Wed, 9 Oct 2013 21:32:05 +0100 (BST) (envelope-from mexas) Date: Wed, 9 Oct 2013 21:32:05 +0100 (BST) From: Anton Shterenlikht Message-Id: <201310092032.r99KW5dW015115@mech-cluster241.men.bris.ac.uk> To: bapt@FreeBSD.org, pschmehl_lists@tx.rr.com Subject: Re: STAGE: explain man pages In-Reply-To: <20131009201145.GD95601@ithaqua.etoilebsd.net> Cc: mexas@bris.ac.uk, freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bris.ac.uk 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:32:16 -0000 >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>=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