Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jan 2026 10:23:20 +0000
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: df45b2a43427 - main - devel/elfio: update =?utf-8?Q?3.11 =E2=86=92?= 3.12.102
Message-ID:  <697dd818.3f188.5e43a3e8@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=df45b2a43427f1eea10e59a62a719c9c07df2e90

commit df45b2a43427f1eea10e59a62a719c9c07df2e90
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-01-31 10:21:50 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-01-31 10:22:10 +0000

    devel/elfio: update 3.11 → 3.12.102
    
    PR:             291681
    Approved by:    james.wright@digital-chaos.com (maintainer's timeout; 45 days)
---
 devel/elfio/Makefile  | 34 +++++++++++++++++++++++++---------
 devel/elfio/distinfo  |  6 +++---
 devel/elfio/pkg-plist | 20 --------------------
 3 files changed, 28 insertions(+), 32 deletions(-)

diff --git a/devel/elfio/Makefile b/devel/elfio/Makefile
index 59962a3485d5..3a53e9f845c9 100644
--- a/devel/elfio/Makefile
+++ b/devel/elfio/Makefile
@@ -1,21 +1,35 @@
 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}
@@ -23,9 +37,11 @@ post-install-DOCS-on:
 
 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 <bsd.port.mk>
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
@@ -14,26 +14,6 @@ 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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?697dd818.3f188.5e43a3e8>