git: 7db8477ee69b - main - graphics/libetonyek01: Modernaize port

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Mon, 23 Dec 2024 21:08:45 UTC
The branch main has been updated by diizzy:

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

commit 7db8477ee69b02d96a9da3af309eb3ed8ec86e5c
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-12-23 21:04:07 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-12-23 21:08:39 +0000

    graphics/libetonyek01: Modernaize port
    
    * Remove gmake depdendency
    * Add USES= pathfix
    * Use GNOME helper
    * Adjust layout to more closely follow Porters Handbook
    
    PR:             283501
    Approved by:    office (lwhsu)
---
 graphics/libetonyek01/Makefile | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/graphics/libetonyek01/Makefile b/graphics/libetonyek01/Makefile
index 484165925d5c..680979c9bd0e 100644
--- a/graphics/libetonyek01/Makefile
+++ b/graphics/libetonyek01/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	libetonyek
-PORTVERSION=	0.1.12
+DISTVERSION=	0.1.12
 PORTEPOCH=	1
 CATEGORIES=	graphics
 MASTER_SITES=	LODEV/${PORTNAME}
@@ -16,20 +16,23 @@ BUILD_DEPENDS=	${LOCALBASE}/include/mdds-${MDDS_VERSION}/mdds/global.hpp:devel/m
 		${LOCALBASE}/include/boost/any.hpp:devel/boost-libs \
 		${LOCALBASE}/include/glm/glm.hpp:math/glm
 LIB_DEPENDS=	librevenge-0.0.so:textproc/librevenge \
-		liblangtag.so:devel/liblangtag \
-		libxml2.so:textproc/libxml2
+		liblangtag.so:devel/liblangtag
 
-USES=		compiler:c++17-lang gmake libtool localbase pkgconfig tar:xz
+USES=		compiler:c++17-lang gnome libtool localbase pathfix pkgconfig \
+		tar:xz
 USE_CXXSTD=	c++17
+USE_GNOME=	libxml2
+USE_LDCONFIG=	yes
 
-MDDS_VERSION=	2.1
+GNU_CONFIGURE=	yes
 
-CONFIGURE_ARGS=	--disable-tests --disable-werror --without-docs --with-mdds=${MDDS_VERSION}
+MDDS_VERSION=	2.1
 
-GNU_CONFIGURE=	yes
-USE_LDCONFIG=	yes
 INSTALL_TARGET=	install-strip
 
 PLIST_SUB=	LIBVERSION=1.0.${PORTVERSION:E}
 
+CONFIGURE_ARGS=	--disable-tests --disable-werror --without-docs \
+		--with-mdds=${MDDS_VERSION}
+
 .include <bsd.port.mk>