pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-line_profiler Makefile clean-up



details:   https://anonhg.NetBSD.org/pkgsrc/rev/493e18448212
branches:  trunk
changeset: 370375:493e18448212
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Oct 16 12:14:29 2017 +0000

description:
Makefile clean-up

diffstat:

 devel/py-line_profiler/Makefile |  11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diffs (24 lines):

diff -r 7ba22075e50d -r 493e18448212 devel/py-line_profiler/Makefile
--- a/devel/py-line_profiler/Makefile   Mon Oct 16 12:11:56 2017 +0000
+++ b/devel/py-line_profiler/Makefile   Mon Oct 16 12:14:29 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2017/03/17 21:30:35 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2017/10/16 12:14:29 adam Exp $
 
 DISTNAME=      line_profiler-2.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -14,10 +14,9 @@
 
 USE_LANGUAGES= c
 
-.include "../../lang/python/egg.mk"
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+               ${MV} kernprof kernprof${PYVERSSUFFIX} || ${TRUE}
 
-post-install:
-       ${MV} ${DESTDIR}${PREFIX}/bin/kernprof \
-               ${DESTDIR}${PREFIX}/bin/kernprof${PYVERSSUFFIX}
-
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index