Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Apr 2023 06:27:56 GMT
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 92fb8ba04418 - main - net-mgmt/fence-agents: Follow Porters Handbook more closely and use helpers
Message-ID:  <202304050627.3356RuVu079411@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by diizzy:

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

commit 92fb8ba04418ad80432302eb9caa241efe891ccc
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-04-05 06:26:10 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-04-05 06:26:14 +0000

    net-mgmt/fence-agents: Follow Porters Handbook more closely and use helpers
    
    Use DISTVERSION instead of PORTVERSION as instructed in Porters Handbook
    and use framework helper to define libxslt build dependency
    
    PR:             270627
    Reviewed by:    bapt (maintainer)
---
 net-mgmt/fence-agents/Makefile | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/net-mgmt/fence-agents/Makefile b/net-mgmt/fence-agents/Makefile
index 88fddeaf69a4..474dbab381bf 100644
--- a/net-mgmt/fence-agents/Makefile
+++ b/net-mgmt/fence-agents/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	fence-agents
-PORTVERSION=	4.12.1
-DISTVERSIONPREFIX=v
+DISTVERSIONPREFIX=	v
+DISTVERSION=	4.12.1
 CATEGORIES=	net-mgmt
 
 MAINTAINER=	bapt@FreeBSD.org
@@ -26,10 +26,11 @@ OPTIONS_DEFINE=	DOCS MANPAGES
 OPTIONS_DEFAULT=MANPAGES
 OPTIONS_SUB=	yes
 
-MANPAGES_BUILD_DEPENDS=	docbook-xsl>0:textproc/docbook-xsl \
-			xsltproc:textproc/libxslt
+MANPAGES_BUILD_DEPENDS=	docbook-xsl>0:textproc/docbook-xsl
+MANPAGES_USES=	gnome
+MANPAGES_USE=	GNOME=libxslt:build
 
 post-patch:
-	echo "echo -n ${PORTVERSION}" > ${WRKSRC}/make/git-version-gen
+	echo "echo -n ${DISTVERSION}" > ${WRKSRC}/make/git-version-gen
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304050627.3356RuVu079411>