Date: Thu, 1 Sep 2016 14:25:23 +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: r421226 - head/misc/timediff Message-ID: <201609011425.u81EPN8Y005780@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609011425.u81EPN8Y005780>