From owner-freebsd-questions Mon Apr 2 17:52: 9 2001 Delivered-To: freebsd-questions@freebsd.org Received: from karon.dynas.se (karon.dynas.se [192.71.43.4]) by hub.freebsd.org (Postfix) with SMTP id 9AED237B71B for ; Mon, 2 Apr 2001 17:52:04 -0700 (PDT) (envelope-from mikko@dynas.se) Received: (qmail 38557 invoked from network); 3 Apr 2001 00:52:02 -0000 Received: from spirit.sto.dynas.se (HELO spirit.dynas.se) (172.16.1.10) by 172.16.1.1 with SMTP; 3 Apr 2001 00:52:02 -0000 Received: (qmail 7511 invoked by uid 1125); 3 Apr 2001 00:52:00 -0000 Date: Mon, 2 Apr 2001 17:51:59 -0700 (PDT) From: =?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?= X-X-Sender: To: FreeBSD Cc: , Subject: Re: Debian apt-get and FreeBSD In-Reply-To: <20010402184109.C31678-100000@Amber.XtremeDev.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Reply-To: mikko@dynas.se X-MIME-Autoconverted: to 8bit by snemail 0.35 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 2 Apr 2001, FreeBSD wrote: > Is there currently a way to install the package via a make target in the > ports tree? Ie., cd /usr/ports/*/apsfilter && make install-pkg ? > Just out of curiosity. Err... what? If you have a package (an archive file with a .tgz suffix, containing the pre-built software), you install it with "pkg_add". If you use the port, you automagically fetch the source code, apply patches, build and install it with "make install" (or "make install clean" to also get rid of all temporary files). (And, should you for some reason then want to create a package, you can do a "make package", but that requires the software to have been installed first, using "make install", and will produce the archive file, the one with a .tgz suffix, for use by pkg_add on some other machine (or on the same machine, if you first remove the installed version using pkg_delete)) Dunno if that answers your question, but that is how it works ;-) /Mikko > On Mon, 2 Apr 2001, Mikko Tyolajarvi wrote: > > > In local.freebsd.questions you write: > > > > >--- Mark Sergeant wrote: > > >> I have to say I like the current system of cd /usr/ports/whatever ; make > > >> install clean a lot more than I ever did like debians apt-get. > > >> Mind you I also have cvsup -g -L 2 ports-supfile as a crontab entry > > >> running > > >> once a week. > > >> > > >> Cheers, > > >> > > >> Mark > > > > >thanx, I guess I was too lazy to study both well enough. > > > > "pkg_add -r " is a really lazy way to install binary packages. > > > > $.02, > > /Mikko > > > > Mikko Työläjärvi_______________________________________mikko@rsasecurity.com RSA Security To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message