aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2014-02-14 11:30:25 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2014-02-14 11:30:25 +0000
commit5b88151c106b95c850267729a7c067ae362fc2aa (patch)
tree05e0a3d1dadd76013a762fd8b8bb90019c2b7121
parenta7ff699ccd7217035ea443c6fb88b756f136674c (diff)
downloadports-5b88151c106b95c850267729a7c067ae362fc2aa.tar.gz
ports-5b88151c106b95c850267729a7c067ae362fc2aa.zip
Notes
-rw-r--r--www/tivoka/Makefile21
-rw-r--r--www/tivoka/distinfo4
-rw-r--r--www/tivoka/pkg-plist9
3 files changed, 18 insertions, 16 deletions
diff --git a/www/tivoka/Makefile b/www/tivoka/Makefile
index b3d25699867c..dc5ba6bec9c0 100644
--- a/www/tivoka/Makefile
+++ b/www/tivoka/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= tivoka
-PORTVERSION= 3.0.1
+PORTVERSION= 3.2.1
CATEGORIES= www
MAINTAINER= gahr@FreeBSD.org
@@ -10,24 +10,25 @@ COMMENT= JSON-RPC client/server library for PHP
LICENSE= MIT
+OPTIONS_DEFINE= EXAMPLES
+
USE_PHP= json filter
NO_BUILD= yes
USE_GITHUB= yes
GH_ACCOUNT= marcelklehr
-GH_COMMIT= 4cbf436
+GH_COMMIT= 3d4525b
LIBDIR= ${PREFIX}/lib/php/${PHP_EXT_DIR}/${PORTNAME}
PLIST_SUB+= LIBDIR=${LIBDIR:S/${PREFIX}\///}
-NO_STAGE= yes
+PORTEXAMPLES= *
+
do-install:
- @${MKDIR} ${LIBDIR}
- @${INSTALL_DATA} ${WRKSRC}/include.php ${LIBDIR}
- @cd ${WRKSRC} && ${COPYTREE_SHARE} lib ${LIBDIR}
-.if !defined(NOPORTEXAMPLES)
- @${MKDIR} ${EXAMPLESDIR}
- @cd ${WRKSRC}/example && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${LIBDIR}
+ ${INSTALL_DATA} ${WRKSRC}/include.php ${STAGEDIR}${LIBDIR}
+ cd ${WRKSRC} && ${COPYTREE_SHARE} lib ${STAGEDIR}${LIBDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ cd ${WRKSRC}/example && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
diff --git a/www/tivoka/distinfo b/www/tivoka/distinfo
index 5931f0beca0c..984929183ad8 100644
--- a/www/tivoka/distinfo
+++ b/www/tivoka/distinfo
@@ -1,2 +1,2 @@
-SHA256 (tivoka-3.0.1.tar.gz) = 373b4793932b60973591fc8dc79897fc03610e224e5641bc3f6afd7f2b361982
-SIZE (tivoka-3.0.1.tar.gz) = 10605
+SHA256 (tivoka-3.2.1.tar.gz) = 9074c71f97555b46f68246afe87f7c4c1d7807b2aedd17b7f11c6fc073759238
+SIZE (tivoka-3.2.1.tar.gz) = 14739
diff --git a/www/tivoka/pkg-plist b/www/tivoka/pkg-plist
index 3de762a7cc4d..435ad61258dc 100644
--- a/www/tivoka/pkg-plist
+++ b/www/tivoka/pkg-plist
@@ -1,7 +1,10 @@
%%LIBDIR%%/include.php
%%LIBDIR%%/lib/Tivoka/Client.php
%%LIBDIR%%/lib/Tivoka/Client/BatchRequest.php
-%%LIBDIR%%/lib/Tivoka/Client/Connection.php
+%%LIBDIR%%/lib/Tivoka/Client/Connection/AbstractConnection.php
+%%LIBDIR%%/lib/Tivoka/Client/Connection/ConnectionInterface.php
+%%LIBDIR%%/lib/Tivoka/Client/Connection/Http.php
+%%LIBDIR%%/lib/Tivoka/Client/Connection/Tcp.php
%%LIBDIR%%/lib/Tivoka/Client/NativeInterface.php
%%LIBDIR%%/lib/Tivoka/Client/Notification.php
%%LIBDIR%%/lib/Tivoka/Client/Request.php
@@ -16,12 +19,10 @@
%%LIBDIR%%/lib/Tivoka/Server/MethodWrapper.php
%%LIBDIR%%/lib/Tivoka/Server/Server.php
%%LIBDIR%%/lib/Tivoka/Tivoka.php
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/client.php
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server.php
@dirrm %%LIBDIR%%/lib/Tivoka/Server
@dirrm %%LIBDIR%%/lib/Tivoka/Exception
+@dirrm %%LIBDIR%%/lib/Tivoka/Client/Connection
@dirrm %%LIBDIR%%/lib/Tivoka/Client
@dirrm %%LIBDIR%%/lib/Tivoka
@dirrm %%LIBDIR%%/lib
@dirrm %%LIBDIR%%
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%