1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/net-mgmt/fence-agents/Makefile
Daniel Engberg 92fb8ba044 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)
2023-04-05 08:26:14 +02:00

37 lines
1.0 KiB
Makefile

PORTNAME= fence-agents
DISTVERSIONPREFIX= v
DISTVERSION= 4.12.1
CATEGORIES= net-mgmt
MAINTAINER= bapt@FreeBSD.org
COMMENT= OCF Compliant Fence Agents
WWW= https://github.com/ClusterLabs/fence-agents
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pexpect>0:misc/py-pexpect@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pycurl>0:ftp/py-pycurl@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pexpect>0:misc/py-pexpect@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pycurl>0:ftp/py-pycurl@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}
USES= autoreconf gmake libtool pkgconfig python
USE_GITHUB= yes
GH_ACCOUNT= ClusterLabs
GNU_CONFIGURE= yes
CONFLICTS= heartbeat
OPTIONS_DEFINE= DOCS MANPAGES
OPTIONS_DEFAULT=MANPAGES
OPTIONS_SUB= yes
MANPAGES_BUILD_DEPENDS= docbook-xsl>0:textproc/docbook-xsl
MANPAGES_USES= gnome
MANPAGES_USE= GNOME=libxslt:build
post-patch:
echo "echo -n ${DISTVERSION}" > ${WRKSRC}/make/git-version-gen
.include <bsd.port.mk>