portgrep is a tool that can help to analize existing FreeBSD ports and how they use different variables and etc.
It is similar to this command:
find /usr/ports/ -name Makefile -exec grep -H STRING {} \;Installationfetch current version of portgrep extract it change directory make make install UsageFor example I want to know were and how Boost's shared_prt library is used:
portgrep Makefile shared_ptrOutput:
Found in: /usr/ports/devel/libopkele/Makefile
BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
Found in: /usr/ports/devel/monotone/Makefile
BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs \
...
30 Day Summary Apr 25 2013 — May 25 2013
|
12 Month Summary May 25 2012 — May 25 2013
|
Copyright
©
2013
Black Duck Software, Inc.
and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a
Creative Commons Attribution 3.0 Unported License
. Ohloh
®
and the Ohloh logo are trademarks of
Black Duck Software, Inc.
in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.