summaryrefslogtreecommitdiff
path: root/textproc/py-pygments/Makefile
diff options
context:
space:
mode:
authorjperkin <jperkin>2017-01-03 13:23:01 +0000
committerjperkin <jperkin>2017-01-03 13:23:01 +0000
commitd911e956b9254c4326233d7a093bb1fd2b5be2ba (patch)
tree88dc200a587cac93deef4c7a8289fd9064fd6585 /textproc/py-pygments/Makefile
parentcd6f68b0163b43e0670c1c418ae654d17e68e0a7 (diff)
downloadpkgsrc-d911e956b9254c4326233d7a093bb1fd2b5be2ba.tar.gz
Use "${MV} || ${TRUE}" and "${RM} -f" consistently in post-install targets.
Diffstat (limited to 'textproc/py-pygments/Makefile')
-rw-r--r--textproc/py-pygments/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/textproc/py-pygments/Makefile b/textproc/py-pygments/Makefile
index 0488833db85..8b4d608f665 100644
--- a/textproc/py-pygments/Makefile
+++ b/textproc/py-pygments/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2016/12/15 09:42:49 adam Exp $
+# $NetBSD: Makefile,v 1.26 2017/01/03 13:23:04 jperkin Exp $
DISTNAME= Pygments-2.1.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
@@ -18,7 +18,7 @@ BUILD_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
USE_LANGUAGES= # none
post-install:
- ${MV} ${DESTDIR}${PREFIX}/bin/pygmentize ${DESTDIR}${PREFIX}/bin/pygmentize${PYVERSSUFFIX}
+ ${MV} ${DESTDIR}${PREFIX}/bin/pygmentize ${DESTDIR}${PREFIX}/bin/pygmentize${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"