From d911e956b9254c4326233d7a093bb1fd2b5be2ba Mon Sep 17 00:00:00 2001 From: jperkin Date: Tue, 3 Jan 2017 13:23:01 +0000 Subject: Use "${MV} || ${TRUE}" and "${RM} -f" consistently in post-install targets. --- graphics/py-qrcode/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'graphics/py-qrcode') diff --git a/graphics/py-qrcode/Makefile b/graphics/py-qrcode/Makefile index d381ee5a582..631e20db637 100644 --- a/graphics/py-qrcode/Makefile +++ b/graphics/py-qrcode/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2016/08/28 15:48:32 wiz Exp $ +# $NetBSD: Makefile,v 1.10 2017/01/03 13:23:03 jperkin Exp $ DISTNAME= qrcode-5.3 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} @@ -27,9 +27,9 @@ SUBST_STAGE.pkgmandir= post-patch post-install: ${MV} ${DESTDIR}${PREFIX}/bin/qr \ - ${DESTDIR}${PREFIX}/bin/qr${PYVERSSUFFIX} + ${DESTDIR}${PREFIX}/bin/qr${PYVERSSUFFIX} || ${TRUE} ${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/qr.1 \ - ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/qr${PYVERSSUFFIX}.1 + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/qr${PYVERSSUFFIX}.1 || ${TRUE} .include "../../lang/python/application.mk" .include "../../lang/python/egg.mk" -- cgit v1.2.3