diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2017-04-11 15:21:23 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2017-04-11 15:21:23 +0000 |
commit | 6d588589c24082c8afc98e114cb7a21a81f76082 (patch) | |
tree | 5a5d971bd61fde66fbaa1b8da9469708d182ffc8 /graphics/hugin/Makefile | |
parent | 1c83edd6a5fc3a7b5f4cdb8547d320394f584039 (diff) | |
download | ports-6d588589c24082c8afc98e114cb7a21a81f76082.tar.gz 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
Notes
Notes:
svn path=/head/; revision=438272
Diffstat (limited to 'graphics/hugin/Makefile')
-rw-r--r-- | graphics/hugin/Makefile | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/graphics/hugin/Makefile b/graphics/hugin/Makefile index a614b12e1488..e3873bcc4e3a 100644 --- a/graphics/hugin/Makefile +++ b/graphics/hugin/Makefile @@ -3,8 +3,6 @@ PORTNAME= hugin PORTVERSION= 2016.2.0 -DISTVERSION= 2016.2.0 -WRKSRC= ${WRKDIR}/hugin-2016.2.0 PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION:R} |