summaryrefslogtreecommitdiffstats
path: root/sysutils/syslog-ng37/Makefile
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2017-04-11 15:21:23 +0000
committermat <mat@FreeBSD.org>2017-04-11 15:21:23 +0000
commitaf9c60625bda3e97370cc91b90ea306f292c209d (patch)
tree5a5d971bd61fde66fbaa1b8da9469708d182ffc8 /sysutils/syslog-ng37/Makefile
parente0cd3420489573ca501c588fae760fa3739e168c (diff)
downloadFreeBSD-ports-af9c60625bda3e97370cc91b90ea306f292c209d.zip
FreeBSD-ports-af9c60625bda3e97370cc91b90ea306f292c209d.tar.gz
Make defining both PORTVERSION and DISTVERSION a DEV_ERROR.
There are two cases: - The upstream versionning is compatible with our versionning, or using DISTVERSION's magic leads to a compatible PORTVERSION, use DISTVERSION. If it is possible to use DISTVERSIONPREFIX and DISTVERSIONSUFFIX to make it compatible, use them. - The upstream versionning is not compatible with our versionning, and DISTVERSION's magic does not lead to a correct PORTVERSION, then set PORTVERSION to the equivalent of our versionning, and set DISTNAME. It is possible to use a third variable where you store upstream's version and use it to compute PORTVERSION and/or DISTNAME, like the dns/bind9* ports do. Sponsored by: Absolight
Diffstat (limited to 'sysutils/syslog-ng37/Makefile')
-rw-r--r--sysutils/syslog-ng37/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysutils/syslog-ng37/Makefile b/sysutils/syslog-ng37/Makefile
index b343b82..02490bc 100644
--- a/sysutils/syslog-ng37/Makefile
+++ b/sysutils/syslog-ng37/Makefile
@@ -8,10 +8,8 @@ PORTREVISION= 7
PKGNAMESUFFIX= 37
.endif
CATEGORIES= sysutils
-DISTVERSION= ${PORTVERSION:S/a/alpha/:S/b/beta/:S/r/rc/}
-#DISTFILES= syslog-ng-${DISTVERSION}.tar.gz
#MASTER_SITES= https://github.com/balabit/syslog-ng/releases/download/syslog-ng-${DISTVERSION}/
-DISTFILES= syslog-ng-${DISTVERSION}_with_man.tar.gz
+DISTNAME= syslog-ng-${DISTVERSION}_with_man
MASTER_SITES= http://peter.czanik.hu/freebsd/
MAINTAINER= cy@FreeBSD.org
OpenPOWER on IntegriCloud