From owner-freebsd-ports@FreeBSD.ORG Fri Mar 23 21:12:53 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 87E5F1065670 for ; Fri, 23 Mar 2012 21:12:53 +0000 (UTC) (envelope-from scheidell@FreeBSD.org) Received: from mx1.secnap.com.ionspam.net (mx1.secnap.com.ionspam.net [204.89.241.253]) by mx1.freebsd.org (Postfix) with ESMTP id 550F38FC08 for ; Fri, 23 Mar 2012 21:12:53 +0000 (UTC) Received: from mx1.secnap.com.ionspam.net (mx1.secnap.com.ionspam.net [10.70.1.253]) by mx1.secnap.com.ionspam.net (Postfix) with ESMTP id B5D07621C34 for ; Fri, 23 Mar 2012 17:12:52 -0400 (EDT) X-Virus-Scanned: SpammerTrap(r) VPS-1500 2.18 at mx1.secnap.com.ionspam.net Received: from USBCTDC001.secnap.com (usbctdc001.secnap.com [10.70.1.1]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.secnap.com.ionspam.net (Postfix) with ESMTPS id EBD61621C2D for ; Fri, 23 Mar 2012 17:12:51 -0400 (EDT) Received: from MikeBook-Air.local (10.80.0.4) by USBCTDC001.secnap.com (10.70.1.1) with Microsoft SMTP Server (TLS) id 14.0.722.0; Fri, 23 Mar 2012 17:12:51 -0400 Message-ID: <4F6CE755.8020502@FreeBSD.org> Date: Fri, 23 Mar 2012 17:12:53 -0400 From: Michael Scheidell Organization: SECNAP Network Security Corp User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.7; en-US; rv:1.9.2.20) Gecko/20110804 Thunderbird/3.1.12 MIME-Version: 1.0 To: References: In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: How useful is %%DATADIR%%, anyway? 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 Mar 2012 21:12:53 -0000 On 3/23/12 4:14 PM, Chris Rees wrote: > Hi all, > > > Just as a thought, I decided to try stripping out all mentions of > %%DATADIR%%, %%DOCSDIR%% etc from pkg-plist, and replacing them with > PORTDOCS=*, PORTDATA=* in the Makefiles etc. Don't forget EXAMPLESDOC! > I propose modifying the Porter's Handbook to discourage use of > %%PORTDOCS%% etc in static plists, and encourage the use of PORTDOCS want to take a stab at this one? <*http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/165820> you are saying that instead of * +%%PORTDOCS%%%%DOCSDIR%% in the plist, this one, you could basically eliminate plist-file (save 2k on the disk?) and put them in PLIST_FILES in Makefile. what if the 'docs' are in a strange place? like this port? how would this port be fixed? -- Michael Scheidell, CTO >*| * SECNAP Network Security Corporation d: +1.561.948.2259 w: http://people.freebsd.org/~scheidell