Skip to content
This repository has been archived by the owner on Dec 29, 2021. It is now read-only.
/ portgrep Public archive

Automatically exported from code.google.com/p/portgrep

Notifications You must be signed in to change notification settings

edmondas/portgrep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

portgrep

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 {} \;

Installation

  • fetch current version of portgrep
  • extract it
  • change directory
  • make
  • make install

Usage

For example I want to know were and how Boost's shared_prt library is used:

portgrep Makefile shared_ptr

Output:

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 \

...

About

Automatically exported from code.google.com/p/portgrep

Resources

Stars

Watchers

Forks

Packages

No packages published