aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorcpm <cpm@FreeBSD.org>2016-09-01 22:50:26 +0800
committercpm <cpm@FreeBSD.org>2016-09-01 22:50:26 +0800
commita90f309f993d8b2b5e34080655183e97a6fd71ae (patch)
treedcab2f34986b96146914279e9eda06b2221651a0 /misc
parent71d87ceface356c6d7fee271472db0fa96bec5aa (diff)
downloadfreebsd-ports-gnome-a90f309f993d8b2b5e34080655183e97a6fd71ae.tar.gz
freebsd-ports-gnome-a90f309f993d8b2b5e34080655183e97a6fd71ae.tar.zst
freebsd-ports-gnome-a90f309f993d8b2b5e34080655183e97a6fd71ae.zip
- Cosmetic fix
Reported by: mat
Diffstat (limited to 'misc')
-rw-r--r--misc/timediff/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/misc/timediff/Makefile b/misc/timediff/Makefile
index fd1715d8f46b..6ab7967bea30 100644
--- a/misc/timediff/Makefile
+++ b/misc/timediff/Makefile
@@ -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>