svn commit: r421219 - head/misc/timediff

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


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 at 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>


More information about the svn-ports-all mailing list