From owner-freebsd-questions Sun Sep 15 11:39:54 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0492D37B400 for ; Sun, 15 Sep 2002 11:39:52 -0700 (PDT) Received: from grillolja.cs.umu.se (grillolja.cs.umu.se [130.239.40.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 40D0D43E65 for ; Sun, 15 Sep 2002 11:39:52 -0700 (PDT) (envelope-from tdv94ped@cs.umu.se) Received: from localhost (localhost [127.0.0.1]) by amavisd-new (Postfix) with ESMTP id 96B18A000; Sun, 15 Sep 2002 20:39:50 +0200 (MEST) Received: from cs.umu.se (h11n1c1o1023.bredband.skanova.com [213.64.164.11]) by grillolja.cs.umu.se (Postfix) with ESMTP id E82EFA00F; Sun, 15 Sep 2002 20:39:47 +0200 (MEST) Message-ID: <3D84D3ED.DDBDEB5F@cs.umu.se> Date: Sun, 15 Sep 2002 20:39:41 +0200 From: Paul Everlund X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: sv,en MIME-Version: 1.0 To: Lowell Gilbert Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Where to put binaries of a port References: <3D83A5C5.51CCCA0C@cs.umu.se> <444rcrrx1e.fsf@be-well.ilk.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new amavisd-new-20020630 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Lowell Gilbert wrote: > Thanks for your reply! > Paul Everlund writes: > > > I'm trying to make a port follow the FreeBSD > > standard, where to put installed files, which > > is a bit hard, as I'm a bit uncertain of the > > standard. > > That's what the porter's handbook is for. > http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/index.html I've read it, but it says nothing about mixed bi- naries, where the non-X11 always will be installed, and the other is optional. > > The port have both an X11 binary, and a non- > > X11 binary. The X11 binary is optional, and > > only should be installed if X11 is installed. > > The other binary should always be installed. > > This is typically done with separate ports, but > I actually like your approach. Hmmm... Actually I wasn't aware that I had an approach. :-) The thing is, as stated before, that the non-X11 binary should be installed WITH the X11-binary, if chosing to install the port using X11. Where should then the non-X11 binary be placed? If installing the port, not using X11, then it's easy. Then it should go to /usr/local/ bin. Best regards, Paul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message