summaryrefslogtreecommitdiffstats
path: root/graphics/php-libpuzzle/Makefile
blob: f5c1c3c96a120ca9875b20968348e2d53ce88642 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Created by: Naram Qashat <cyberbotx@cyberbotx.com>
# $FreeBSD$

PORTNAME=	libpuzzle
PORTVERSION=	0.11
PORTREVISION=	1
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

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

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/php/${PORTNAME}

pre-install:
	@${STRIP_CMD} ${WRKSRC}/modules/libpuzzle.so

.include <bsd.port.mk>
OpenPOWER on IntegriCloud