Hi ports@

- Update to 0.9.0
- SHARED_LIBS bump (see changelog)
- disbale doxygen docs
-- I'll try to remove all doxygen depends:
-- https://marc.info/?l=openbsd-ports&m=147433167219051&w=2
- Tests depends on qt5/qtbase (qttest) so I turn it off to avoid a mix
between qt4 and qt5.

Cheers,

Rafael

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/qjson/Makefile,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 Makefile
--- Makefile    12 Nov 2016 20:50:41 -0000      1.7
+++ Makefile    26 Jan 2017 22:11:21 -0000
@@ -1,46 +1,27 @@
 # $OpenBSD: Makefile,v 1.7 2016/11/12 20:50:41 jca Exp $
 
 CATEGORIES =   devel
+
 COMMENT=       Qt-based library that maps JSON data to QVariant objects
-DISTNAME =     qjson-0.8.1
-REVISION =     2
+
+GH_ACCOUNT =   flavio
+GH_PROJECT =   qjson
+GH_TAGNAME =   0.9.0
+
 HOMEPAGE =     http://qjson.sourceforge.net/
 
-SHARED_LIBS =  qjson   0.0
+SHARED_LIBS =  qjson   0.1
 
-MODULES =      devel/cmake x11/qt4
-WANTLIB =      m stdc++
+MODULES =      devel/cmake \
+               x11/qt4
 
-MASTER_SITES = https://github.com/downloads/flavio/qjson/
-EXTRACT_SUFX = .tar.bz2
-TAR =          ${LOCALBASE}/bin/gtar
+WANTLIB += QtGui m stdc++
 
 # LGPLv2
 PERMIT_PACKAGE_CDROM =         Yes
 
-BUILD_DEPENDS =        devel/doxygen \
-               archivers/gtar
-DOCSDIR =      ${PREFIX}/share/doc/qjson
-
-# Test list taken from ${WRKSRC}/tests/CMakeLists.txt
-CONFIGURE_ARGS =       -DQJSON_BUILD_TESTS:Bool=Yes
-UNIT_TESTS =           testparser \
-                       testqobjecthelper \
-                       testserializer
-
-post-build:
-       cd ${WRKSRC}/doc && doxygen
-
-post-install:
-       ${INSTALL_DATA_DIR} ${DOCSDIR}
-       cd ${WRKSRC}/doc/html && find . -type d -print0 | \
-               (cd ${DOCSDIR} && xargs -0 ${INSTALL_DATA_DIR})
-       find ${WRKSRC}/doc/html -type f -print0 | \
-               (cd ${DOCSDIR} && xargs -0 -J % ${INSTALL_DATA} % ${DOCSDIR})
-
-do-test:
-.for T in ${UNIT_TESTS}
-       cd ${WRKBUILD}/tests && ./$T
-.endfor
+# XXX enable tests if we switch to qt5
+CONFIGURE_ARGS =       -DQJSON_BUILD_TESTS:Bool=No \
+                       -DQT4_BUILD:Bool=Yes
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/qjson/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 distinfo
--- distinfo    5 Feb 2013 10:31:01 -0000       1.1.1.1
+++ distinfo    26 Jan 2017 22:11:21 -0000
@@ -1,2 +1,2 @@
-SHA256 (qjson-0.8.1.tar.bz2) = zU21uVYkfEmRqcPpVRLaJXzSpr0BE1fjY9AjAK/IFNk=
-SIZE (qjson-0.8.1.tar.bz2) = 64398
+SHA256 (qjson-0.9.0.tar.gz) = 6BJhdHfzwruZBWF2ekzYsdOAOlIBjUh42jAlKVUmENQ=
+SIZE (qjson-0.9.0.tar.gz) = 98300
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/qjson/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 PLIST
--- pkg/PLIST   12 Nov 2016 20:50:41 -0000      1.4
+++ pkg/PLIST   26 Jan 2017 22:11:21 -0000
@@ -13,85 +13,3 @@ lib/cmake/qjson/QJSONTargets${MODCMAKE_B
 lib/cmake/qjson/QJSONTargets.cmake
 @lib lib/libqjson.so.${LIBqjson_VERSION}
 lib/pkgconfig/QJson.pc
-share/doc/qjson/
-share/doc/qjson/annotated.html
-share/doc/qjson/bc_s.png
-share/doc/qjson/bdwn.png
-share/doc/qjson/classQJson_1_1Parser-members.html
-share/doc/qjson/classQJson_1_1Parser.html
-share/doc/qjson/classQJson_1_1ParserRunnable-members.html
-share/doc/qjson/classQJson_1_1ParserRunnable.html
-share/doc/qjson/classQJson_1_1QObjectHelper-members.html
-share/doc/qjson/classQJson_1_1QObjectHelper.html
-share/doc/qjson/classQJson_1_1Serializer-members.html
-share/doc/qjson/classQJson_1_1Serializer.html
-share/doc/qjson/classQJson_1_1SerializerRunnable-members.html
-share/doc/qjson/classQJson_1_1SerializerRunnable.html
-share/doc/qjson/classes.html
-share/doc/qjson/classyy_1_1json__parser-members.html
-share/doc/qjson/classyy_1_1json__parser.html
-share/doc/qjson/classyy_1_1location-members.html
-share/doc/qjson/classyy_1_1location.html
-share/doc/qjson/classyy_1_1position-members.html
-share/doc/qjson/classyy_1_1position.html
-share/doc/qjson/classyy_1_1slice-members.html
-share/doc/qjson/classyy_1_1slice.html
-share/doc/qjson/closed.png
-share/doc/qjson/deprecated.html
-share/doc/qjson/dir_68267d1309a1af8e8297ef4c3efbcdba.html
-share/doc/qjson/doc.png
-share/doc/qjson/doxygen.css
-share/doc/qjson/doxygen.png
-share/doc/qjson/dynsections.js
-share/doc/qjson/files.html
-share/doc/qjson/folderclosed.png
-share/doc/qjson/folderopen.png
-share/doc/qjson/functions.html
-share/doc/qjson/functions_func.html
-share/doc/qjson/functions_type.html
-share/doc/qjson/functions_vars.html
-share/doc/qjson/index.html
-share/doc/qjson/jquery.js
-share/doc/qjson/json__parser_8cc_source.html
-share/doc/qjson/json__parser_8hh_source.html
-share/doc/qjson/json__scanner_8cpp_source.html
-share/doc/qjson/json__scanner_8h_source.html
-share/doc/qjson/location_8hh.html
-share/doc/qjson/location_8hh_source.html
-share/doc/qjson/menu.js
-share/doc/qjson/menudata.js
-share/doc/qjson/namespaceQJson.html
-share/doc/qjson/namespacemembers.html
-share/doc/qjson/namespacemembers_enum.html
-share/doc/qjson/namespaces.html
-share/doc/qjson/nav_f.png
-share/doc/qjson/nav_g.png
-share/doc/qjson/nav_h.png
-share/doc/qjson/open.png
-share/doc/qjson/pages.html
-share/doc/qjson/parser_8cpp_source.html
-share/doc/qjson/parser_8h_source.html
-share/doc/qjson/parser__p_8h_source.html
-share/doc/qjson/parserrunnable_8cpp_source.html
-share/doc/qjson/parserrunnable_8h_source.html
-share/doc/qjson/position_8hh.html
-share/doc/qjson/position_8hh_source.html
-share/doc/qjson/qjson__debug_8h_source.html
-share/doc/qjson/qjson__export_8h_source.html
-share/doc/qjson/qobjecthelper_8cpp_source.html
-share/doc/qjson/qobjecthelper_8h_source.html
-share/doc/qjson/serializer_8cpp_source.html
-share/doc/qjson/serializer_8h_source.html
-share/doc/qjson/serializerrunnable_8cpp_source.html
-share/doc/qjson/serializerrunnable_8h_source.html
-share/doc/qjson/splitbar.png
-share/doc/qjson/stack_8hh_source.html
-share/doc/qjson/structyy_1_1json__parser_1_1token-members.html
-share/doc/qjson/structyy_1_1json__parser_1_1token.html
-share/doc/qjson/sync_off.png
-share/doc/qjson/sync_on.png
-share/doc/qjson/tab_a.png
-share/doc/qjson/tab_b.png
-share/doc/qjson/tab_h.png
-share/doc/qjson/tab_s.png
-share/doc/qjson/tabs.css

Reply via email to