Index: head/devel/elfkickers/Makefile =================================================================== --- head/devel/elfkickers/Makefile (revision 354741) +++ head/devel/elfkickers/Makefile (revision 354742) @@ -1,53 +1,41 @@ # Created by: Sofian Brabez # $FreeBSD$ PORTNAME= elfkickers PORTVERSION= 3.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel sysutils MASTER_SITES= http://www.muppetlabs.com/~breadbox/pub/software/ DISTNAME= ELFkickers-${PORTVERSION} MAINTAINER= sbz@FreeBSD.org COMMENT= Collection of programs to manipulate ELF files LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING -USE_GMAKE= yes +USES= gmake -PLIST_FILES= bin/ebfc \ - bin/elfls \ - bin/elftoc \ - bin/infect \ - bin/objres \ - bin/rebind \ - bin/sstrip - +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 Index: head/devel/elfkickers/pkg-descr =================================================================== --- head/devel/elfkickers/pkg-descr (revision 354741) +++ head/devel/elfkickers/pkg-descr (revision 354742) @@ -1,8 +1,8 @@ This distribution is a collection of programs that are generally unrelated, except in that they all deal with the ELF file format. The main purpose of these programs is to be illustrative and 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 Index: head/devel/elfkickers/pkg-plist =================================================================== --- head/devel/elfkickers/pkg-plist (nonexistent) +++ head/devel/elfkickers/pkg-plist (revision 354742) @@ -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 Property changes on: head/devel/elfkickers/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property