freebsd-ports/graphics/php-libpuzzle/Makefile
Mathieu Arnold a1993564e0 Introduce PHP flavors.
Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now
  flavored.  They will automatically get flavors (php56, php70, php71, php72)
  depending of the versions they support (set with IGNORE_WITH_PHP).  As a
  consequence, ports using USES=pear and USES=horde are also flavored.

PR:		226242
Submitted by:	mat
Exp-run by:	antoine
Approved by:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D14208
2018-03-08 19:48:41 +00:00

29 lines
755 B
Makefile

# Created by: Naram Qashat <cyberbotx@cyberbotx.com>
# $FreeBSD$
PORTNAME= libpuzzle
PORTVERSION= 0.11
PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= http://download.pureftpd.org/pub/pure-ftpd/misc/libpuzzle/release/ \
ftp://ftp.pureftpd.org/pub/pure-ftpd/misc/libpuzzle/releases/
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
MAINTAINER= cyberbotx@cyberbotx.com
COMMENT= PHP extension for Puzzle library to find similar pictures
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC:H:H}/COPYING
LIB_DEPENDS= libpuzzle.so:graphics/libpuzzle \
libgd.so:graphics/gd
USES= php:ext tar:bzip2
IGNORE_WITH_PHP= 70 71 72
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/php/${PORTNAME}
pre-install:
@${STRIP_CMD} ${WRKSRC}/modules/libpuzzle.so
.include <bsd.port.mk>