Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Oct 2009 16:34:33 +0200 (CEST)
From:      Joerg Pulz <Joerg.Pulz@frm2.tum.de>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: print the PKGNAME of a port
Message-ID:  <alpine.BSF.2.00.0910161632270.48397@unqrf.nqzva.sez2>
In-Reply-To: <20091016141417.GA4328@current.Sisis.de>
References:  <20091016141417.GA4328@current.Sisis.de>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Fri, 16 Oct 2009, Matthias Apitz wrote:

>
> Hello,
>
> For the ports in /usr/ports is there a way to print the resulting
> PKGNAME of a given port, like:
>
> # cd /usr/ports/x11/kde3
> # make name
> kde-3.5.10_2
> #

Try the following:

# cd /usr/ports/x11/kde3
# make -V PKGNAME
kde-3.5.10_2
#

also read the manpage of make(1) for detailed information of the "-V" 
option.

Kind regards
Joerg

- -- 
The beginning is the most important part of the work.
 				-Plato
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (FreeBSD)

iD8DBQFK2IR8SPOsGF+KA+MRAtgRAJ9roqjLIe0tRKOwf13CEd0xUtihBACgtqIr
tvWxZBTXUE7mE73k/fCv/rU=
=hARq
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0910161632270.48397>