freebsd-ports/multimedia/php-pHash/Makefile
Jan Beich 3233560c30 multimedia/php-pHash: add new port
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/
2015-09-11 23:28:02 +00:00

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>