summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2017-04-11 15:21:23 +0000
committerMathieu Arnold <mat@FreeBSD.org>2017-04-11 15:21:23 +0000
commit6d588589c24082c8afc98e114cb7a21a81f76082 (patch)
tree5a5d971bd61fde66fbaa1b8da9469708d182ffc8 /games
parent1c83edd6a5fc3a7b5f4cdb8547d320394f584039 (diff)
downloadfreebsd-ports-6d588589c24082c8afc98e114cb7a21a81f76082.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 'games')
-rw-r--r--games/polyglot/Makefile1
-rw-r--r--games/ultimatestunts/Makefile5
2 files changed, 2 insertions, 4 deletions
diff --git a/games/polyglot/Makefile b/games/polyglot/Makefile
index 7e2ed7b5be61..b54750fe2b64 100644
--- a/games/polyglot/Makefile
+++ b/games/polyglot/Makefile
@@ -3,7 +3,6 @@
PORTNAME= polyglot
DISTVERSION= 1.4.70b
-#PORTVERSION=
#PORTREVISION= 0
CATEGORIES= games
MASTER_SITES= http://hardy.uhasselt.be/Toga/polyglot-release/ \
diff --git a/games/ultimatestunts/Makefile b/games/ultimatestunts/Makefile
index 27e998176005..3bdb0e1bbfb1 100644
--- a/games/ultimatestunts/Makefile
+++ b/games/ultimatestunts/Makefile
@@ -3,13 +3,12 @@
PORTNAME= ultimatestunts
PORTVERSION= 0.7.7.1
-DISTVERSIONPREFIX= srcdata-
-DISTVERSION= ${PORTVERSION:S/.//g}
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/sourcecode \
SF/nemysisfreebsdp/${CATEGORIES}/:icons
-DISTFILES= ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}${EXTRACT_SUFX} \
+DISTNAME= ${PORTNAME}-srcdata-${PORTVERSION:S/.//g}
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${PORTNAME}_icons${EXTRACT_SUFX}:icons
MAINTAINER= nemysis@FreeBSD.org