aboutsummaryrefslogtreecommitdiffstats
path: root/comms/kermit
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2017-04-11 23:21:23 +0800
committermat <mat@FreeBSD.org>2017-04-11 23:21:23 +0800
commitaf9c60625bda3e97370cc91b90ea306f292c209d (patch)
tree5a5d971bd61fde66fbaa1b8da9469708d182ffc8 /comms/kermit
parente0cd3420489573ca501c588fae760fa3739e168c (diff)
downloadfreebsd-ports-gnome-af9c60625bda3e97370cc91b90ea306f292c209d.tar.gz
freebsd-ports-gnome-af9c60625bda3e97370cc91b90ea306f292c209d.tar.zst
freebsd-ports-gnome-af9c60625bda3e97370cc91b90ea306f292c209d.zip
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 'comms/kermit')
-rw-r--r--comms/kermit/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/comms/kermit/Makefile b/comms/kermit/Makefile
index e30a797eb708..f1a30636de2f 100644
--- a/comms/kermit/Makefile
+++ b/comms/kermit/Makefile
@@ -3,12 +3,9 @@
PORTNAME= kermit
PORTVERSION= 9.0.304
-DISTVERSIONPREFIX= cku
-DISTVERSION= 304
-DISTVERSIONSUFFIX= dev20
CATEGORIES= comms ftp net
MASTER_SITES= ftp://ftp.kermitproject.org/kermit/test/tar/
-DISTNAME= ${DISTVERSIONPREFIX}${DISTVERSION}-${DISTVERSIONSUFFIX}
+DISTNAME= cku${PORTVERSION:E}-dev20
MAINTAINER= danfe@FreeBSD.org
COMMENT= Portable scriptable network and serial communication program