summaryrefslogtreecommitdiff
path: root/converters/py-chardet
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2017-01-03 13:23:01 +0000
committerjperkin <jperkin@pkgsrc.org>2017-01-03 13:23:01 +0000
commitb2c72c7fada41010e5beeed332e23ef2d5e7ff93 (patch)
tree0afef97b509bb0ade4367b6585a9a9119c9042e7 /converters/py-chardet
parent75e1986ea1f9aefbe1614eb290f3526ca149a93d (diff)
downloadpkgsrc-b2c72c7fada41010e5beeed332e23ef2d5e7ff93.tar.gz
Use "${MV} || ${TRUE}" and "${RM} -f" consistently in post-install targets.
Diffstat (limited to 'converters/py-chardet')
-rw-r--r--converters/py-chardet/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/converters/py-chardet/Makefile b/converters/py-chardet/Makefile
index 7f809051e42..b92fead6fef 100644
--- a/converters/py-chardet/Makefile
+++ b/converters/py-chardet/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2016/08/28 15:48:29 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2017/01/03 13:23:01 jperkin Exp $
DISTNAME= chardet-2.3.0
PKGREVISION= 1
@@ -14,7 +14,7 @@ LICENSE= gnu-lgpl-v2.1
REPLACE_PYTHON= chardet/chardetect.py
post-install:
- ${MV} ${DESTDIR}${PREFIX}/bin/chardetect ${DESTDIR}${PREFIX}/bin/chardetect-${PYVERSSUFFIX}
+ ${MV} ${DESTDIR}${PREFIX}/bin/chardetect ${DESTDIR}${PREFIX}/bin/chardetect-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"