svn commit: r348745 - head/graphics/php-libpuzzle

Pawel Pekala pawel at FreeBSD.org
Fri Mar 21 20:57:49 UTC 2014


Author: pawel
Date: Fri Mar 21 20:57:49 2014
New Revision: 348745
URL: http://svnweb.freebsd.org/changeset/ports/348745
QAT: https://qat.redports.org/buildarchive/r348745/

Log:
  - Staging support [1]
  - USES for bzip2 [1]
  - Fix order of lines [1]
  - More precise BSD license
  - Strip module binary
  
  PR:		ports/187682 [1]
  Submitted by:	maintainer

Modified:
  head/graphics/php-libpuzzle/Makefile

Modified: head/graphics/php-libpuzzle/Makefile
==============================================================================
--- head/graphics/php-libpuzzle/Makefile	Fri Mar 21 20:36:00 2014	(r348744)
+++ head/graphics/php-libpuzzle/Makefile	Fri Mar 21 20:57:49 2014	(r348745)
@@ -12,21 +12,22 @@ PKGNAMEPREFIX=	php-
 MAINTAINER=	cyberbotx at 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>


More information about the svn-ports-all mailing list