From owner-freebsd-ports@FreeBSD.ORG Wed Nov 24 15:22:59 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 8303A16A4CE for ; Wed, 24 Nov 2004 15:22:59 +0000 (GMT) Received: from ns.mccme.ru (ns.mccme.ru [62.117.108.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id C379D43D39 for ; Wed, 24 Nov 2004 15:22:58 +0000 (GMT) (envelope-from emin@mccme.ru) Received: from mccme.ru (IDENT:emin@mccme.ru [62.117.108.7]) by ns.mccme.ru (8.12.10/8.12.10) with SMTP id iAOFPhaf092846 for ; Wed, 24 Nov 2004 18:25:43 +0300 (MSK) (envelope-from emin@mccme.ru) Date: Wed, 24 Nov 2004 18:22:16 +0300 From: "Eugene M. Minkovskii" To: freebsd-ports@freebsd.org Message-ID: <20041124152216.GA12511@mccme.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4.2.1i Organization: MCCME Moscow Subject: 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: Wed, 24 Nov 2004 15:22:59 -0000 Hello friends! Now I made new port. It's not hard: this is russian-english dictionary, nothing to compile --- just extract some archive and put some files into FreeBSD hier(7). (And patching something of course.) But I have two trouble: 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? 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). 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... 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. Thank you, and sorry my bad english. -- Sensory yours, Eugene Minkovskii Сенсорно ваш, Евгений Миньковский