3233560c30
PR: 202635 Submitted by: Naram Qashat <cyberbotx@cyberbotx.com> This is the PHP extension of the pHash library, which 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++. http://phash.org/
31 lines
693 B
Makefile
31 lines
693 B
Makefile
# Created by: Naram Qashat <cyberbotx@cyberbotx.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pHash
|
|
PORTVERSION= 0.9.6
|
|
CATEGORIES= multimedia devel
|
|
MASTER_SITES= http://phash.org/releases/ \
|
|
http://www.cyberbotx.com/pHash/
|
|
PKGNAMEPREFIX= php-
|
|
|
|
MAINTAINER= cyberbotx@cyberbotx.com
|
|
COMMENT= PHP extension for the pHash perceptual hash library
|
|
|
|
LICENSE= PHP30
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libpHash.so:${PORTSDIR}/multimedia/pHash
|
|
|
|
USE_PHP= yes
|
|
USE_PHPIZE= yes
|
|
USE_PHPEXT= yes
|
|
USE_PHP_BUILD= yes
|
|
|
|
WRKSRC_SUBDIR= bindings/php
|
|
|
|
# The tarball contains stale pre-built files that interfere with building this
|
|
# ourselves.
|
|
post-configure:
|
|
@(cd ${WRKSRC} && ${MAKE_CMD} clean)
|
|
|
|
.include <bsd.port.mk>
|