From owner-freebsd-newbies Wed Apr 18 13:13:58 2001 Delivered-To: freebsd-newbies@freebsd.org Received: from www.microelectronics.com (www.microelectronics.com [4.18.26.20]) by hub.freebsd.org (Postfix) with ESMTP id C451137B423 for ; Wed, 18 Apr 2001 13:13:55 -0700 (PDT) (envelope-from abush@microcenter.com) Received: from zul.microcenter.com (zul.microcenter.com [4.18.26.10]) by www.microelectronics.com (Pro-8.9.3/Pro-8.9.3) with SMTP id QAA00743 for ; Wed, 18 Apr 2001 16:14:05 -0400 Received: from sysadm.microcenter.com by zul.microcenter.com via smtpd (for www.microelectronics.com [4.18.26.20]) with SMTP; 18 Apr 2001 20:11:40 UT Received: from mail.microcenter.com (anbhpc.microcenter.com [10.10.29.94]) by sysadm.microcenter.com (8.8.5/8.8.5) with ESMTP id QAA05958 for ; Wed, 18 Apr 2001 16:13:48 -0400 (EDT) Message-ID: <3ADDE9B3.1DC04ECB@mail.microcenter.com> Date: Wed, 18 Apr 2001 15:23:31 -0400 From: Aaron Bush X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.16-3 i686) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-newbies@FreeBSD.ORG Subject: how to customize ports? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I am looking for the correct/propper way to customize a port (ie. change prefix path, etc.). Right now i have been doing something like this: ==== 1) extracting the "ports/group/prog/" directory from the entire ports tar file into /usr/ 2) downloading the port source to /usr/ports/distfiles/ 3) cd /usr/ports/group/prog/ 4) setenv NO_DEPENDS; make distfile; make patch 5) view Makefile and make note of any special configure arguments. 6) cd work/program-ver/; run ./configure replacing how/where I need the program to be compiled and I have been leaving in any special configure args that were set in the previous Makefile. 7) Then running make or gmake (mostly gmake). 8) cd ../../ (back to /usr/ports/group/prog/); make install * I'm not sure that the last step is correct, will this break anything? What i really am interested in is using the preferred compile arguments and overriding items such as install location and extra modules (Apache and PHP4 mostly). Thanks, -ab To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message