From 6d588589c24082c8afc98e114cb7a21a81f76082 Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Tue, 11 Apr 2017 15:21:23 +0000 Subject: 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 --- www/WebMagick/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www/WebMagick/Makefile') diff --git a/www/WebMagick/Makefile b/www/WebMagick/Makefile index 2c3a792fcd2d..4be373bf2971 100644 --- a/www/WebMagick/Makefile +++ b/www/WebMagick/Makefile @@ -3,10 +3,10 @@ PORTNAME= WebMagick PORTVERSION= 2.03p29 -DISTVERSION= 2.03pre29 PORTEPOCH= 1 CATEGORIES= www graphics MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME:tl}-beta/${DISTVERSION} +DISTNAME= ${PORTNAME}-2.03pre29 MAINTAINER= ports@FreeBSD.org COMMENT= Image Web Generator - recursively build HTMLs, imagemaps, thumbnails -- cgit v1.2.3