svn commit: r401956 - head/benchmarks/iorate

Alexey Dokuchaev danfe at FreeBSD.org
Thu Nov 19 17:23:59 UTC 2015


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 at 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_* \


More information about the svn-ports-all mailing list