pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-line_profiler



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Oct 16 12:14:29 UTC 2017

Modified Files:
        pkgsrc/devel/py-line_profiler: Makefile

Log Message:
Makefile clean-up


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-line_profiler/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-line_profiler/Makefile
diff -u pkgsrc/devel/py-line_profiler/Makefile:1.1 pkgsrc/devel/py-line_profiler/Makefile:1.2
--- pkgsrc/devel/py-line_profiler/Makefile:1.1  Fri Mar 17 21:30:35 2017
+++ pkgsrc/devel/py-line_profiler/Makefile      Mon Oct 16 12:14:29 2017
@@ -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 @@ DEPENDS+=    ${PYPKGPREFIX}-ipython>0.13:..
 
 USE_LANGUAGES= c
 
-.include "../../lang/python/egg.mk"
-
 post-install:
-       ${MV} ${DESTDIR}${PREFIX}/bin/kernprof \
-               ${DESTDIR}${PREFIX}/bin/kernprof${PYVERSSUFFIX}
+       cd ${DESTDIR}${PREFIX}/bin && \
+               ${MV} kernprof kernprof${PYVERSSUFFIX} || ${TRUE}
 
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index