From owner-svn-ports-all@FreeBSD.ORG Wed May 21 12:18:19 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D6AA0B6; Wed, 21 May 2014 12:18:19 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C26BE21BD; Wed, 21 May 2014 12:18:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4LCIJKD083720; Wed, 21 May 2014 12:18:19 GMT (envelope-from antoine@svn.freebsd.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4LCIJcA083717; Wed, 21 May 2014 12:18:19 GMT (envelope-from antoine@svn.freebsd.org) Message-Id: <201405211218.s4LCIJcA083717@svn.freebsd.org> From: Antoine Brodin Date: Wed, 21 May 2014 12:18:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r354748 - branches/2014Q2/devel/elfkickers X-SVN-Group: ports-branches 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.18 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: Wed, 21 May 2014 12:18:20 -0000 Author: antoine Date: Wed May 21 12:18:18 2014 New Revision: 354748 URL: http://svnweb.freebsd.org/changeset/ports/354748 QAT: https://qat.redports.org/buildarchive/r354748/ Log: MFH: r354742 - Support STAGEDIR - Fix build with clang [1] Reported by: pkg-fallout [1] Approved by: portmgr (self) Added: branches/2014Q2/devel/elfkickers/pkg-plist - copied unchanged from r354742, head/devel/elfkickers/pkg-plist Modified: branches/2014Q2/devel/elfkickers/Makefile branches/2014Q2/devel/elfkickers/pkg-descr Directory Properties: branches/2014Q2/ (props changed) Modified: branches/2014Q2/devel/elfkickers/Makefile ============================================================================== --- branches/2014Q2/devel/elfkickers/Makefile Wed May 21 12:14:51 2014 (r354747) +++ branches/2014Q2/devel/elfkickers/Makefile Wed May 21 12:18:18 2014 (r354748) @@ -3,7 +3,7 @@ PORTNAME= elfkickers PORTVERSION= 3.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel sysutils MASTER_SITES= http://www.muppetlabs.com/~breadbox/pub/software/ DISTNAME= ELFkickers-${PORTVERSION} @@ -12,42 +12,30 @@ MAINTAINER= sbz@FreeBSD.org COMMENT= Collection of programs to manipulate ELF files LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING -USE_GMAKE= yes - -PLIST_FILES= bin/ebfc \ - bin/elfls \ - bin/elftoc \ - bin/infect \ - bin/objres \ - bin/rebind \ - bin/sstrip +USES= gmake +ELFBINS= ebfc elfls elftoc infect objres rebind sstrip PORTDOCS= COPYING Changelog README -MAN1= ebfc.1 elfls.1 elftoc.1 infect.1 objres.1 rebind.1 sstrip.1 - -NO_STAGE= yes post-patch: @${GREP} -lR "\/elf.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ 's,linux/,,g' -e 's,asm/,,g' + @${GREP} -lR "gcc" ${WRKSRC}/*/Makefile | ${XARGS} \ + ${REINPLACE_CMD} -e 's,gcc,${CC},g' do-build: -.for f in ${PLIST_FILES:S,bin/,,} +.for f in ${ELFBINS} @(cd ${WRKSRC}/$f; ${GMAKE}) .endfor do-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} -.endif -.for f in ${PLIST_FILES:S,bin/,,} - ${INSTALL_SCRIPT} ${WRKSRC}/${f}/${f} ${PREFIX}/bin -.endfor -.for f in ${MAN1} - ${INSTALL_MAN} ${WRKSRC}/${f:S,.1,,}/${f} ${PREFIX}/man/man1 + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} + +.for f in ${ELFBINS} + ${INSTALL_SCRIPT} ${WRKSRC}/${f}/${f} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${f}/${f:S,$,.1,} ${STAGEDIR}${PREFIX}/man/man1 .endfor .include Modified: branches/2014Q2/devel/elfkickers/pkg-descr ============================================================================== --- branches/2014Q2/devel/elfkickers/pkg-descr Wed May 21 12:14:51 2014 (r354747) +++ branches/2014Q2/devel/elfkickers/pkg-descr Wed May 21 12:18:18 2014 (r354748) @@ -5,4 +5,4 @@ The main purpose of these programs is to educational -- to help fellow programmers understand the ELF file format and something of how it works under the Linux platform. -WWW: http://www.muppetlabs.com/~breadbox/software/elfkickers.html +WWW: http://www.muppetlabs.com/~breadbox/software/elfkickers.html Copied: branches/2014Q2/devel/elfkickers/pkg-plist (from r354742, head/devel/elfkickers/pkg-plist) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2014Q2/devel/elfkickers/pkg-plist Wed May 21 12:18:18 2014 (r354748, copy of r354742, head/devel/elfkickers/pkg-plist) @@ -0,0 +1,14 @@ +bin/ebfc +bin/elfls +bin/elftoc +bin/infect +bin/objres +bin/rebind +bin/sstrip +man/man1/ebfc.1.gz +man/man1/elfls.1.gz +man/man1/elftoc.1.gz +man/man1/infect.1.gz +man/man1/objres.1.gz +man/man1/rebind.1.gz +man/man1/sstrip.1.gz