Lines 10-21
MASTER_SITES= http://phash.org/releases/ \
Link Here
|
10 |
MAINTAINER= cyberbotx@cyberbotx.com |
10 |
MAINTAINER= cyberbotx@cyberbotx.com |
11 |
COMMENT= Open source perceptual hash library |
11 |
COMMENT= Open source perceptual hash library |
12 |
|
12 |
|
13 |
USES= gmake:lite libtool |
13 |
LICENSE= GPLv3 # or any later version |
|
|
14 |
|
15 |
USES= gmake libtool pathfix |
14 |
GNU_CONFIGURE= yes |
16 |
GNU_CONFIGURE= yes |
|
|
17 |
CONFIGURE_ENV= PTHREAD_LIBS="-lpthread" |
15 |
INSTALL_TARGET= install-strip |
18 |
INSTALL_TARGET= install-strip |
16 |
USE_LDCONFIG= yes |
19 |
USE_LDCONFIG= yes |
17 |
|
20 |
|
18 |
OPTIONS_DEFINE= FFTW JPEG PNG |
21 |
OPTIONS_DEFINE= DEBUG FFTW JPEG OPENMP PNG |
19 |
OPTIONS_MULTI= HASHING |
22 |
OPTIONS_MULTI= HASHING |
20 |
OPTIONS_MULTI_HASHING= AUDIO IMAGE VIDEO |
23 |
OPTIONS_MULTI_HASHING= AUDIO IMAGE VIDEO |
21 |
OPTIONS_DEFAULT= FFTW JPEG PNG AUDIO IMAGE VIDEO |
24 |
OPTIONS_DEFAULT= FFTW JPEG PNG AUDIO IMAGE VIDEO |
Lines 23-34
AUDIO_DESC= Enable audio hashing
Link Here
|
23 |
IMAGE_DESC= Enable image hashing |
26 |
IMAGE_DESC= Enable image hashing |
24 |
VIDEO_DESC= Enable video hashing |
27 |
VIDEO_DESC= Enable video hashing |
25 |
|
28 |
|
|
|
29 |
DEBUG_CONFIGURE_ENABLE= debug |
30 |
|
26 |
FFTW_CONFIGURE_WITH= fftw |
31 |
FFTW_CONFIGURE_WITH= fftw |
27 |
FFTW_LIB_DEPENDS= libfftw3.so:${PORTSDIR}/math/fftw3 |
32 |
FFTW_LIB_DEPENDS= libfftw3.so:${PORTSDIR}/math/fftw3 |
28 |
|
33 |
|
29 |
JPEG_CONFIGURE_WITH= libjpeg |
34 |
JPEG_CONFIGURE_WITH= libjpeg |
30 |
JPEG_USES= jpeg |
35 |
JPEG_USES= jpeg |
31 |
|
36 |
|
|
|
37 |
OPENMP_CONFIGURE_ENABLE=openmp |
38 |
OPENMP_USES= compiler:openmp |
39 |
|
32 |
PNG_CONFIGURE_WITH= libpng |
40 |
PNG_CONFIGURE_WITH= libpng |
33 |
PNG_LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png |
41 |
PNG_LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png |
34 |
|
42 |
|
Lines 39-47
AUDIO_LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile \
Link Here
|
39 |
|
47 |
|
40 |
IMAGE_CONFIGURE_ENABLE= image-hash |
48 |
IMAGE_CONFIGURE_ENABLE= image-hash |
41 |
IMAGE_BUILD_DEPENDS= ${LOCALBASE}/include/CImg.h:${PORTSDIR}/graphics/cimg |
49 |
IMAGE_BUILD_DEPENDS= ${LOCALBASE}/include/CImg.h:${PORTSDIR}/graphics/cimg |
|
|
50 |
IMAGE_RUN_DEPENDS= ${LOCALBASE}/include/CImg.h:${PORTSDIR}/graphics/cimg |
42 |
|
51 |
|
43 |
VIDEO_CONFIGURE_ENABLE= video-hash |
52 |
VIDEO_CONFIGURE_ENABLE= video-hash |
44 |
VIDEO_BUILD_DEPENDS= ${LOCALBASE}/include/CImg.h:${PORTSDIR}/graphics/cimg |
53 |
VIDEO_BUILD_DEPENDS= ${LOCALBASE}/include/CImg.h:${PORTSDIR}/graphics/cimg |
|
|
54 |
VIDEO_RUN_DEPENDS= ${LOCALBASE}/include/CImg.h:${PORTSDIR}/graphics/cimg |
45 |
VIDEO_LIB_DEPENDS= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg |
55 |
VIDEO_LIB_DEPENDS= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg |
46 |
|
56 |
|
47 |
.include <bsd.port.mk> |
57 |
.include <bsd.port.mk> |