Use DISTVERSION instead of crafting the version to get the distname

Prefer USES to set the extract suffix
This commit is contained in:
Baptiste Daroussin 2016-06-17 13:17:48 +00:00
parent 5409c207d1
commit 9437eb8fc4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=417011

View file

@ -2,17 +2,17 @@
# $FreeBSD$
PORTNAME= iozone
PORTVERSION= 3.434
DISTVERSION= 3_434
CATEGORIES= benchmarks
MASTER_SITES= http://www.iozone.org/src/current/
DISTNAME= ${PORTNAME}${PORTVERSION:S/./_/}
EXTRACT_SUFX= .tar
DISTNAME= ${PORTNAME}${DISTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Performance Test of Sequential File I/O
WRKSRC= ${WRKDIR}/${DISTNAME}/src/current
USES= tar
MAKEFILE= makefile
MAKE_ARGS= ${MAKE_ENV}
ALL_TARGET= freebsd