2013-09-20 20:35:44 +02:00
|
|
|
# Created by: Naram Qashat <cyberbotx@cyberbotx.com>
|
2010-08-02 12:18:44 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libpuzzle
|
|
|
|
PORTVERSION= 0.11
|
2013-08-09 16:05:52 +02:00
|
|
|
PORTREVISION= 1
|
2010-08-02 12:18:44 +02:00
|
|
|
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-
|
|
|
|
|
|
|
|
MAINTAINER= cyberbotx@cyberbotx.com
|
|
|
|
COMMENT= PHP extension for Puzzle library to find similar pictures
|
|
|
|
|
2014-03-21 21:57:49 +01:00
|
|
|
LICENSE= BSD2CLAUSE
|
2015-07-27 22:16:31 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC:H:H}/COPYING
|
2010-08-02 12:18:44 +02:00
|
|
|
|
2014-03-21 21:57:49 +01:00
|
|
|
LIB_DEPENDS= libpuzzle.so:${PORTSDIR}/graphics/libpuzzle \
|
|
|
|
libgd.so:${PORTSDIR}/graphics/gd
|
2010-08-02 12:18:44 +02:00
|
|
|
|
2014-03-21 21:57:49 +01:00
|
|
|
USES= tar:bzip2
|
2010-08-02 12:18:44 +02:00
|
|
|
USE_PHP= yes
|
|
|
|
USE_PHPIZE= yes
|
|
|
|
USE_PHPEXT= yes
|
|
|
|
USE_PHP_BUILD= yes
|
|
|
|
|
2015-07-25 17:06:48 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/php/${PORTNAME}
|
|
|
|
|
2014-03-21 21:57:49 +01:00
|
|
|
pre-install:
|
|
|
|
@${STRIP_CMD} ${WRKSRC}/modules/libpuzzle.so
|
|
|
|
|
2010-08-02 12:18:44 +02:00
|
|
|
.include <bsd.port.mk>
|