blob: 73974352b1fcb9501b13c40ba81c985257041cbb (
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
|
# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$
PORTNAME= igbinary
PORTVERSION= 2.0.1
CATEGORIES= converters
MASTER_SITES= http://pecl.php.net/get/ \
LOCAL/sunpoet
PKGNAMEPREFIX= pecl-
DIST_SUBDIR= PECL
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Replacement for the standard PHP serializer
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
USES= php:ext tar:tgz
.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>
|