From owner-freebsd-ports@FreeBSD.ORG Mon Dec 19 00:30:54 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 2E5E5106566B for ; Mon, 19 Dec 2011 00:30:54 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id E35BF8FC0A for ; Mon, 19 Dec 2011 00:30:53 +0000 (UTC) Received: by ghrr16 with SMTP id r16so12063ghr.13 for ; Sun, 18 Dec 2011 16:30:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=BCV0sHoj2mJbNxSXbmjU3LOBxmxOVUD+ngq8mg3fvgM=; b=KdSa6AeJQMUyWEnRbKxA95TAjKTCWycINOVw7KuvAHUfg4njw2CcZ3oq+d7fss1nIt sVdiLXcZK4pqZKCP2fAawcGPZx1nFVZaZGGFFBOVzyRMxN2Cobvl+EnJqwf4Sq00eFIz tcGr4DbLmWKANuB4s+AmUKU7ziykVbP/onx6k= MIME-Version: 1.0 Received: by 10.236.178.33 with SMTP id e21mr25852918yhm.4.1324253313730; Sun, 18 Dec 2011 16:08:33 -0800 (PST) Received: by 10.236.110.40 with HTTP; Sun, 18 Dec 2011 16:08:33 -0800 (PST) In-Reply-To: References: Date: Sun, 18 Dec 2011 19:08:33 -0500 Message-ID: From: Ben Kaduk To: Christer Edwards Content-Type: text/plain; charset=ISO-8859-1 Cc: "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: Mon, 19 Dec 2011 00:30:54 -0000 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= doc/man/manpage.1 > MAN7= 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). Accordingly, the files referenced are nominally in the installed tree, but the MANn magic knows about MANPREFIX, so you should just use MAN1= 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. -Ben Kaduk