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

PR:		ports/152299
Submitted by:	Sofian Brabez <sbrabez at gmail.com>
This commit is contained in:
Philippe Audeoud 2010-11-17 08:40:48 +00:00
parent 59fb0b4bc2
commit 1ff230ebc9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=264671
4 changed files with 63 additions and 0 deletions

View file

@ -349,6 +349,7 @@
SUBDIR += eiffelstudio
SUBDIR += elf
SUBDIR += elfio
SUBDIR += elfkickers
SUBDIR += elfrc
SUBDIR += elfsh
SUBDIR += elftoaout

52
devel/elfkickers/Makefile Normal file
View file

@ -0,0 +1,52 @@
# New ports collection makefile for: elfkickers
# Date created: 2010-11-16
# Whom: Sofian Brabez <sbrabez@gmail.com>
#
# $FreeBSD$
#
PORTNAME= elfkickers
DISTVERSION= 2.0a
CATEGORIES= devel sysutils
MASTER_SITES= http://www.muppetlabs.com/~breadbox/pub/software/
DISTNAME= ELFkickers-${DISTVERSION}
MAINTAINER= sbrabez@gmail.com
COMMENT= Collection of programs to manipulate ELF files
USE_GMAKE= yes
PLIST_FILES= bin/ebfc \
bin/elfls \
bin/elftoc \
bin/rebind \
bin/sstrip
PORTDOCS= COPYING Changelog README
MAN1= ebfc.1 elfls.1
WRKSRC= ${WRKDIR}/ELFkickers
post-patch:
@${GREP} -lR "\/elf.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
's,linux/,,g' -e 's,asm/,,g'
do-build:
.for f in ${PLIST_FILES:S,bin/,,}
@(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
.endfor
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (ELFkickers-2.0a.tar.gz) = c196988f55fc6633d9f9f6d9ddc2ae9b4dfa1f300edf4cbbad865c06a8656df7
SIZE (ELFkickers-2.0a.tar.gz) = 119659

View file

@ -0,0 +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