From owner-freebsd-ports@FreeBSD.ORG Fri Dec 23 15:10:39 2011 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 80E6C106567C for ; Fri, 23 Dec 2011 15:10:39 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3C5E48FC1A for ; Fri, 23 Dec 2011 15:10:38 +0000 (UTC) Received: by ggnp1 with SMTP id p1so10097347ggn.13 for ; Fri, 23 Dec 2011 07:10:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=NXlue9NihHqBC6nKiII2m2qS+FQdueRDgzbduLrvIks=; b=RLuZqjOZFkFXR5kpAjoKlUlb8jgYPc6IWKXqsi5esjHc2p1WEj0HvqNdJN00AbHH8Y +t/YSaBQZuMTLpnMqnXQONvBu4r7KXbkeXjHEdOL9PaLNkuZHRwgH86P/Ob8TjbZuK1R U07Z0zlwirzeHlFUbQJ3MlnS0cEaAr7qdKpaM= Received: by 10.50.181.197 with SMTP id dy5mr14314840igc.13.1324653038346; Fri, 23 Dec 2011 07:10:38 -0800 (PST) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.231.39.69 with HTTP; Fri, 23 Dec 2011 07:10:07 -0800 (PST) In-Reply-To: References: From: Chris Rees Date: Fri, 23 Dec 2011 15:10:07 +0000 X-Google-Sender-Auth: yggKgi_nWR4lj0ixouG6eY5tztQ Message-ID: To: Ben Kaduk Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Christer Edwards , "freebsd-ports@FreeBSD.org" Subject: Re: help with man pages 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: Fri, 23 Dec 2011 15:10:39 -0000 On 19 December 2011 00:08, Ben Kaduk wrote: > On Sun, Dec 18, 2011 at 6:30 PM, Christer Edwards > wrote: >> The port I'm working on includes about a half-dozen man pages which I >> understand I need to use MANn to install. What I guess I don't fully >> understand is how to path those files. If the files are found in the >> extracted source under source-version/doc/man/ should I use: >> >> MAN1=3D doc/man/manpage.1 >> MAN7=3D doc/man/manpage.7 >> ...etc... >> >> or do I need to reference ${WORKSRC}/doc/man/ ? > > MANn takes the place of adding entries to the plist (allowing for the > use of MANCOMPRESSED and such). =A0Accordingly, the files referenced are > nominally in the installed tree, but the MANn magic knows about > MANPREFIX, so you should just use MAN1=3D manpage.1 with no other path > components. > >> >> Do I also need to install the man pages in do-install? >> >> ${INSTALL_MAN} ${WRKSRC}/doc/man/manpage.1 ${PREFIX}/man/man1 > > You need to ensure that they end up in $MANPREFIX, so yes. Late reply, sorry! Please use the more specific variables MANnPREFIX, for example: ${INSTALL_MAN} ${WRKSRC}/doc/man/manpage.1 ${MAN1PREFIX}/man/man1 Chris