Lines 1-9
Link Here
|
1 |
# Created by: Gasol Wu <gasol.wu@gmail.com> |
1 |
# Created by: Gasol Wu <gasol.wu@gmail.com> |
2 |
# $FreeBSD: head/databases/php5-pdo_cassandra/Makefile 401553 2015-11-13 22:13:24Z antoine $ |
2 |
# $FreeBSD: head/databases/php5-pdo_cassandra/Makefile 367888 2014-09-10 20:50:31Z gerald $ |
3 |
|
3 |
|
4 |
PORTNAME= pdo_cassandra |
4 |
PORTNAME= pdo_cassandra |
5 |
PORTVERSION= 0.2.1 |
5 |
PORTVERSION= 0.2.1 |
6 |
PORTREVISION= 4 |
6 |
PORTREVISION= 5 |
7 |
CATEGORIES= databases |
7 |
CATEGORIES= databases |
8 |
PKGNAMEPREFIX= php5- |
8 |
PKGNAMEPREFIX= php5- |
9 |
|
9 |
|
Lines 12-21
Link Here
|
12 |
|
12 |
|
13 |
LICENSE= APACHE20 |
13 |
LICENSE= APACHE20 |
14 |
|
14 |
|
15 |
BROKEN= fails to compile |
|
|
16 |
DEPRECATED= PHP 5.4 EOL reached |
17 |
EXPIRATION_DATE= 2016-01-15 |
18 |
|
19 |
LIB_DEPENDS= libboost_iostreams.so:${PORTSDIR}/devel/boost-libs |
15 |
LIB_DEPENDS= libboost_iostreams.so:${PORTSDIR}/devel/boost-libs |
20 |
|
16 |
|
21 |
USE_GITHUB= yes |
17 |
USE_GITHUB= yes |
Lines 23-35
Link Here
|
23 |
GH_PROJECT= php-${PORTNAME} |
19 |
GH_PROJECT= php-${PORTNAME} |
24 |
GH_TAGNAME= 7debd5b |
20 |
GH_TAGNAME= 7debd5b |
25 |
|
21 |
|
26 |
USES= pkgconfig |
22 |
USES= compiler:c++11-lang pkgconfig |
|
|
23 |
USE_CXXSTD= c++11 |
27 |
USE_PHP_BUILD= yes |
24 |
USE_PHP_BUILD= yes |
28 |
USE_PHP= pdo |
25 |
USE_PHP= pdo |
29 |
USE_PHPEXT= yes |
26 |
USE_PHPEXT= yes |
30 |
PHP_DEFAULT= 5.4 |
|
|
31 |
IGNORE_WITH_PHP=52 |
32 |
USE_GCC= yes |
33 |
|
27 |
|
34 |
.include <bsd.port.pre.mk> |
28 |
.include <bsd.port.pre.mk> |
35 |
.include "${PORTSDIR}/devel/thrift/bsd.thrift.mk" |
29 |
.include "${PORTSDIR}/devel/thrift/bsd.thrift.mk" |
Lines 46-54
Link Here
|
46 |
.endif |
40 |
.endif |
47 |
|
41 |
|
48 |
post-configure: |
42 |
post-configure: |
49 |
.if ${THRIFT_PORTVERSION} == "0.8.0" |
|
|
50 |
${REINPLACE_CMD} 's/\([^:]\)apache::thrift/\1 ::apache::thrift/g' ${WRKSRC}/gen-cpp/Cassandra.h |
51 |
${REINPLACE_CMD} 's/\([^:]\)apache::thrift/\1 ::apache::thrift/g' ${WRKSRC}/gen-cpp/Cassandra.cpp |
43 |
${REINPLACE_CMD} 's/\([^:]\)apache::thrift/\1 ::apache::thrift/g' ${WRKSRC}/gen-cpp/Cassandra.cpp |
52 |
.endif |
44 |
${REINPLACE_CMD} 's/\([^:]\)apache::thrift/\1 ::apache::thrift/g' ${WRKSRC}/gen-cpp/Cassandra.h |
|
|
45 |
${REINPLACE_CMD} 's/\([^:]\)apache::thrift/\1 ::apache::thrift/g' ${WRKSRC}/gen-cpp/cassandra_types.cpp |
53 |
|
46 |
|
54 |
.include <bsd.port.post.mk> |
47 |
.include <bsd.port.post.mk> |