Files
Cy Schubert 1eaad85c16 sysutils/cfengine-masterfiles328: Fix package name suffix
The package name suffix should match the version.

Fixes:		433f99225c
Reported by:	antione
2026-07-13 13:31:17 -07:00

32 lines
773 B
Makefile

PORTNAME= cfengine-masterfiles
DISTVERSION= 3.27.1
CATEGORIES= sysutils
MASTER_SITES= https://cfengine-package-repos.s3.amazonaws.com/tarballs/
MAINTAINER= cy@FreeBSD.org
COMMENT= cfengine sample policies for installations and upgrades
WWW= https://cfengine.com/
LICENSE= GPLv3
CPE_VENDOR= gnu
CPE_PRODUCT= cfengine
CONFLICTS= cfengine-masterfiles3[0-9] cfengine-masterfiles31[0-9]
.if !defined(MASTERDIR)
PKGNAMESUFFIX= 328
CONFLICTS+= cfengine-masterfiles-3.*
.endif
RUN_DEPENDS= cf-agent:sysutils/cfengine${PKGNAMESUFFIX}
FETCH_BEFORE_ARGS= -o ${DISTDIR}/${DISTFILES}
MAKE_JOBS_UNSAFE= yes
USES= cpe gmake python:build
HAS_CONFIGURE= yes
EXAMPLESDIR= ${PREFIX}/share/examples/cfengine-masterfiles
CONFIGURE_ARGS= --prefix=${EXAMPLESDIR}
.include <bsd.port.mk>