summaryrefslogtreecommitdiff
path: root/converters
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
parent75e1986ea1f9aefbe1614eb290f3526ca149a93d (diff)
downloadpkgsrc-b2c72c7fada41010e5beeed332e23ef2d5e7ff93.tar.gz
Use "${MV} || ${TRUE}" and "${RM} -f" consistently in post-install targets.
Diffstat (limited to 'converters')
-rw-r--r--converters/py-cairosvg/Makefile4
-rw-r--r--converters/py-chardet/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/converters/py-cairosvg/Makefile b/converters/py-cairosvg/Makefile
index 35af1b8f713..2896f73fc5a 100644
--- a/converters/py-cairosvg/Makefile
+++ b/converters/py-cairosvg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2016/08/28 15:48:28 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2017/01/03 13:23:01 jperkin Exp $
DISTNAME= CairoSVG-1.0.15
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
@@ -18,7 +18,7 @@ PY_PATCHPLIST= yes
post-install:
${MV} ${DESTDIR}${PREFIX}/bin/cairosvg \
- ${DESTDIR}${PREFIX}/bin/cairosvg${PYVERSSUFFIX}
+ ${DESTDIR}${PREFIX}/bin/cairosvg${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"
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"