blob: d50891b9ff767ebcdde7a1c75d7b0c1bffe84d34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Created by: Melvyn Sopacua <melvyn@magemana.nl>
# $FreeBSD$
PORTNAME= snappy
PORTVERSION= 0.2.0
CATEGORIES= archivers
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
MAINTAINER= miwi@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>
|