blob: ac08e7bb87968e43041f1b40acac34ddd78b51b1 (
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
|
# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$
PORTNAME= igbinary
PORTVERSION= 2.0.1
CATEGORIES= converters
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Replacement for the standard PHP serializer
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
USES= php:pecl
.include <bsd.port.pre.mk>
post-patch:
.if ${PHP_VER} >= 70
${CP} ${WRKSRC}/src/php7/igbinary.h ${WRKSRC}/igbinary.h
${CP} ${WRKSRC}/src/php7/php_igbinary.h ${WRKSRC}/php_igbinary.h
.else
${CP} ${WRKSRC}/src/php5/igbinary.h ${WRKSRC}/igbinary.h
${CP} ${WRKSRC}/src/php5/php_igbinary.h ${WRKSRC}/php_igbinary.h
.endif
.include <bsd.port.post.mk>
|