Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2014 18:40:41 +0000 (UTC)
From:      Brendan Fabeny <bf@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343135 - in head: devel/cppcheck textproc/tinyxml2
Message-ID:  <201402061840.s16IefmI070192@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bf
Date: Thu Feb  6 18:40:41 2014
New Revision: 343135
URL: http://svnweb.freebsd.org/changeset/ports/343135
QAT: https://qat.redports.org/buildarchive/r343135/

Log:
  Update textproc/tinyxml2 to 20140124 and devel/cppcheck to 1.63; use staging for both

Modified:
  head/devel/cppcheck/Makefile
  head/devel/cppcheck/distinfo
  head/textproc/tinyxml2/Makefile
  head/textproc/tinyxml2/distinfo

Modified: head/devel/cppcheck/Makefile
==============================================================================
--- head/devel/cppcheck/Makefile	Thu Feb  6 18:35:10 2014	(r343134)
+++ head/devel/cppcheck/Makefile	Thu Feb  6 18:40:41 2014	(r343135)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	cppcheck
-PORTVERSION=	1.62
+PORTVERSION=	1.63
 CATEGORIES=	devel
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/
 
@@ -26,21 +26,23 @@ OPTIONS_DEFAULT=	MATCHCOMPILER RULES
 MATCHCOMPILER_DESC=	Build-time optimizations via Python
 RULES_DESC=		User-defined rule support (requires PCRE)
 
-PLIST_FILES=	bin/cppcheck bin/cppcheck-htmlreport
+PLIST_FILES=	bin/cppcheck bin/cppcheck-htmlreport man/man1/cppcheck.1.gz
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
+.ifndef(NOPORTDATA)
+MAKE_ENV+=	CFGDIR="${DATADIR}/cfg"
+PORTDATA=	*
+.endif
+
 .if ${PORT_OPTIONS:MDOCS}
 ALL_TARGET+=	man
 BUILD_DEPENDS+=	xsltproc:${PORTSDIR}/textproc/libxslt \
 		${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl
 MAKE_ENV+=	DB2MAN="${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl"
-MAN1=		cppcheck.1
-MANCOMPRESSED=	no
 
 post-install:
-	@${INSTALL_MAN} ${WRKSRC}/cppcheck.1 ${PREFIX}/man/man1
+	@${INSTALL_MAN} ${WRKSRC}/cppcheck.1 ${STAGEDIR}${PREFIX}/man/man1
 .endif
 
 .if ${PORT_OPTIONS:MMATCHCOMPILER}
@@ -75,12 +77,14 @@ post-patch:
 .endif
 
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/cppcheck ${PREFIX}/bin
-	@${INSTALL_SCRIPT} ${WRKSRC}/htmlreport/cppcheck-htmlreport ${PREFIX}/bin
+	@${INSTALL_PROGRAM} ${WRKSRC}/cppcheck ${STAGEDIR}${PREFIX}/bin
+	@${INSTALL_SCRIPT} ${WRKSRC}/htmlreport/cppcheck-htmlreport ${STAGEDIR}${PREFIX}/bin
+.ifndef(NOPORTDATA)
+	@${MKDIR} ${STAGEDIR}${DATADIR}/cfg
+	@cd ${WRKSRC}/cfg; ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/cfg/
+.endif
 
 check regression-test test: build
-	@(cd ${BUILD_WRKSRC}; \
-		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} \
-		${_MAKE_JOBS} ${MAKE_ARGS} test)
+	@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
 
 .include <bsd.port.mk>

Modified: head/devel/cppcheck/distinfo
==============================================================================
--- head/devel/cppcheck/distinfo	Thu Feb  6 18:35:10 2014	(r343134)
+++ head/devel/cppcheck/distinfo	Thu Feb  6 18:40:41 2014	(r343135)
@@ -1,2 +1,2 @@
-SHA256 (cppcheck-1.62.tar.bz2) = 0c257368870985cdb870d0e95f3e909df881472eafcc7699a25681b9e0143d0c
-SIZE (cppcheck-1.62.tar.bz2) = 1171442
+SHA256 (cppcheck-1.63.tar.bz2) = 924bfc4593215b7bab6b049dbbce9a6f343dbf15f4bdd869ef1d378f09f92064
+SIZE (cppcheck-1.63.tar.bz2) = 1157231

Modified: head/textproc/tinyxml2/Makefile
==============================================================================
--- head/textproc/tinyxml2/Makefile	Thu Feb  6 18:35:10 2014	(r343134)
+++ head/textproc/tinyxml2/Makefile	Thu Feb  6 18:40:41 2014	(r343135)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	tinyxml2
-PORTVERSION=	20131105
+PORTVERSION=	20140124
 CATEGORIES=	textproc
 MASTER_SITES=	LOCAL/bf GH
 
@@ -11,23 +11,21 @@ COMMENT=	Small C++ XML Parser
 
 LICENSE=	ZLIB
 
-USE_DOS2UNIX=	yes
 USE_GITHUB=	yes
 USE_LDCONFIG=	yes
-USES=		cmake
+USES=		cmake dos2unix
 
 GH_ACCOUNT=	leethomason
-GH_COMMIT=	370761b
+GH_COMMIT=	5bb2d80
 GH_TAGNAME=	${GH_COMMIT}
 
 PLIST_FILES=	include/tinyxml2.h \
 		lib/libtinyxml2.a \
 		lib/libtinyxml2.so \
 		lib/libtinyxml2.so.1 \
-		lib/libtinyxml2.so.1.0.12 \
+		lib/libtinyxml2.so.1.0.14 \
 		libdata/pkgconfig/tinyxml2.pc
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 post-patch:
@@ -43,8 +41,8 @@ check regression-test test: build
 PORTEXAMPLES=	xmltest.cpp resources
 
 post-install:
-	@${MKDIR} ${EXAMPLESDIR}
-	@cd ${WRKSRC} ; ${COPYTREE_SHARE} "${PORTEXAMPLES}" ${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	@cd ${WRKSRC}; ${COPYTREE_SHARE} "${PORTEXAMPLES}" ${STAGEDIR}${EXAMPLESDIR}
 
 .endif
 

Modified: head/textproc/tinyxml2/distinfo
==============================================================================
--- head/textproc/tinyxml2/distinfo	Thu Feb  6 18:35:10 2014	(r343134)
+++ head/textproc/tinyxml2/distinfo	Thu Feb  6 18:40:41 2014	(r343135)
@@ -1,2 +1,2 @@
-SHA256 (tinyxml2-20131105.tar.gz) = 7e4dd4e7332e3b5740014ab1a9fce3193089a6e997a52a9b68f4a9008e3e3b0b
-SIZE (tinyxml2-20131105.tar.gz) = 450658
+SHA256 (tinyxml2-20140124.tar.gz) = 571bcf2d08954fd8d28b849fe73c20ee2c4670d738786bc568ebfbcab6c29ebb
+SIZE (tinyxml2-20140124.tar.gz) = 451789



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402061840.s16IefmI070192>