summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos J. Puga Medina <cpm@FreeBSD.org>2016-09-01 14:01:55 +0000
committerCarlos J. Puga Medina <cpm@FreeBSD.org>2016-09-01 14:01:55 +0000
commit7fae8c8edc2667600ddbf1083e2468754ce2a8bb (patch)
tree96ef0aa08acf17cb5900fff117d7ef62924576e9
parentUpdate Erlang ports to version 19.0.5. (diff)
- Add NO_BUILD
- Remove do-build block - Fix do-install path Reported by: mat
Notes
Notes: svn path=/head/; revision=421219
-rw-r--r--misc/timediff/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/misc/timediff/Makefile b/misc/timediff/Makefile
index abbface186da..b1cb3d180bb3 100644
--- a/misc/timediff/Makefile
+++ b/misc/timediff/Makefile
@@ -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>