From owner-svn-ports-all@FreeBSD.ORG Sun Dec 30 21:38:29 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B2000385; Sun, 30 Dec 2012 21:38:29 +0000 (UTC) (envelope-from bf@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 952FD8FC0C; Sun, 30 Dec 2012 21:38:29 +0000 (UTC) Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBULcTs2085953; Sun, 30 Dec 2012 21:38:29 GMT (envelope-from bf@svn.freebsd.org) Received: (from bf@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBULcTCT085951; Sun, 30 Dec 2012 21:38:29 GMT (envelope-from bf@svn.freebsd.org) Message-Id: <201212302138.qBULcTCT085951@svn.freebsd.org> From: Brendan Fabeny Date: Sun, 30 Dec 2012 21:38:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309696 - head/devel/api-sanity-autotest X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Dec 2012 21:38:29 -0000 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 -# +# Created by: bf # $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 - -.if !empty(CC:M*clang*) || !empty(CXX:M*clang*) -IGNORE = : this port requires CC and CXX to be versions of gcc -.endif +.include 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 +.include 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