Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Nov 2015 17:23:57 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r401956 - head/benchmarks/iorate
Message-ID:  <201511191723.tAJHNvpO023885@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Thu Nov 19 17:23:57 2015
New Revision: 401956
URL: https://svnweb.freebsd.org/changeset/ports/401956

Log:
  - Switch to DISTVERSION to avoid hard-coded value in MASTER_SITES
  - Similarly, avoid hardcoding the port name in DISTNAME
  - Wrap one overly long line when installing programs

Modified:
  head/benchmarks/iorate/Makefile

Modified: head/benchmarks/iorate/Makefile
==============================================================================
--- head/benchmarks/iorate/Makefile	Thu Nov 19 16:40:22 2015	(r401955)
+++ head/benchmarks/iorate/Makefile	Thu Nov 19 17:23:57 2015	(r401956)
@@ -1,10 +1,10 @@
 # $FreeBSD$
 
 PORTNAME=	iorate
-PORTVERSION=	3.05
+DISTVERSION=	3-05
 CATEGORIES=	benchmarks
-MASTER_SITES=	http://sites.google.com/site/vwiorate/downloads/3-05/
-DISTNAME=	iorate-${PORTVERSION}-src
+MASTER_SITES=	http://sites.google.com/site/vwiorate/downloads/${DISTVERSION}/
+DISTNAME=	${PORTNAME}-${PORTVERSION}-src
 EXTRACT_SUFX=	.tar
 
 MAINTAINER=	blttll@gmail.com
@@ -23,7 +23,8 @@ post-patch:
 	@${REINPLACE_CMD} -e 's,^CFLAGS ,&+,' ${WRKSRC}/${MAKEFILE}
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/iorate ${WRKSRC}/ior_rand ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/iorate ${WRKSRC}/ior_rand \
+		${STAGEDIR}${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
 	@${MKDIR} ${STAGEDIR}${DATADIR}
 	${INSTALL_SCRIPT} ${WRKSRC}/cycle ${WRKSRC}/gen_* ${WRKSRC}/run_* \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511191723.tAJHNvpO023885>