diff options
Diffstat (limited to 'graphics/php-libpuzzle/Makefile')
-rw-r--r-- | graphics/php-libpuzzle/Makefile | 15 |
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> |