Date: Fri, 13 Feb 2004 15:53:39 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Dave Carrera <dave@ephgroup.com> Cc: freebsd-questions@freebsd.org Subject: Re: Pnmscale on 4.8 i386 stable Message-ID: <20040213155338.GA99357@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <002f01c3f238$29648610$0301a8c0@daveslaptop> References: <20040213131231.GA91475@happy-idiot-talk.infracaninophile.co.uk> <002f01c3f238$29648610$0301a8c0@daveslaptop>
next in thread | previous in thread | raw e-mail | index | archive | help
--nFreZHaLTZJo0R7j
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
[The graphics/netpbm port]
On Fri, Feb 13, 2004 at 01:49:11PM -0000, Dave Carrera wrote:
> I do not have the port skel on my system so how do I get the port local to
> make it ?
Well, assuming that the obvious recourse of just using cvsup(1) to
grab the ports tree is not feasible for you -- it's only about 275Mb
for the whole tree and the procedure for doing that has been discussed
ad nauseam in this list and in many other places, principally the
Handbook -- then you've got two options:
1) Install the pre-compiled version of the port from the FreeBSD
packages collection. You will also need to install all of the
dependencies of the package, which are:
% pkg_info -r netpbm\*
Information for netpbm-10.20_1:
=20
Depends on:
Dependency: jpeg-6b_1
Dependency: png-1.2.5_3
Dependency: tiff-3.6.1_1
Dependency: jbigkit-1.5
=20
You can download packages compiled for 4.x from eg.
ftp://ftp.uk.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/graph=
ics
where there are packages for all of the requirements, although
some are a version behind the latest. Then just use pkg_add(1)
to install them. Note that these packages will have been
compiled on 4.9-STABLE, but they should still work OK on 4.8.
2) Use cvsup(1) to get the core parts of the ports system (that's
the 'ports-base' collection in cvsup terms) and seeing as you've
got to set up cvsup(1) anyhow, you might as well grab
'ports-graphics' as well. If you don't pull down
'ports-graphics', instead you can go to the cvsweb interface and
use the "Download this directory in tarball" link. eg:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/graphics/netpbm/netpbm.tar.=
gz?tarball=3D1
You'll need to grab the tarballs for all of the dependencies as
well. Just untar those directories anywhere on your disk, and
so long as /usr/ports/Mk and /usr/ports/distfiles exist you can
compile and install at will.
In both of these cases, you need to install the dependencies first,
and then install netpbm. On the whole it is much, much easier just to
grab the whole ports tree, in which case you need do no more than a
'make install' inside /usr/ports/graphics/netpbm and all of the
dependencies will be installed for you automatically.
Cheers,
Matthew
--=20
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
--nFreZHaLTZJo0R7j
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQFALPMCdtESqEQa7a0RAlFVAJwLWd8In9ohAFPrdQphI7uxFlaqTQCfVHBW
ZLWiM1HCKFaMWyTpxQyWvwo=
=87UX
-----END PGP SIGNATURE-----
--nFreZHaLTZJo0R7j--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040213155338.GA99357>
