From 9437eb8fc46b51dfd50149c7a8ff9ffd1838fd97 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Fri, 17 Jun 2016 13:17:48 +0000 Subject: [PATCH] Use DISTVERSION instead of crafting the version to get the distname Prefer USES to set the extract suffix --- benchmarks/iozone/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/benchmarks/iozone/Makefile b/benchmarks/iozone/Makefile index 8e25a3d8de73..9aaecece418c 100644 --- a/benchmarks/iozone/Makefile +++ b/benchmarks/iozone/Makefile @@ -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