use DISTVERSION correctly

The DISTVERSION should be set to the version componet directly
instead of substituting dots for dashes when deriving DISTNAME.

Reported by:	mat
Differential Revision:	https://reviews.freebsd.org/D10002
This commit is contained in:
Nikolai Lifanov 2017-03-17 14:06:34 +00:00
parent bd47bc735f
commit 32aa1dace7

View file

@ -2,10 +2,10 @@
# $FreeBSD$
PORTNAME= phpLiteAdmin
DISTVERSION= 1.9.7.1
DISTVERSION= 1-9-7-1
CATEGORIES= databases www
MASTER_SITES= https://bitbucket.org/phpliteadmin/public/downloads/
DISTNAME= ${PORTNAME}_v${DISTVERSION:S/./-/g}
DISTNAME= ${PORTNAME}_v${DISTVERSION}
MAINTAINER= olevole@olevole.ru
COMMENT= Web-based database management tool for Sqlite