From owner-freebsd-questions Mon Nov 4 23:23: 1 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 A8DC937B401; Mon, 4 Nov 2002 23:22:59 -0800 (PST) Received: from russian-caravan.cloud9.net (russian-caravan.cloud9.net [168.100.1.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30D7C43E3B; Mon, 4 Nov 2002 23:22:59 -0800 (PST) (envelope-from Hostmaster@Video2Video.Com) Received: from localhost (localhost [127.0.0.1]) by russian-caravan.cloud9.net (Postfix) with ESMTP id A09203297A; Tue, 5 Nov 2002 02:22:58 -0500 (EST) Received: from russian-caravan.cloud9.net (localhost [127.0.0.1]) by localhost (VaMailArmor-2.0.1.7) id 91950-3A6D6545; Tue, 05 Nov 2002 02:22:58 -0500 Received: from earl-grey.cloud9.net (earl-grey.cloud9.net [168.100.1.1]) by russian-caravan.cloud9.net (Postfix) with ESMTP id C588232864; Tue, 5 Nov 2002 02:22:40 -0500 (EST) Date: Tue, 5 Nov 2002 02:22:40 -0500 (EST) From: Peter Leftwich X-X-Sender: pete@earl-grey.cloud9.net To: Adam Weinberger Cc: FreeBSD LIST Subject: Re: What is bsd.port.mk ? In-Reply-To: <20021104080426.GF197@vectors.cx> Message-ID: <20021105021124.W87446-100000@earl-grey.cloud9.net> Organization: Video2Video Services - http://Www.Video2Video.Com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-AntiVirus: checked by Vexira MailArmor (version: 2.0.1.7; VAE: 6.16.0.0; VDF: 6.16.0.11; host: russian-caravan.cloud9.net) 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 On Mon, 4 Nov 2002, Adam Weinberger wrote: > > # pwd > > /stuff/mutella > > > > (I had to manually download each of the following since the adding the .tar > > trick did not -- as usual -- work!) What I meant by that was the "trick" where you can use the command "fetch" to request a directory.tar and it basically tars on the fly. For example, `fetch ftp://ftp.freebsd.org/branches/current-/ports/etc/somedirectory.tar` > > # ls -al > > total 12 > > drwxr-xr-x 2 root wheel 512 Nov 3 23:49 . > > drwxr-xr-x 34 root wheel 2560 Nov 3 23:49 .. > > -rw-r--r-- 1 root wheel 650 Nov 3 23:48 Makefile > > -rw-r--r-- 1 root wheel 62 Nov 3 23:48 distinfo > > -rw-r--r-- 1 root wheel 31 Nov 3 23:48 pkg-comment > > -rw-r--r-- 1 root wheel 174 Nov 3 23:48 pkg-descr > > -rw-r--r-- 1 root wheel 3317 Nov 3 23:48 pkg-plist > > Which tar trick are you referring to? Apparently you have chosen not to > download an entire ports tree, which is fine, but you could have just > done a "locate bsd.port.mk" on a machine that DOES have a ports tree. I was referring to the trick that saves you from having to ftp in using w3m or lynx and manually saving each of the above, as I had to, above. > > # make > > "/usr/share/mk/bsd.port.mk", line 4: Could not find /usr/ports/Mk/bsd.port.mk > > make: fatal errors encountered -- cannot continue > > What is bsd.port.mk, where can I get it or pkg_add it, then am I all set? > The files in /usr/ports/Mk are what makes the ports tree work. The > Makefile that you downloaded there is just a list of options that > bsd.port.mk uses to build the ports. > > You need the bsd.*.mk framework to make your ports work. You can just > cvsup the ports-base collection. From the ports-supfile example that > came with your installation of FreeBSD: I'm not sure I want my ports to work, just one specific port at a time. > # Be sure to ALWAYS cvsup the ports-base collection if you use any of the > # other individual collections below. ports-base is a mandatory collection > # for the ports collection, and your ports may not build correctly if it > # is not kept up to date. > > If you have a ports-all supfile, you can issue the following: > cvsup /path/to/supfile -i ports/Mk > cvsup /path/to/supfile -i ports/net/mutella > > If you can't/won't diagnose what's wrong when you try new things, it's best > not to invent tricks. > - -Adam > Adam Weinberger > adam@vectors.cx > adamw@FreeBSD.ORG I'm looking for a way to download just one set of ported source by not using cvsup, then `make install clean` or `gmake install clean` whichever. -- Peter Leftwich President & Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message