notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details on branch 2020Q3
pHash Open source perceptual hash library
0.9.6_14 multimedia on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.9.6_14Version of this port present on the latest quarterly branch.
Maintainer: cyberbotx@cyberbotx.com search for ports maintained by this maintainer
Port Added: 2020-07-30 15:40:47
Last Update: 2020-07-30 15:40:43
Commit Hash: a17354d
Also Listed In: devel
License: GPLv3+
WWW:
http://phash.org/
Description:
pHash is an open source software library released under the GPLv3 license that implements several perceptual hashing algorithms, and provides a C-like API to use those functions in your own programs. pHash itself is written in C++. WWW: http://phash.org/
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (16 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/pHash-0.9.6_14/catalog.mk
  3. /usr/local/share/licenses/pHash-0.9.6_14/LICENSE
  4. /usr/local/share/licenses/pHash-0.9.6_14/GPLv3+
  5. include/audiophash.h
  6. include/pHash-config.h
  7. include/pHash.h
  8. include/ph_fft.h
  9. lib/libpHash.a
  10. lib/libpHash.so
  11. lib/libpHash.so.0
  12. lib/libpHash.so.0.0.0
  13. libdata/pkgconfig/pHash.pc
  14. @owner
  15. @group
  16. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • pHash>0:multimedia/pHash
To install the port:
cd /usr/ports/multimedia/pHash/ && make install clean
To add the package, run one of these commands:
  • pkg install multimedia/pHash
  • pkg install pHash
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: pHash
Flavors: there is no flavor information for this port.
distinfo:
SHA256 (pHash-0.9.6.tar.gz) = 3c8258a014f9c2491fb1153010984606805638a45d00498864968a9a30102935 SIZE (pHash-0.9.6.tar.gz) = 1315965

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. CImg.h : graphics/cimg
  2. CImg.h : graphics/cimg
  3. gmake>=4.3 : devel/gmake
Runtime dependencies:
  1. CImg.h : graphics/cimg
  2. CImg.h : graphics/cimg
Library dependencies:
  1. libsndfile.so : audio/libsndfile
  2. libsamplerate.so : audio/libsamplerate
  3. libmpg123.so : audio/mpg123
  4. libfftw3.so : math/fftw3
  5. libpng.so : graphics/png
  6. libavcodec.so : multimedia/ffmpeg
  7. libjpeg.so : graphics/jpeg-turbo
This port is required by:
for Libraries
  1. multimedia/php-pHash

Configuration Options:
===> The following configuration options are available for pHash-0.9.6_14: DEBUG=off: Build with debugging support FFTW=on: Discrete Fourier Transform support JPEG=on: JPEG image format support OPENMP=off: Parallel processing support via OpenMP PNG=on: PNG image format support ====> Options available for the multi HASHING: you have to choose at least one of them AUDIO=on: Enable audio hashing IMAGE=on: Enable image hashing VIDEO=on: Enable video hashing ===> Use 'make config' to modify these settings
Options name:
multimedia_pHash
USES:
compiler:c11 gmake libtool pathfix jpeg
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. http://phash.org/releases/
  2. http://www.cyberbotx.com/pHash/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.9.6_14
30 Jul 2020 15:40:44
Revision:543795Original commit files touched by this commit
pkubaj search for other commits by this committer
MFH: r543794

multimedia/pHash: fix build on GCC architectures

Use newer GCC to link against libavcodec:
checking whether FFmpeg is present... checking for avcodec_decode_video2 in
-lavcodec... no

Approved by:	portmgr (fix build blanket)
0.9.6_14
30 Jul 2020 15:40:43
commit hash: a17354d9444de9f78f556af8286dbb5dd0d6c4c6commit hash: a17354d9444de9f78f556af8286dbb5dd0d6c4c6commit hash: a17354d9444de9f78f556af8286dbb5dd0d6c4c6commit hash: a17354d9444de9f78f556af8286dbb5dd0d6c4c6 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
MFH: r543794

multimedia/pHash: fix build on GCC architectures

Use newer GCC to link against libavcodec:
checking whether FFmpeg is present... checking for avcodec_decode_video2 in
-lavcodec... no

Approved by:	portmgr (fix build blanket)

Number of commits found: 2