git: 8ebb82fbdc6b - main - archivers/php-snappy: Remove no-op PHP_MODNAME

Po-Chuan Hsieh sunpoet at FreeBSD.org
Tue May 4 19:20:53 UTC 2021


The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8ebb82fbdc6b3d78869769dc908618d78b1d80ff

commit 8ebb82fbdc6b3d78869769dc908618d78b1d80ff
Author:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-05-04 19:14:53 +0000
Commit:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-05-04 19:14:53 +0000

    archivers/php-snappy: Remove no-op PHP_MODNAME
    
    - Cosmetic change
    - Take maintainership
---
 archivers/php-snappy/Makefile | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/archivers/php-snappy/Makefile b/archivers/php-snappy/Makefile
index a5e5a7b9913f..8371cdd6aad8 100644
--- a/archivers/php-snappy/Makefile
+++ b/archivers/php-snappy/Makefile
@@ -5,28 +5,28 @@ PORTVERSION=	0.2.1
 CATEGORIES=	archivers
 PKGNAMEPREFIX=	${PHP_PKGNAMEPREFIX}
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	sunpoet at FreeBSD.org
 COMMENT=	PHP extension for the snappy compression algorithm
 
 LICENSE=	BSD3CLAUSE PHP301
 LICENSE_COMB=	multi
-LICENSE_FILE_BSD3CLAUSE=	${WRKSRC}/COPYING.snappy
+LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/COPYING.snappy
 LICENSE_FILE_PHP301=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libsnappy.so:archivers/snappy
 
+USES=		php:ext
+
+CONFIGURE_ARGS=	--with-snappy-includedir=${LOCALBASE}/include
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	kjdev
 GH_PROJECT=	php-ext-snappy
 
-USES=		php:ext
-PHP_MODNAME=	snappy
-CONFIGURE_ARGS=	--with-snappy-includedir=${LOCALBASE}/include
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/snappy.so
 
 do-test:
-	(cd ${WRKSRC} && ${DO_MAKE_BUILD} NO_INTERACTION=yes test < /dev/null)
-
-post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/snappy.so
+	cd ${WRKSRC} && ${DO_MAKE_BUILD} NO_INTERACTION=yes test < /dev/null
 
 .include <bsd.port.mk>


More information about the dev-commits-ports-all mailing list