aboutsummaryrefslogtreecommitdiff
path: root/graphics/php-libpuzzle
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-03-21 20:57:49 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-03-21 20:57:49 +0000
commit2a5e6135ddb5658a16d6a79719959732ba2220cc (patch)
treef638911e04f4d819be318f5a80926ba23ff1d190 /graphics/php-libpuzzle
parent5cf4f848878d2c8831820f18fbd17685559c38ef (diff)
downloadports-2a5e6135ddb5658a16d6a79719959732ba2220cc.tar.gz
ports-2a5e6135ddb5658a16d6a79719959732ba2220cc.zip
Notes
Diffstat (limited to 'graphics/php-libpuzzle')
-rw-r--r--graphics/php-libpuzzle/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/graphics/php-libpuzzle/Makefile b/graphics/php-libpuzzle/Makefile
index e8fd31574179..03787a606386 100644
--- a/graphics/php-libpuzzle/Makefile
+++ b/graphics/php-libpuzzle/Makefile
@@ -12,21 +12,22 @@ PKGNAMEPREFIX= php-
MAINTAINER= cyberbotx@cyberbotx.com
COMMENT= PHP extension for Puzzle library to find similar pictures
-LIB_DEPENDS= puzzle.1:${PORTSDIR}/graphics/libpuzzle \
- gd:${PORTSDIR}/graphics/gd
-
-LICENSE= BSD
+LICENSE= BSD2CLAUSE
LICENSE_FILES= ${WRKSRC}/COPYING
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/php/${PORTNAME}
+LIB_DEPENDS= libpuzzle.so:${PORTSDIR}/graphics/libpuzzle \
+ libgd.so:${PORTSDIR}/graphics/gd
+USES= tar:bzip2
-USE_BZIP2= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/php/${PORTNAME}
USE_PHP= yes
USE_PHPIZE= yes
USE_PHPEXT= yes
USE_PHP_BUILD= yes
-NO_STAGE= yes
+pre-install:
+ @${STRIP_CMD} ${WRKSRC}/modules/libpuzzle.so
+
.include <bsd.port.mk>