From owner-freebsd-ports@FreeBSD.ORG Thu Aug 24 17:40:09 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org 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 4307716A4DA for ; Thu, 24 Aug 2006 17:40:09 +0000 (UTC) (envelope-from freebsd-ports@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1082C43D49 for ; Thu, 24 Aug 2006 17:40:06 +0000 (GMT) (envelope-from freebsd-ports@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1GGJBS-00086i-NV for freebsd-ports@freebsd.org; Thu, 24 Aug 2006 19:40:02 +0200 Received: from 63.110.228.62 ([63.110.228.62]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Aug 2006 19:40:02 +0200 Received: from atkin901 by 63.110.228.62 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Aug 2006 19:40:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-ports@freebsd.org From: othermark Date: Thu, 24 Aug 2006 10:19:40 -0700 Lines: 29 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 63.110.228.62 User-Agent: KNode/0.10.2 Sender: news Subject: Question on respecting PREFIX, LOCALBASE, SITE_PERL, etc... 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: Thu, 24 Aug 2006 17:40:09 -0000 I have a port that I'm working on that, in addition to the binaries it generates, it generates the following: - C api, includes, libraries - perl api - tcl api - python api it also has java and rexx extensions, but I'm not going to add those until later. My question revolves around respecting both PREFIX and stuff like TCL_LIBDIR and SITE_PERL. I want the port to be heir(7) compliant, but I'm also patching the install to put perl, tcl, and python modules in the TCL/PERL/PYTHON respective site library repositories. So when the operator uses make PREFIX=/somedir do I rigorously plop everthing under PREFIX and patch the TCL/PERL/PYTHON destinations to match, or do I go ahead and plop those in the SITE_PERL, PYTHON_SITELIBDIR, etc actual locations on the box? Doing everything under PREFIX makes it easier to properly form the pkg-list, but that can be coded around to. -- othermark atkin901 at nospam dot yahoo dot com (!wired)?(coffee++):(wired);