From owner-freebsd-ports@FreeBSD.ORG Thu May 22 02:51:42 2008 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 DCBB9106564A for ; Thu, 22 May 2008 02:51:42 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from bulwark.hamla.org (bulwark.hamla.org [69.55.228.210]) by mx1.freebsd.org (Postfix) with ESMTP id C625D8FC1E for ; Thu, 22 May 2008 02:51:42 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from localhost (bulwark [69.55.228.210]) by bulwark.hamla.org (Postfix) with ESMTP id 8233E1CD1A for ; Wed, 21 May 2008 19:51:42 -0700 (PDT) X-Virus-Scanned: by ClamAV at bulwark.hamla.org Received: from bulwark.hamla.org ([69.55.228.210]) by localhost (bulwark.hamla.org [69.55.228.210]) (amavisd-new, port 10024) with LMTP id 6wIgzcQzcgUN for ; Wed, 21 May 2008 19:51:38 -0700 (PDT) Date: Wed, 21 May 2008 22:51:35 -0400 From: Sahil Tandon To: freebsd-ports@freebsd.org Message-ID: <20080522025134.GA3427@shepherd> Mail-Followup-To: freebsd-ports@freebsd.org References: <8c50a3c30805181720w113c309bv62e699c7dadb9253@mail.gmail.com> <20080519013135.GA12308@lor.one-eyed-alien.net> <8c50a3c30805211648t42957785ocf87fb2558acb976@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8c50a3c30805211648t42957785ocf87fb2558acb976@mail.gmail.com> Subject: Re: hier 7 question X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "freebsd-ports@freebsd.org" List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2008 02:51:42 -0000 * Marc Spitzer [05-21-2008]: > On Sun, May 18, 2008 at 9:31 PM, Brooks Davis wrote: > > On Sun, May 18, 2008 at 08:20:03PM -0400, Marc Spitzer wrote: > >> Hello, > >> > >> I am porting ATF, http://www.netbsd.org/~jmmv/atf/, a unit testing > >> framework for C, C++ and Shell. The thing is is that it installs a > >> bunch of self tests in ${PREFIX}/tests/atf. Is this the right place > >> for it? From Hier(7) binaries should not go under share/. Otherwise > >> I think it is done. Personally I think the tests/port could be a > >> handy thing to have. What is your opinion/advice on this? > > > > libexec/ seems like it might be the right place. > > > > Forgive me for an ignorant question but assuming I can not figure out > how to add a knob onto the configure script, what would be the proper > way to move the files under libexec? I could just move ${PREFIX}/test > to ${PREFIX}/libexec but that seems extra hackish. I do not want a > solution but a pointer would be nice. It's not hackish to put executables in libexec. See 5.14.5 of the Porter's Handbook and adjust your Makefile to install the file(s) there. -- Sahil Tandon