From owner-freebsd-ports@FreeBSD.ORG Wed Oct 9 20:21:03 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 87288ECC for ; Wed, 9 Oct 2013 20:21:03 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from eu1sys200aog102.obsmtp.com (eu1sys200aog102.obsmtp.com [207.126.144.113]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DB3C8232F for ; Wed, 9 Oct 2013 20:21:02 +0000 (UTC) Received: from mail-wi0-f177.google.com ([209.85.212.177]) (using TLSv1) by eu1sys200aob102.postini.com ([207.126.147.11]) with SMTP ID DSNKUlW6p8g4iiuZ93hsNrLMP3x6mxiQs1Bm@postini.com; Wed, 09 Oct 2013 20:21:02 UTC Received: by mail-wi0-f177.google.com with SMTP id hq15so1490202wib.4 for ; Wed, 09 Oct 2013 13:20:55 -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=UdGpc2bM5b15Pj8G3LA97AaDtc2sYT51A+Z7eF7D+HE=; b=c7ZT7rCHhHQRSXeanRA1wO5jLqDIIGFn0K/4fzhxsb6o38ioQZ1rvof56UUwsTHKGW p9nW1R3O61annQcrOBkSO6pPRn+2Rb/cLHaPVcjidnM+hlEJN4xp2SlrVKwXapOmtC92 ty8IcNlSztNBKRbDM7vUDssGEYuBjYXOaWgoyOwpyc2KtLdqwb4Nua+MdDF8t/U6f45m rNa3X1slHuxMeP8aKxvJwlaSQzgPMcFKmQTiiJEC8LpKaZqSVMcnB8z74wsTEOm+fUq1 Q0utKEy8swX6ogR91jBU0thqMO/DJCViWNW/MWkDJS351waCYtfdWeLhOwZBomKrh88/ /LQA== X-Gm-Message-State: ALoCoQmPXS5VH2VJ8Dh7BFNPHLjPZyJGeZ2fWgnvK/NiAUZdJhDrXUX1XqVFZSF7gIul+I49KmQGhBI7ufODGy8Czucl02ml4p6gPyOPoKKioEjP1VZePFDFUtZ6nS8QMvz+QkCYsir6WR0wKOVdfyU1AMS0cgPOHK0ej+Oiy8Gc1Ix36jFD3hg= X-Received: by 10.180.78.193 with SMTP id d1mr3474340wix.22.1381350055342; Wed, 09 Oct 2013 13:20:55 -0700 (PDT) X-Received: by 10.180.78.193 with SMTP id d1mr3474328wix.22.1381350055215; Wed, 09 Oct 2013 13:20:55 -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 dl10sm18830124wib.1.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Oct 2013 13:20:54 -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 r99KKqoh015083 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 9 Oct 2013 21:20:52 +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 r99KKqnZ015082; Wed, 9 Oct 2013 21:20:52 +0100 (BST) (envelope-from mexas) Date: Wed, 9 Oct 2013 21:20:52 +0100 (BST) From: Anton Shterenlikht Message-Id: <201310092020.r99KKqnZ015082@mech-cluster241.men.bris.ac.uk> To: pschmehl_lists@tx.rr.com Subject: Re: STAGE: explain man pages In-Reply-To: <8C3BA28AE0814C587BE99BBB@Pauls-MacBook-Pro.local> Cc: 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:21:03 -0000 >From pschmehl_lists@tx.rr.com Wed Oct 9 21:14:48 2013 >--On October 9, 2013 8:44:55 PM +0100 Anton Shterenlikht >wrote: > >> I'm getting: >> >># make stage >> ===> 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/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 >># >> >> Note that the man page is not installed on stage. >> >> The Makefile has: >> >> PLIST_FILES= bin/urlview \ >> etc/urlview.conf.sample \ >> urlview.1 >> >> The last file is the man page. >> >> What am I doing wrong? >> > >You don't need to install or uninstall man pages. They're done >automatically. > >In the Makefile, use MANx= name of man pages >e.g MAN1= urlview.1 > >Remove the manpage from the pkg-plist file. No, doesn't work: # make stage ===> 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/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 # To be clear, here's the complete Makefile (very simple): # cat Makefile # Created by: Josh Gilliam # $FreeBSD: head/textproc/urlview/Makefile 327773 2013-09-20 23:17:30Z bapt $ PORTNAME= urlview PORTVERSION= 0.9 PORTREVISION= 7 CATEGORIES= textproc www MASTER_SITES= ftp://ftp.mutt.org/mutt/contrib/ \ ftp://ftp.cs.tu-berlin.de/pub/net/mail/mutt/contrib/ \ ftp://ftp.fu-berlin.de/pub/unix/mail/mutt/contrib/ \ ftp://ftp.gbnet.net/pub/mutt-international/contrib/ \ ftp://ftp.gwdg.de/pub/unix/mail/mutt/international/contrib/ \ http://seis.bris.ac.uk/~mexas/ MAINTAINER= mexas@bris.ac.uk COMMENT= URL extractor/launcher GNU_CONFIGURE= yes PLIST_FILES= bin/urlview \ etc/urlview.conf.sample MAN1= urlview.1 CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lpcreposix -lpcre post-patch: @${REINPLACE_CMD} -e 's,/etc,${STAGEDIR}${PREFIX}&,' \ -e 's/url_handler.sh/firefox/' \ ${WRKSRC}/* post-install: ${INSTALL_DATA} ${WRKSRC}/sample.urlview \ ${STAGEDIR}${PREFIX}/etc/urlview.conf.sample .include # Anton