git: 75c8fc7ace9f - main - devel/dotconf: Update to 1.4.1

From: Renato Botelho <garga_at_FreeBSD.org>
Date: Fri, 27 Dec 2024 10:55:31 UTC
The branch main has been updated by garga:

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

commit 75c8fc7ace9f6942a33a31f5d3b54cce7db9cdf0
Author:     Renato Botelho <garga@FreeBSD.org>
AuthorDate: 2024-12-27 10:54:22 +0000
Commit:     Renato Botelho <garga@FreeBSD.org>
CommitDate: 2024-12-27 10:55:20 +0000

    devel/dotconf: Update to 1.4.1
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 devel/dotconf/Makefile | 33 +++++++++++++++++----------------
 devel/dotconf/distinfo |  5 +++--
 2 files changed, 20 insertions(+), 18 deletions(-)

diff --git a/devel/dotconf/Makefile b/devel/dotconf/Makefile
index b7b3841f4a14..7946d59cd70b 100644
--- a/devel/dotconf/Makefile
+++ b/devel/dotconf/Makefile
@@ -1,8 +1,8 @@
 PORTNAME=	dotconf
-PORTVERSION=	1.3
+PORTVERSION=	1.4.1
+DISTVERSIONPREFIX=	v
 PORTREVISION=	1
 CATEGORIES=	devel
-MASTER_SITES=	GENTOO
 
 MAINTAINER=	garga@FreeBSD.org
 COMMENT=	Simple, powerful configuration-file parser
@@ -11,26 +11,27 @@ WWW=		https://github.com/williamh/dotconf
 LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		pathfix pkgconfig libtool
+USES=		autoreconf libtool pkgconfig
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	williamh
+
+USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
-USE_LDCONFIG=	yes
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
-post-patch:
-	@${REINPLACE_CMD} -e \
-		'/^SUBDIR/s|=.*|= src|' ${WRKSRC}/Makefile.in
+post-patch-DOCS-off:
+	@${REINPLACE_CMD} -e "/^SUBDIRS *=/ s,doc,," \
+		${WRKSRC}/Makefile.am
 
-post-install-DOCS-on:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${STAGEDIR}${DOCSDIR}
+post-patch-EXAMPLES-on:
+	@${REINPLACE_CMD} -e "/^examplesdir *=/ s, *= *.*, = ${EXAMPLESDIR}," \
+		${WRKSRC}/examples/Makefile.am
 
-post-install-EXAMPLES-on:
-	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-.for ex in README argdouble caseinsensitive context duplicates errorhandler \
-	fallback libpool maketest.sh modules noinline simple
-	@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} ${ex} ${STAGEDIR}${EXAMPLESDIR})
-.endfor
+post-patch-EXAMPLES-off:
+	@${REINPLACE_CMD} -e "/^SUBDIRS *=/ s,examples,," \
+		${WRKSRC}/Makefile.am
 
 .include <bsd.port.mk>
diff --git a/devel/dotconf/distinfo b/devel/dotconf/distinfo
index 5901964f9489..ef45a6113b08 100644
--- a/devel/dotconf/distinfo
+++ b/devel/dotconf/distinfo
@@ -1,2 +1,3 @@
-SHA256 (dotconf-1.3.tar.gz) = b0bccd7251df50b68b82888c5f9fa7932bd68ee3b9e880bce9456e692bf13e8e
-SIZE (dotconf-1.3.tar.gz) = 333301
+TIMESTAMP = 1735295652
+SHA256 (williamh-dotconf-v1.4.1_GH0.tar.gz) = 5922c46cacf99b2ecc4853d28a2bda4a489292e73276e604bd9cba29dfca892d
+SIZE (williamh-dotconf-v1.4.1_GH0.tar.gz) = 46565