opnsense-ports/multimedia/php-pHash/Makefile
Franco Fichtner 2a4274d9ae */*: sync with upstream
Taken from: FreeBSD
2022-02-03 07:56:53 +01:00

33 lines
827 B
Makefile

# Created by: Naram Qashat <cyberbotx@cyberbotx.com>
PORTNAME= pHash
PORTVERSION= 0.9.6
PORTREVISION= 5
CATEGORIES= multimedia devel
MASTER_SITES= http://phash.org/releases/ \
http://www.cyberbotx.com/pHash/
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
MAINTAINER= cyberbotx@cyberbotx.com
COMMENT= PHP extension for the pHash perceptual hash library
LICENSE= PHP30
LICENSE_FILE= ${WRKSRC}/LICENSE
DEPRECATED=Requires php 7.4 which is set to expire on 2022-11-29
EXPIRATION_DATE=2022-11-28
LIB_DEPENDS= libpHash.so:multimedia/pHash
USES= compiler:c++11-lang php:ext
# Does not build for PHP 8.0 and later
IGNORE_WITH_PHP= 80 81
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>