All reference is taken at here: https://github.com/simsong/bulk_extractor/wiki/Installing-bulk_extractor
bulk_extractor is a computer forensics tool that scans a disk image, a file, or a directory of files and extracts useful information without parsing the file system or file system structures. The results can be easily inspected, parsed, or processed with automated tools.
To install bulk_extractor, first install required library via Macports:
All install dev library:
Download libewf source code:
Then install libewf from source (because libewf via ports too old):