diff --git a/net/Makefile b/net/Makefile index 39c7e79c9b10..ec4bf3caab88 100644 --- a/net/Makefile +++ b/net/Makefile @@ -960,6 +960,7 @@ SUBDIR += pyrad SUBDIR += pythondirector SUBDIR += qadsl + SUBDIR += qjsonrpc SUBDIR += qoauth SUBDIR += qt4-network SUBDIR += qt5-network diff --git a/net/qjsonrpc/Makefile b/net/qjsonrpc/Makefile new file mode 100644 index 000000000000..e1d1010c2325 --- /dev/null +++ b/net/qjsonrpc/Makefile @@ -0,0 +1,26 @@ +# Created by: Serguei Okladnikov +# $FreeBSD$ + +PORTNAME= qjsonrpc +PORTVERSION= 1.0.1 +CATEGORIES= net www devel +MASTER_SITES= http://bitbucket.org/devonit/qjsonrpc/get/ +DISTNAME= v${PORTVERSION} +DIST_SUBDIR= ${PORTNAME} + +MAINTAINER= oklaspec@gmail.com +COMMENT= C++ Qt based JSON RPC2 library + +LICENSE= LGPL21 + +USES= qmake +USE_QT4= moc_build network qmake_build qtestlib_build rcc_build +USE_LDCONFIG= yes + +WRKSRC= ${WRKDIR}/devonit-qjsonrpc-b138256fe2b8 + +post-configure: + @${REINPLACE_CMD} 's|lib/pkgconfig|libdata/pkgconfig|g' \ + ${WRKSRC}/src/Makefile + +.include diff --git a/net/qjsonrpc/distinfo b/net/qjsonrpc/distinfo new file mode 100644 index 000000000000..add12ebe2ec5 --- /dev/null +++ b/net/qjsonrpc/distinfo @@ -0,0 +1,2 @@ +SHA256 (qjsonrpc/v1.0.1.tar.gz) = e0d4754796bb271b9eeaab30b52eaaadec0d1d102de27cd828a0b73175019921 +SIZE (qjsonrpc/v1.0.1.tar.gz) = 101571 diff --git a/net/qjsonrpc/files/patch-tests__tests.pro b/net/qjsonrpc/files/patch-tests__tests.pro new file mode 100644 index 000000000000..2fb5f4e78098 --- /dev/null +++ b/net/qjsonrpc/files/patch-tests__tests.pro @@ -0,0 +1,7 @@ +--- ./tests/tests.pro.orig 2014-02-19 16:10:27.000000000 +0400 ++++ ./tests/tests.pro 2014-02-19 17:14:00.000000000 +0400 +@@ -1,3 +1,2 @@ + TEMPLATE = subdirs +-SUBDIRS = auto \ +- manual ++SUBDIRS = auto diff --git a/net/qjsonrpc/pkg-descr b/net/qjsonrpc/pkg-descr new file mode 100644 index 000000000000..c9b297f9465c --- /dev/null +++ b/net/qjsonrpc/pkg-descr @@ -0,0 +1,3 @@ +C++ Qt based JSON RPC2 library + +WWW: http://bitbucket.org/devonit/qjsonrpc diff --git a/net/qjsonrpc/pkg-plist b/net/qjsonrpc/pkg-plist new file mode 100644 index 000000000000..27be9bcef990 --- /dev/null +++ b/net/qjsonrpc/pkg-plist @@ -0,0 +1,15 @@ +include/qjsonrpc/json/qjson_export.h +include/qjsonrpc/json/qjsonarray.h +include/qjsonrpc/json/qjsondocument.h +include/qjsonrpc/json/qjsonobject.h +include/qjsonrpc/json/qjsonvalue.h +include/qjsonrpc/qjsonrpc_export.h +include/qjsonrpc/qjsonrpcmessage.h +include/qjsonrpc/qjsonrpcservice.h +lib/libqjsonrpc.so +lib/libqjsonrpc.so.1 +lib/libqjsonrpc.so.1.0 +lib/libqjsonrpc.so.1.0.0 +libdata/pkgconfig/qjsonrpc.pc +@dirrm include/qjsonrpc/json +@dirrm include/qjsonrpc