Skip site navigation (1)Skip section navigation (2)
Date:      4 Sep 2002 12:38:28 -0000
From:      Sergei Kolobov <sergei@kolobov.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/42408: [PATCH] Update devel/elfio to 1.0.0
Message-ID:  <20020904123828.31785.qmail@outpost.globcon.net>

next in thread | raw e-mail | index | archive | help

>Number:         42408
>Category:       ports
>Synopsis:       [PATCH] Update devel/elfio to 1.0.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 04 05:40:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Sergei Kolobov
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD outpost.globcon.net 4.6-STABLE FreeBSD 4.6-STABLE #0: Thu Aug 1 02:44:26 MSD 2002 sgk@outpost.globcon.net:/data/FreeBSD/obj/data/FreeBSD/src/sys/OUTPOST i386
>Description:
- Update to 1.0.0
- Change PORTNAME to ELFIO
- Use GNU_CONFIGURE
- Install included sample program and documentation
- Respect NOPORTDOCS

>How-To-Repeat:
>Fix:

--- elfio-1.0.0.patch begins here ---
diff -urN /usr/ports/devel/elfio/Makefile /home/sgk/ports/devel/elfio/Makefile
--- /usr/ports/devel/elfio/Makefile	Wed Jun 26 04:09:00 2002
+++ /home/sgk/ports/devel/elfio/Makefile	Wed Sep  4 16:26:49 2002
@@ -6,23 +6,28 @@
 # $FreeBSD: ports/devel/elfio/Makefile,v 1.2 2002/06/25 18:36:36 ijliao Exp $
 #
 
-PORTNAME=	elfio
-PORTVERSION=	0.2.7
+PORTNAME=	ELFIO
+PORTVERSION=	1.0.0
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	ports@FreeBSD.org
 
-WRKSRC=		${WRKDIR}/ELFIO/ELFIO
-MAKEFILE=	makefile
-USE_REINPLACE=	yes
-ALL_TARGET=	# empty
+GNU_CONFIGURE=	yes
 
-post-patch:
-	@${REINPLACE_CMD} -e "s,^CXXFLAGS,#CXXFLAGS,g" ${WRKSRC}/makefile
+DOCS=		AUTHORS COPYING ChangeLog README
+DOCS2=		elf11g.zip tutorial.docbook tutorial.pdf
 
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/libELFIO.a ${PREFIX}/lib
+.if !defined(NOPORTDOCS)
+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>
diff -urN /usr/ports/devel/elfio/distinfo /home/sgk/ports/devel/elfio/distinfo
--- /usr/ports/devel/elfio/distinfo	Thu Jul 26 15:59:37 2001
+++ /home/sgk/ports/devel/elfio/distinfo	Wed Sep  4 15:46:25 2002
@@ -1 +1 @@
-MD5 (elfio-0.2.7.tar.gz) = 1ea90e74ef2d54cb83fa9fe9fbaf7455
+MD5 (ELFIO-1.0.0.tar.gz) = e0711e99574e811d2e1c255e6eedb714
diff -urN /usr/ports/devel/elfio/pkg-comment /home/sgk/ports/devel/elfio/pkg-comment
--- /usr/ports/devel/elfio/pkg-comment	Thu Jul 26 15:59:37 2001
+++ /home/sgk/ports/devel/elfio/pkg-comment	Wed Sep  4 16:31:25 2002
@@ -1 +1 @@
-ELF (Executable and Linkable Format) reader and producer
+C++ library for reading and generating files in the ELF binary format
diff -urN /usr/ports/devel/elfio/pkg-descr /home/sgk/ports/devel/elfio/pkg-descr
--- /usr/ports/devel/elfio/pkg-descr	Thu Jul 26 15:59:37 2001
+++ /home/sgk/ports/devel/elfio/pkg-descr	Wed Sep  4 16:33:00 2002
@@ -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/
diff -urN /usr/ports/devel/elfio/pkg-plist /home/sgk/ports/devel/elfio/pkg-plist
--- /usr/ports/devel/elfio/pkg-plist	Thu Jul 26 15:59:37 2001
+++ /home/sgk/ports/devel/elfio/pkg-plist	Wed Sep  4 16:25:58 2002
@@ -1 +1,14 @@
+bin/ELFDump
+include/ELFI.h
+include/ELFIO.h
+include/ELFO.h
+include/ELFTypes.h
 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
--- elfio-1.0.0.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020904123828.31785.qmail>