Update textproc/tinyxml2 to 20140124 and devel/cppcheck to 1.63; use staging for both
This commit is contained in:
parent
911a10d5a0
commit
c9266fcc1e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343135
4 changed files with 25 additions and 23 deletions
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue