From owner-svn-ports-head@freebsd.org Thu Sep 1 14:25:24 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 30C6EBCBE14; Thu, 1 Sep 2016 14:25:24 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 005338A9; Thu, 1 Sep 2016 14:25:23 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u81EPNWn005781; Thu, 1 Sep 2016 14:25:23 GMT (envelope-from cpm@FreeBSD.org) Received: (from cpm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u81EPN8Y005780; Thu, 1 Sep 2016 14:25:23 GMT (envelope-from cpm@FreeBSD.org) Message-Id: <201609011425.u81EPN8Y005780@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cpm set sender to cpm@FreeBSD.org using -f From: "Carlos J. Puga Medina" Date: Thu, 1 Sep 2016 14:25:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421226 - head/misc/timediff X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Sep 2016 14:25:24 -0000 Author: cpm Date: Thu Sep 1 14:25:22 2016 New Revision: 421226 URL: https://svnweb.freebsd.org/changeset/ports/421226 Log: - Really fix Makefile Reported by: mat Modified: head/misc/timediff/Makefile Modified: head/misc/timediff/Makefile ============================================================================== --- head/misc/timediff/Makefile Thu Sep 1 14:14:44 2016 (r421225) +++ head/misc/timediff/Makefile Thu Sep 1 14:25:22 2016 (r421226) @@ -3,7 +3,7 @@ PORTNAME= timediff PORTVERSION= 0.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc MAINTAINER= naito.yuichiro@gmail.com @@ -20,8 +20,14 @@ PLIST_FILES= sbin/timediff 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 + do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/timediff \ + ${INSTALL_SCRIPT} ${WRKDIR}/timediff \ ${STAGEDIR}${PREFIX}/sbin .include