From owner-freebsd-ports@FreeBSD.ORG Thu Nov 25 20:00:44 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FCBE16A4CE for ; Thu, 25 Nov 2004 20:00:44 +0000 (GMT) Received: from smradoch.ath.cx (r2g224.chello.upc.cz [62.245.70.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 719B943D5F for ; Thu, 25 Nov 2004 20:00:43 +0000 (GMT) (envelope-from neuhauser@chello.cz) Received: by smradoch.ath.cx (Postfix, from userid 1001) id EEAD31F87BED; Thu, 25 Nov 2004 21:00:41 +0100 (CET) Date: Thu, 25 Nov 2004 21:00:41 +0100 From: Roman Neuhauser To: "Eugene M. Minkovskii" Message-ID: <20041125200041.GA2392@isis.wad.cz> Mail-Followup-To: "Eugene M. Minkovskii" , freebsd-ports@freebsd.org References: <20041124152216.GA12511@mccme.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041124152216.GA12511@mccme.ru> User-Agent: Mutt/1.5.6i cc: freebsd-ports@freebsd.org Subject: Re: question about new ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Nov 2004 20:00:44 -0000 # emin@mccme.ru / 2004-11-24 18:22:16 +0300: > 1) Program's author put some files into /usr/local hier, and some > other files (phonetic fonts) into /usr/X11R6 hier. I can't put > dictionaries into /usr/X11R6 because it's may be executed > whitout X11. And I don't know, can I put phonetic fonts into > /usr/local/lib/fonts directory, does it right? that would probably be ok. > There are not problem if I put the fonts into /usr/local, but > this may be wrong? Author writing about file-placing, that > they are corresponding FHS (File Hierarchy Standard). that's a Linux-specific standard. > And if I put fonts into /usr/X11R6/lib/fonts, there are other > trouble: I must use names in pkg-plist relative PREFIX, but > there are two PREFIX used: LOCALBASE for dictionarys and > scripts, and X11BASE for fonts... see @cwd in pkg_create(1) > 2) I make my port sensitive to WITHOUT_X11 variable. If it's > set to "yes" I don't install some useless files (font's and > TK scripts). What should I write into pkg-plist? I read about > %%variable%% but I don't need to change some path in pkg-plist > dependently from variable, --- i need to remove some files > from this list if WITHOUT_X11 specified. there's an awful lot of examples in the ports tree, look for PLIST_SUB in devel/subversion for example. -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html