Lines 7-12
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= pdo_cassandra |
8 |
PORTNAME= pdo_cassandra |
9 |
PORTVERSION= 0.2.1 |
9 |
PORTVERSION= 0.2.1 |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= databases |
11 |
CATEGORIES= databases |
11 |
MASTER_SITES= https://github.com/${GITHUB_USER}/php-${PORTNAME}/tarball/${GITREVISION}/ |
12 |
MASTER_SITES= https://github.com/${GITHUB_USER}/php-${PORTNAME}/tarball/${GITREVISION}/ |
12 |
PKGNAMEPREFIX= php5- |
13 |
PKGNAMEPREFIX= php5- |
Lines 30-33
Link Here
|
30 |
DEFAULT_PHP_VER=5 |
31 |
DEFAULT_PHP_VER=5 |
31 |
IGNORE_WITH_PHP=4 52 |
32 |
IGNORE_WITH_PHP=4 52 |
32 |
|
33 |
|
33 |
.include <bsd.port.mk> |
34 |
.include <bsd.port.pre.mk> |
|
|
35 |
.if exists(${PORTSDIR}/devel/thrift/bsd.thrift.mk) |
36 |
.include "${PORTSDIR}/devel/thrift/bsd.thrift.mk" |
37 |
.endif |
38 |
|
39 |
post-configure: |
40 |
.if defined(THRIFT_PORTVERSION) |
41 |
. if ${THRIFT_PORTVERSION} == 0.8.0 |
42 |
${REINPLACE_CMD} 's/\([^:]\)apache::thrift/\1 ::apache::thrift/g' ${WRKSRC}/gen-cpp/Cassandra.h |
43 |
${REINPLACE_CMD} 's/\([^:]\)apache::thrift/\1 ::apache::thrift/g' ${WRKSRC}/gen-cpp/Cassandra.cpp |
44 |
. endif |
45 |
.endif |
46 |
|
47 |
.include <bsd.port.post.mk> |