Skip to content

Commit

Permalink
net-mgmt/fence-agents: Follow Porters Handbook more closely and use h…
Browse files Browse the repository at this point in the history
…elpers

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)
  • Loading branch information
Daniel Engberg authored and Daniel Engberg committed Apr 5, 2023
1 parent 72ad532 commit 92fb8ba
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions 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
Expand All @@ -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>

0 comments on commit 92fb8ba

Please sign in to comment.