print the PKGNAME of a port

Matthias Apitz guru at
Fri Oct 16 14:14:20 UTC 2009


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

for this test above I just added the following lines at the end of the
Makefile after the include line:

.include <>
        @echo ${PKGNAME}

I have had a look into but could not see anythink like the
silly output (without making the port). Thanks

Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru at> - w
Vote NO to EU The Lisbon Treaty:

More information about the freebsd-questions mailing list