1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

archivers/php-snappy: Remove no-op PHP_MODNAME

- Cosmetic change
- Take maintainership
This commit is contained in:
Po-Chuan Hsieh 2021-05-05 03:14:53 +08:00
parent 7ed036e368
commit 8ebb82fbdc
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B

View File

@ -5,28 +5,28 @@ PORTVERSION= 0.2.1
CATEGORIES= archivers
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
MAINTAINER= sunpoet@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>