Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Sep 2016 14:01:55 +0000 (UTC)
From:      "Carlos J. Puga Medina" <cpm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r421219 - head/misc/timediff
Message-ID:  <201609011401.u81E1tno096402@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cpm
Date: Thu Sep  1 14:01:55 2016
New Revision: 421219
URL: https://svnweb.freebsd.org/changeset/ports/421219

Log:
  - Add NO_BUILD
  - Remove do-build block
  - Fix do-install path
  
  Reported by:	mat

Modified:
  head/misc/timediff/Makefile

Modified: head/misc/timediff/Makefile
==============================================================================
--- head/misc/timediff/Makefile	Thu Sep  1 14:01:01 2016	(r421218)
+++ head/misc/timediff/Makefile	Thu Sep  1 14:01:55 2016	(r421219)
@@ -3,6 +3,7 @@
 
 PORTNAME=	timediff
 PORTVERSION=	0.1
+PORTREVISION=	1
 CATEGORIES=	misc
 
 MAINTAINER=	naito.yuichiro@gmail.com
@@ -17,15 +18,10 @@ GH_PROJECT=	timediff
 PLIST_FILES=	sbin/timediff
 
 NO_ARCH=	yes
-
-do-build:
-.for file in timediff
-	${SED} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/${file} \
-	  > ${WRKDIR}/${file:T}
-.endfor
+NO_BUILD=	yes
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKDIR}/timediff \
+	${INSTALL_SCRIPT} ${WRKSRC}/timediff \
 	    ${STAGEDIR}${PREFIX}/sbin
 
 .include <bsd.port.mk>



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