print the PKGNAME of a port
Matthias Apitz
guru at unixarea.de
Fri Oct 16 14:14:20 UTC 2009
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 <guru at unixarea.de> - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
More information about the freebsd-questions
mailing list