source: trunk/dports/multimedia/pHash/Portfile

Last change on this file was 148924, checked in by khindenburg@…, 18 months ago

phash: extern C for all functions in audiophash.h and fix for 4 channel images; maintainer #51460

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 148924 2016-05-23 00:00:51Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                pHash
7version             0.9.6
8revision            6
9categories          multimedia
10platforms           darwin
11maintainers         yandex.com:bstj \
12                    openmaintainer
13license             GPL-3
14
15description         Perceptual hash library
16
17long_description    Tool to build hash from multimedia files
18
19homepage            http://phash.org/
20master_sites        ${homepage}releases/
21
22checksums           rmd160  54ae3caca00077f3abab1423bfbd73ae39f0ae77 \
23                    sha256  3c8258a014f9c2491fb1153010984606805638a45d00498864968a9a30102935
24
25depends_lib         path:lib/libavcodec.dylib:ffmpeg \
26                    port:jpeg \
27                    port:libsndfile \
28                    port:libsamplerate \
29                    port:mpg123 \
30                    port:CImg
31
32patchfiles          patch-ffmpeg-3.0.diff \
33                    patch-audiophash.h.diff \
34                    patch-pHash.cpp.diff
35
36use_autoreconf      yes
37autoreconf.args     -fvi
38
39post-destroot {
40    set docdir ${destroot}${prefix}/share/doc/${name}
41    xinstall -d ${docdir}
42    xinstall -m 644 -W ${worksrcpath} \
43        AUTHORS \
44        COPYING \
45        ChangeLog \
46        ${docdir}
47}
48
49livecheck.type      regex
50livecheck.url       ${homepage}
51livecheck.regex     pHash (\[0-9.\]+) Released
Note: See TracBrowser for help on using the repository browser.