print the PKGNAME of a port

Joerg Pulz Joerg.Pulz at frm2.tum.de
Fri Oct 16 14:49:25 UTC 2009


-----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-----


More information about the freebsd-questions mailing list