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
#

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

.include <bsd.port.mk>
name:
        @echo ${PKGNAME}

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

        matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <g...@unixarea.de> - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to