1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-06 11:41:52 +00:00

- Update to 0.8.1.

- Use OPTIONSng.
- Improve COMMENT.
This commit is contained in:
Alberto Villa 2013-01-13 14:05:05 +00:00
parent 410cb6088b
commit dbbba7cc57
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=310321
4 changed files with 22 additions and 26 deletions

View File

@ -1,47 +1,40 @@
# New ports collection makefile for: qjson
# Date created: 19 December 2009
# Whom: Alberto Villa <villa.alberto@gmail.com>
#
# $FreeBSD$
PORTNAME= qjson
PORTVERSION= 0.7.1
PORTREVISION= 2
PORTVERSION= 0.8.1
CATEGORIES= devel
MASTER_SITES= SF
MAINTAINER= avilla@FreeBSD.org
COMMENT= Qt-based library that maps JSON data to QVariant objects
COMMENT= Library to manage JSON objects with Qt
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
USE_BZIP2= yes
USE_QT4= corelib moc_build qmake_build rcc_build uic_build
MAKE_JOBS_SAFE= yes
USE_BZIP2= yes
USE_CMAKE= yes
MAKE_JOBS_SAFE= yes
USE_LDCONFIG= yes
PORTDOCS= *
WRKSRC= ${WRKDIR}/${PORTNAME}
.include <bsd.port.options.mk>
.ifndef(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
.endif
pre-configure:
${REINPLACE_CMD} -e '/pkgconfig/ s/$${LIB_SUFFIX}/data/' \
-e 's|apps/cmake/modules|cmake/Modules|' \
post-patch:
@${REINPLACE_CMD} -e 's,/pkgconfig,/../libdata/pkgconfig,' \
${WRKSRC}/CMakeLists.txt
post-build:
.ifndef(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
cd ${WRKSRC}/doc && doxygen
.endif
post-install:
.ifndef(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} \* ${DOCSDIR}
.endif

View File

@ -1,2 +1,2 @@
SHA256 (qjson-0.7.1.tar.bz2) = 3b8e94345fe846171c4b4d7d3518891d5fc864fda1e0c10d935bdb77bd3db994
SIZE (qjson-0.7.1.tar.bz2) = 38075
SHA256 (qjson-0.8.1.tar.bz2) = cd4db5b956247c4991a9c3e95512da257cd2a6bd011357e363d02300afc814d9
SIZE (qjson-0.8.1.tar.bz2) = 64398

View File

@ -2,8 +2,8 @@ JSON (JavaScript Object Notation) is a lightweight data-interchange
format. It can represent integers, real numbers, strings, an ordered
sequence of values, and a collection of name/value pairs.
QJson is a Qt-based library that maps JSON data to QVariant objects.
JSON arrays will be mapped to QVariantList instances, while JSON's
objects will be mapped to QVariantMap.
QJson is a Qt-based library that maps JSON data to QVariant objects
and vice versa. JSON arrays will be mapped to QVariantList instances,
while JSON objects will be mapped to QVariantMap.
WWW: http://qjson.sourceforge.net

View File

@ -4,11 +4,14 @@ include/qjson/qjson_export.h
include/qjson/qobjecthelper.h
include/qjson/serializer.h
include/qjson/serializerrunnable.h
lib/cmake/qjson/QJSONConfig.cmake
lib/cmake/qjson/QJSONConfigVersion.cmake
lib/cmake/qjson/QJSONTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/qjson/QJSONTargets.cmake
lib/libqjson.so
lib/libqjson.so.0
lib/libqjson.so.0.7.1
lib/libqjson.so.0.8.1
libdata/pkgconfig/QJson.pc
share/cmake/Modules/FindQJSON.cmake
@dirrmtry share/cmake/Modules
@dirrmtry share/cmake
@dirrm lib/cmake/qjson
@dirrmtry lib/cmake
@dirrm include/qjson