Date: Sun, 30 Dec 2012 21:38:29 +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: r309696 - head/devel/api-sanity-autotest Message-ID: <201212302138.qBULcTCT085951@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bf Date: Sun Dec 30 21:38:28 2012 New Revision: 309696 URL: http://svnweb.freebsd.org/changeset/ports/309696 Log: update to 1.98.1 Modified: head/devel/api-sanity-autotest/Makefile head/devel/api-sanity-autotest/distinfo Modified: head/devel/api-sanity-autotest/Makefile ============================================================================== --- head/devel/api-sanity-autotest/Makefile Sun Dec 30 21:33:03 2012 (r309695) +++ head/devel/api-sanity-autotest/Makefile Sun Dec 30 21:38:28 2012 (r309696) @@ -1,15 +1,13 @@ -# New ports collection makefile for: api-sanity-autotest -# Date created: February 16, 2009 -# Whom: bf <bf@FreeBSD.org> -# +# Created by: bf <bf@FreeBSD.org> # $FreeBSD$ -# PORTNAME= api-sanity-checker -PORTVERSION= 1.12.10 +PORTVERSION= 1.98.1 CATEGORIES= devel perl5 -MASTER_SITES= http://forge.ispras.ru/attachments/download/2634/ \ - LOCAL/bf +MASTER_SITES= https://github.com/lvc/${PORTNAME}/archive/ \ + LOCAL/bf/${DIST_SUBDIR} +DISTNAME= ${PORTVERSION} +DIST_SUBDIR= ${PORTNAME} MAINTAINER= bf@FreeBSD.org COMMENT= Quickly generate sanity tests for the API of a C/C++ shared library @@ -17,20 +15,22 @@ COMMENT= Quickly generate sanity tests f LICENSE= LGPL20 GPLv2 LICENSE_COMB= dual +RUN_DEPENDS= ${LOCALBASE}/bin/abi-compliance-checker.pl:${PORTSDIR}/devel/abi-compliance-checker + .if defined(MAINTAINER_MODE) || defined(PACKAGE_BUILDING) +BUILD_DEPENDS= ${LOCALBASE}/bin/abi-compliance-checker.pl:${PORTSDIR}/devel/abi-compliance-checker USE_PERL5= yes .else USE_PERL5_RUN= yes .endif +USE_GCC= any +FETCH_ARGS?= -Fpr NO_BUILD= yes PLIST_FILES= bin/${PORTNAME}.pl +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -.include <bsd.port.pre.mk> - -.if !empty(CC:M*clang*) || !empty(CXX:M*clang*) -IGNORE = : this port requires CC and CXX to be versions of gcc -.endif +.include <bsd.port.options.mk> CPPFILT?= /usr/bin/c++filt READELF?= /usr/bin/readelf @@ -42,16 +42,14 @@ PICFLAG?= -fpic .endif post-patch: - @${REINPLACE_CMD} \ - -e "\|get_CmdPath(\"ar\")|s|\"ar\"|\"${AR}\"|" \ - -e "\|get_CmdPath(\"c++filt\")|s|\"c++filt\"|\"${CPPFILT}\"|" \ - -e "\|get_CmdPath(\"gcc\")|s|\"gcc\"|\"${CC}\"|" \ - -e "\|get_CmdPath(\"g++\")|s|\"g++\"|\"${CXX}\"|" \ - -e "\|get_CmdPath(\"objdump\")|s|\"objdump\"|\"${OBJDUMP}\"|" \ - -e "\|get_CmdPath(\"pidof\")|s|\"pidof\"|\"pgrep\"|" \ - -e "\|get_CmdPath(\"readelf\")|s|\"readelf\"|\"${READELF}\"|" \ - -e "s| -shared|& ${PICFLAG}|g" \ - ${WRKSRC}/${PORTNAME}.pl + @${REINPLACE_CMD} -E \ + -e 's/gcc([ \])/${CC}\1/' \ + -e 's/g\+\+([ \])/${CXX}\1/' \ + -e 's/ -shared/& ${PICFLAG}/' \ + -e 's|abi-compliance-checker|${LOCALBASE}/bin/&.pl|' \ + ${WRKSRC}/${PORTNAME}.pl \ + ${WRKSRC}/Makefile.pl \ + ${WRKSRC}/modules/Internals/RegTests.pm do-install: @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin @@ -62,7 +60,7 @@ check regression-test test: build .endif -.ifndef(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} PORTDOCS= Changes.html Descriptor.html Options.html Readme.html SpecType.html post-install: @@ -70,4 +68,4 @@ post-install: @(cd ${WRKSRC}/doc; ${INSTALL_MAN} ${PORTDOCS} ${DOCSDIR}) .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> Modified: head/devel/api-sanity-autotest/distinfo ============================================================================== --- head/devel/api-sanity-autotest/distinfo Sun Dec 30 21:33:03 2012 (r309695) +++ head/devel/api-sanity-autotest/distinfo Sun Dec 30 21:38:28 2012 (r309696) @@ -1,2 +1,2 @@ -SHA256 (api-sanity-checker-1.12.10.tar.gz) = ae181053b190f7c04fb1c4635c2c306cf7915f2377b9006d5321fb0f9d5b0d49 -SIZE (api-sanity-checker-1.12.10.tar.gz) = 166409 +SHA256 (api-sanity-checker/1.98.1.tar.gz) = cd87f69615209e3453f5e0ee59379c46fad2cd345a8dca255dbdfea6aa1e7904 +SIZE (api-sanity-checker/1.98.1.tar.gz) = 137084
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212302138.qBULcTCT085951>