From owner-freebsd-ports@FreeBSD.ORG Fri Jan 13 07:20:38 2012 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 4A0091065673 for ; Fri, 13 Jan 2012 07:20:38 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0E8EC8FC14 for ; Fri, 13 Jan 2012 07:20:37 +0000 (UTC) Received: by obbta17 with SMTP id ta17so2751984obb.13 for ; Thu, 12 Jan 2012 23:20:37 -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=VAx5bIMu2LrA201wHgYi/wvZKqUjBxbiumcqzVhTFFs=; b=RIpqVgVMEOypwknBqJlV/8Jfod4ZRcxaufvA5c8MsEFPxOnDXPzjqFsJSssC+kuYLV Rx3l1GLKMdEk9NKkHTjvhtEOJ0TYXVTg94R4SZBYCxfEWWotrb8tXiGUL0gGaZ8gYWyH uQMZnMq8uaBZEH8D/vxp1nsjxtbjJwX49ovXY= Received: by 10.50.193.229 with SMTP id hr5mr1460373igc.15.1326439236438; Thu, 12 Jan 2012 23:20:36 -0800 (PST) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.231.207.7 with HTTP; Thu, 12 Jan 2012 23:20:05 -0800 (PST) In-Reply-To: <4F0F60CB.6090601@herveybayaustralia.com.au> References: <4F0E395B.6020201@herveybayaustralia.com.au> <4F0E4D20.405@missouri.edu> <4F0E5809.4020700@herveybayaustralia.com.au> <4F0E5A92.2050607@missouri.edu> <4F0E5E1E.20904@herveybayaustralia.com.au> <4F0E60B6.4040904@missouri.edu> <20120112062705.GA63861@dormouse.experts-exchange.com> <4F0F60CB.6090601@herveybayaustralia.com.au> From: Chris Rees Date: Fri, 13 Jan 2012 07:20:05 +0000 X-Google-Sender-Auth: e8K3Mwu5u2de8g8hZQvElqm44p0 Message-ID: To: Da Rock Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-ports@freebsd.org Subject: Re: unassociated shell command 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, 13 Jan 2012 07:20:38 -0000 On 12 January 2012 22:38, Da Rock wrote: > On 01/13/12 07:30, Chris Rees wrote: >> Also, no, you shouldn't (can't) set Make variables inside a target, as >> covered before. >> >> However... instead of >> >> .if defined(NOPORTDOCS) >> PLIST_SUB etc etc >> >> stuff, just remove all the PORTDOCS lines from pkg-plist, and use the >> magic variable PORTDOCS: >> >> PORTDOCS=3D =A0 =A0 =A0 * >> >> :) > > I must be a little slow this morning... I don't get it. How does that wor= k? > > I would like to point out also that the docs are 30/70 nss and pam relate= d > respectively. So if I install without pam then the pam docs are not > installed. > >From Porter's Handbook: If a directory is listed in PORTDOCS or matched by a glob pattern from this variable, the entire subtree of contained files and directories will be registered in the final packing list. Basically, PORTDOCS=3D* is the same as including find `make -V DOCSDIR` in the pkg-plist, without the plist bloat and complication. http://www.freebsd.org/doc/en/books/porters-handbook/book.html#INSTALL-DOCU= MENTATION Chris