pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-uwsgi PkgSrc clean-ups



details:   https://anonhg.NetBSD.org/pkgsrc/rev/72405df05bfb
branches:  trunk
changeset: 365008:72405df05bfb
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Jul 09 10:44:19 2017 +0000

description:
PkgSrc clean-ups

diffstat:

 www/py-uwsgi/Makefile |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (24 lines):

diff -r 774eee8bba51 -r 72405df05bfb www/py-uwsgi/Makefile
--- a/www/py-uwsgi/Makefile     Sun Jul 09 10:35:56 2017 +0000
+++ b/www/py-uwsgi/Makefile     Sun Jul 09 10:44:19 2017 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.36 2017/04/08 12:04:27 adam Exp $
+# $NetBSD: Makefile,v 1.37 2017/07/09 10:44:19 adam Exp $
 
 DISTNAME=      uwsgi-2.0.15
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=    python www
+CATEGORIES=    www python
 MASTER_SITES=  http://projects.unbit.it/downloads/
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -23,8 +23,7 @@
 INSTALLATION_DIRS+=    share/examples/${PYPKGPREFIX}-uwsgi
 
 post-install:
-       ${MV} ${DESTDIR}${PREFIX}/bin/uwsgi \
-               ${DESTDIR}${PREFIX}/bin/uwsgi-${PYVERSSUFFIX}
+       cd ${DESTDIR}${PREFIX}/bin && ${MV} uwsgi uwsgi-${PYVERSSUFFIX} || ${TRUE}
        ${INSTALL_DATA} ${WRKSRC}/examples/* \
                ${DESTDIR}${PREFIX}/share/examples/${PYPKGPREFIX}-uwsgi
 



Home | Main Index | Thread Index | Old Index