aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/cfengine36/Makefile
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2015-12-18 10:38:56 +0800
committercy <cy@FreeBSD.org>2015-12-18 10:38:56 +0800
commitcfc87b95ad835c0cb5268b5f3d53419ea893eb64 (patch)
tree9994791af48a568dfe4f4416db603897ecde1fc7 /sysutils/cfengine36/Makefile
parentad393f4cbeadc09c2a558f4848ae6e55e09faacb (diff)
downloadfreebsd-ports-gnome-cfc87b95ad835c0cb5268b5f3d53419ea893eb64.tar.gz
freebsd-ports-gnome-cfc87b95ad835c0cb5268b5f3d53419ea893eb64.tar.zst
freebsd-ports-gnome-cfc87b95ad835c0cb5268b5f3d53419ea893eb64.zip
Conditionally set portepoch when not being built by the master port.
Diffstat (limited to 'sysutils/cfengine36/Makefile')
-rw-r--r--sysutils/cfengine36/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/sysutils/cfengine36/Makefile b/sysutils/cfengine36/Makefile
index 5108afdc8411..d1c98e81470a 100644
--- a/sysutils/cfengine36/Makefile
+++ b/sysutils/cfengine36/Makefile
@@ -3,7 +3,10 @@
PORTNAME= cfengine
PORTVERSION= 3.6.6
-PORTEPOCH= 2
+.if !defined(MASTERDIR)
+PKGNAMESUFFIX= 36
+PORTEPOCH?= 2
+.endif
CATEGORIES= sysutils
MASTER_SITES= https://cfengine-package-repos.s3.amazonaws.com/tarballs/
DISTFILES= ${PORTNAME}-${PORTVERSION}-2.tar.gz
@@ -17,10 +20,6 @@ LICENSE= GPLv3
CPE_VENDOR= gnu
-.if !defined(MASTERDIR)
-PKGNAMESUFFIX= 36
-.endif
-
FETCH_BEFORE_ARGS= -o ${DISTDIR}/${DISTFILES}
CONFLICTS= cfengine-[234]*