diff options
author | jperkin <jperkin> | 2017-01-03 13:23:01 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2017-01-03 13:23:01 +0000 |
commit | d911e956b9254c4326233d7a093bb1fd2b5be2ba (patch) | |
tree | 88dc200a587cac93deef4c7a8289fd9064fd6585 /graphics/py-qrcode | |
parent | cd6f68b0163b43e0670c1c418ae654d17e68e0a7 (diff) | |
download | pkgsrc-d911e956b9254c4326233d7a093bb1fd2b5be2ba.tar.gz |
Use "${MV} || ${TRUE}" and "${RM} -f" consistently in post-install targets.
Diffstat (limited to 'graphics/py-qrcode')
-rw-r--r-- | graphics/py-qrcode/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
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" |