diff --git a/devel/elfio/Makefile b/devel/elfio/Makefile index 59962a3485d5..3a53e9f845c9 100644 --- a/devel/elfio/Makefile +++ b/devel/elfio/Makefile @@ -1,31 +1,47 @@ PORTNAME= elfio -PORTVERSION= 3.11 +DISTVERSIONPREFIX= Release_ +DISTVERSION= 3.12-102 +DISTVERSIONSUFFIX= -g7d30a22 # use latest commit hash because the last release was 2 years ago CATEGORIES= devel -MASTER_SITES= SF/elfio/ELFIO-sources/ELFIO-${PORTVERSION} MAINTAINER= james.wright@digital-chaos.com COMMENT= Small C++ library for reading and generating ELF files -WWW= https://elfio.sourceforge.net/ +WWW= https://elfio.sourceforge.net/ \ + https://github.com/serge1/ELFIO LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt -USES= cmake ninja compiler:c++11-lang +USES= cmake compiler:c++11-lang + +USE_GITHUB= yes +GH_ACCOUNT= serge1 +GH_PROJECT= ELFIO + +CMAKE_OFF= ELFIO_BUILD_EXAMPLES + +PORTDOCS= * +PORTEXAMPLES= * + +NO_BUILD= yes +NO_ARCH= yes OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_SUB= yes -EXAMPLES_CMAKE_BOOL= ELFIO_BUILD_EXAMPLES +#EXAMPLES_CMAKE_BOOL= ELFIO_BUILD_EXAMPLES # do not build examples to keep this port NOARCH (absolute majority of users will not need them) post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/doc/elfio.pdf ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - (cd ${WRKSRC}/examples && \ - ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} "! -name *.txt") - (cd ${BUILD_WRKSRC}/examples && \ - ${COPYTREE_BIN} . ${STAGEDIR}${EXAMPLESDIR} "-type f -perm -a=x") + # install example sources + cd ${WRKSRC}/examples && \ + ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} "! -name *.txt" + # do not install example binaries, just the sources + #(cd ${BUILD_WRKSRC}/examples && \ + ${COPYTREE_BIN} . ${STAGEDIR}${EXAMPLESDIR} "-type f -perm -a=x") .include diff --git a/devel/elfio/distinfo b/devel/elfio/distinfo index fc7a363f6190..69f1eae96941 100644 --- a/devel/elfio/distinfo +++ b/devel/elfio/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1669588370 -SHA256 (elfio-3.11.tar.gz) = 3307b104c205399786edbba203906de9517e36297709fe747faf9478d55fbb91 -SIZE (elfio-3.11.tar.gz) = 429788 +TIMESTAMP = 1765562969 +SHA256 (serge1-ELFIO-Release_3.12-102-g7d30a22_GH0.tar.gz) = 1fae6b7884086b80bcc4987fe9b811d5ae60ca2cfe169ce952b87188c7072bb7 +SIZE (serge1-ELFIO-Release_3.12-102-g7d30a22_GH0.tar.gz) = 6588329 diff --git a/devel/elfio/pkg-plist b/devel/elfio/pkg-plist index 3b41da38c92e..2ef454f19c4e 100644 --- a/devel/elfio/pkg-plist +++ b/devel/elfio/pkg-plist @@ -1,39 +1,19 @@ include/elfio/elf_types.hpp include/elfio/elfio.hpp include/elfio/elfio_array.hpp include/elfio/elfio_dump.hpp include/elfio/elfio_dynamic.hpp include/elfio/elfio_header.hpp include/elfio/elfio_modinfo.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 include/elfio/elfio_version.hpp include/elfio/elfio_versym.hpp -%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt -%%PORTDOCS%%%%DOCSDIR%%/README.md -%%PORTDOCS%%%%DOCSDIR%%/elfio.pdf %%DATADIR%%/cmake/elfioConfig.cmake %%DATADIR%%/cmake/elfioConfigVersion.cmake %%DATADIR%%/cmake/elfioTargets.cmake -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/add_section/add_section -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/add_section/add_section.cpp -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/anonymizer/anonymizer -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/anonymizer/anonymizer.cpp -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c_wrapper/c_example.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c_wrapper/elfio_c_wrapper.cpp -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c_wrapper/elfio_c_wrapper.h -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/elfdump/elfdump -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/elfdump/elfdump.cpp -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/proc_mem/proc_mem -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/proc_mem/proc_mem.cpp -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorial/tutorial -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorial/tutorial.cpp -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/write_obj/write_obj -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/write_obj/write_obj.cpp -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/writer/writer -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/writer/writer.cpp