Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jun 1999 15:58:18 +0100
From:      Dom Mitchell <Dom.Mitchell@palmerharvey.co.uk>
To:        Ipswitch <ipswitch@apk.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Question on ports system 
Message-ID:  <E10tYBm-00089z-00@voodoo.pandhm.co.uk>
In-Reply-To: Ipswitch's message of "Mon, 14 Jun 1999 10:27:53 EDT" <19990614102753.A25023@junior.apk.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
On 14 June 1999, Ipswitch proclaimed:
> I really like the ports system, but there are times when it would be 
> easier to use a package. Has anyone thought about combining the ports
> system with packages a bit?
> 
> Perhaps an option like "make get" that would grab the package and install
> it for you.
> 
> I guess I just like the way that ports work and would prefer this as a
> way of installing packages.

You can make it fairly easy with a shell function:

rpkgadd () {
	sudo pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/packages/All/$1.tgz
}

(csh users can figure it out for themselves...)

You can start to get more sophisticated than this, probably even to the
point of including completion in zsh if you mirror the ls-lR file.

As to adjusting bsd.port.mk - I've always been scared off by the
complexity!
-- 
Dom Mitchell -- Palmer & Harvey McLane -- Unix Systems Administrator

  "Always think very hard before messing with TCP.  And then don't." -- MC
-- 
**********************************************************************
This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they   
are addressed. If you have received this email in error please notify 
the system manager.

This footnote also confirms that this email message has been swept by 
MIMEsweeper for the presence of computer viruses.
**********************************************************************


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E10tYBm-00089z-00>