svn commit: r421229 - head/misc/timediff

Carlos J. Puga Medina cpm at FreeBSD.org
Thu Sep 1 14:50:28 UTC 2016


Author: cpm
Date: Thu Sep  1 14:50:26 2016
New Revision: 421229
URL: https://svnweb.freebsd.org/changeset/ports/421229

Log:
  - Cosmetic fix
  
  Reported by:	mat

Modified:
  head/misc/timediff/Makefile

Modified: head/misc/timediff/Makefile
==============================================================================
--- head/misc/timediff/Makefile	Thu Sep  1 14:49:21 2016	(r421228)
+++ head/misc/timediff/Makefile	Thu Sep  1 14:50:26 2016	(r421229)
@@ -21,13 +21,11 @@ NO_ARCH=	yes
 NO_BUILD=	yes
 
 do-patch:
-.for file in timediff
-	${SED} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/${file} \
-	  > ${WRKDIR}/${file:T}
-.endfor
+	${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
+		${WRKSRC}/timediff
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKDIR}/timediff \
+	${INSTALL_SCRIPT} ${WRKSRC}/timediff \
 	    ${STAGEDIR}${PREFIX}/sbin
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list