Index: devel/elfio3/Makefile =================================================================== --- devel/elfio3/Makefile +++ devel/elfio3/Makefile @@ -0,0 +1,30 @@ +# $FreeBSD$ + +PORTNAME= elfio3 +PORTVERSION= 3.3 +CATEGORIES= devel +MASTER_SITES= SF/elfio/ELFIO-sources/ELFIO-${PORTVERSION} +DISTNAME= elfio-${PORTVERSION} + +MAINTAINER= ports@FreeBSD.org +COMMENT= ELFIO is a small C++ library for reading and generating ELF files + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING + +GNU_CONFIGURE= yes + +OPTIONS_DEFINE= DOCS EXAMPLES +OPTIONS_SUB= yes + +CONFLICTS= elfio + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/doc/elfio.pdf ${STAGEDIR}${DOCSDIR} + +post-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/* ${STAGEDIR}${EXAMPLESDIR} + +.include Index: devel/elfio3/distinfo =================================================================== --- devel/elfio3/distinfo +++ devel/elfio3/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1554830757 +SHA256 (elfio-3.3.tar.gz) = d931d72c9c8bda130b3716fcf6671aded2127d8f3903cf34669311296c89b5c2 +SIZE (elfio-3.3.tar.gz) = 881052 Index: devel/elfio3/pkg-descr =================================================================== --- devel/elfio3/pkg-descr +++ devel/elfio3/pkg-descr @@ -0,0 +1,8 @@ +ELFIO is a small, header-only C++ library that provides a simple interface +for reading and generating files in ELF binary format. + +It is used as a standalone library - it is not dependant on any other +product or project. Adhering to ISO C++, it compiles on a wide variety of +architectures and compilers. + +WWW: http://elfio.sourceforge.net/ Index: devel/elfio3/pkg-plist =================================================================== --- devel/elfio3/pkg-plist +++ devel/elfio3/pkg-plist @@ -0,0 +1,18 @@ +include/elfio/elf_types.hpp +include/elfio/elfio.hpp +include/elfio/elfio_dump.hpp +include/elfio/elfio_dynamic.hpp +include/elfio/elfio_header.hpp +include/elfio/elfio_note.hpp +include/elfio/elfio_relocation.hpp +include/elfio/elfio_section.hpp +include/elfio/elfio_segment.hpp +include/elfio/elfio_strings.hpp +include/elfio/elfio_symbols.hpp +include/elfio/elfio_utils.hpp +%%PORTDOCS%%%%DOCSDIR%%/elfio.pdf +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/anonymizer +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/elfdump +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorial +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/write_obj +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/writer