mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
* Update to 1.0.0.
* Install included sample program and documentation. * Respect NOPORTDOCS. PR: 42408 Submitted by: Sergei Kolobov <sergei@kolobov.com>
This commit is contained in:
parent
52b4e59232
commit
b0f78227fc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=72125
6 changed files with 38 additions and 37 deletions
|
@ -6,23 +6,28 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= elfio
|
PORTNAME= ELFIO
|
||||||
PORTVERSION= 0.2.7
|
PORTVERSION= 1.0.0
|
||||||
CATEGORIES= devel
|
CATEGORIES= devel
|
||||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
MASTER_SITE_SUBDIR= ${PORTNAME:L}
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/ELFIO/ELFIO
|
GNU_CONFIGURE= yes
|
||||||
MAKEFILE= makefile
|
|
||||||
USE_REINPLACE= yes
|
|
||||||
ALL_TARGET= # empty
|
|
||||||
|
|
||||||
post-patch:
|
DOCS= AUTHORS COPYING ChangeLog README
|
||||||
@${REINPLACE_CMD} -e "s,^CXXFLAGS,#CXXFLAGS,g" ${WRKSRC}/makefile
|
DOCS2= elf11g.zip tutorial.docbook tutorial.pdf
|
||||||
|
|
||||||
do-install:
|
.if !defined(NOPORTDOCS)
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/libELFIO.a ${PREFIX}/lib
|
post-install:
|
||||||
|
@${MKDIR} ${DOCSDIR}
|
||||||
|
.for file in ${DOCS}
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
||||||
|
.endfor
|
||||||
|
.for file in ${DOCS2}
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
|
||||||
|
.endfor
|
||||||
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
MD5 (elfio-0.2.7.tar.gz) = 1ea90e74ef2d54cb83fa9fe9fbaf7455
|
MD5 (ELFIO-1.0.0.tar.gz) = e0711e99574e811d2e1c255e6eedb714
|
||||||
|
|
|
@ -1,23 +0,0 @@
|
||||||
|
|
||||||
$FreeBSD$
|
|
||||||
|
|
||||||
--- ELFIImpl.cpp.orig Wed Dec 18 01:52:15 2002
|
|
||||||
+++ ELFIImpl.cpp Wed Dec 18 01:53:31 2002
|
|
||||||
@@ -100,7 +100,7 @@
|
|
||||||
#ifdef _MSC_VER
|
|
||||||
unsigned int buflen = std::_MIN( sizeof( Elf32_Shdr ), (unsigned int)nEntrySize );
|
|
||||||
#else
|
|
||||||
- unsigned int buflen = std::min( sizeof( Elf32_Shdr ), (unsigned int)nEntrySize );
|
|
||||||
+ unsigned int buflen = std::min( sizeof( Elf32_Shdr ), (size_t)nEntrySize );
|
|
||||||
#endif
|
|
||||||
|
|
||||||
for ( int i = 0; i < nNum; ++i ) {
|
|
||||||
@@ -127,7 +127,7 @@
|
|
||||||
#ifdef _MSC_VER
|
|
||||||
int buflen = std::_MIN( sizeof( Elf32_Phdr ), (unsigned int)nEntrySize );
|
|
||||||
#else
|
|
||||||
- int buflen = std::min( sizeof( Elf32_Phdr ), (unsigned int)nEntrySize );
|
|
||||||
+ int buflen = std::min( sizeof( Elf32_Phdr ), (size_t)nEntrySize );
|
|
||||||
#endif
|
|
||||||
|
|
||||||
for ( int i = 0; i < nNum; ++i ) {
|
|
|
@ -1 +1 @@
|
||||||
ELF (Executable and Linkable Format) reader and producer
|
C++ library for reading and generating files in the ELF binary format
|
||||||
|
|
|
@ -1 +1,6 @@
|
||||||
ELFIO - ELF (Executable and Linkable Format) reader and producer
|
ELFIO is a C++ library for reading and generating files in the ELF binary
|
||||||
|
format. This library is unique and not based on any other product. It is also
|
||||||
|
platform independent. The library uses standard ANSI C++ constructions and
|
||||||
|
runs on a wide variety of architectures.
|
||||||
|
|
||||||
|
WWW: http://sourceforge.net/projects/elfio/
|
||||||
|
|
|
@ -1 +1,15 @@
|
||||||
|
@comment $FreeBSD$
|
||||||
|
bin/ELFDump
|
||||||
|
include/ELFI.h
|
||||||
|
include/ELFIO.h
|
||||||
|
include/ELFO.h
|
||||||
|
include/ELFTypes.h
|
||||||
lib/libELFIO.a
|
lib/libELFIO.a
|
||||||
|
%%PORTDOCS%%share/doc/ELFIO/AUTHORS
|
||||||
|
%%PORTDOCS%%share/doc/ELFIO/COPYING
|
||||||
|
%%PORTDOCS%%share/doc/ELFIO/ChangeLog
|
||||||
|
%%PORTDOCS%%share/doc/ELFIO/README
|
||||||
|
%%PORTDOCS%%share/doc/ELFIO/elf11g.zip
|
||||||
|
%%PORTDOCS%%share/doc/ELFIO/tutorial.docbook
|
||||||
|
%%PORTDOCS%%share/doc/ELFIO/tutorial.pdf
|
||||||
|
%%PORTDOCS%%@dirrm share/doc/ELFIO
|
||||||
|
|
Loading…
Add table
Reference in a new issue