mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
14957c642b
Approved by: miwi (mentor) Differential Revision: https://reviews.freebsd.org/D12286
34 lines
764 B
Makefile
34 lines
764 B
Makefile
# Created by: Melvyn Sopacua <melvyn@magemana.nl>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= snappy
|
|
PORTVERSION= 0.1.9
|
|
CATEGORIES= archivers
|
|
PKGNAMEPREFIX= php-
|
|
|
|
MAINTAINER= joneum@FreeBSD.org
|
|
COMMENT= PHP extension for the snappy compression algorithm
|
|
|
|
LICENSE= BSD3CLAUSE PHP301
|
|
LICENSE_COMB= multi
|
|
LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/COPYING.snappy
|
|
LICENSE_FILE_PHP301= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libsnappy.so:archivers/snappy
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= kjdev
|
|
GH_PROJECT= php-ext-snappy
|
|
|
|
USES= php:ext
|
|
PHP_MODNAME= snappy
|
|
CONFIGURE_ARGS= --with-snappy-includedir=${LOCALBASE}/include
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|