summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2012-10-16 07:41:51 +0000
committerwiz <wiz@pkgsrc.org>2012-10-16 07:41:51 +0000
commitc157859baead2204b1af59ee0c9b6f6edb06b142 (patch)
tree76ed96285de5dcefd854b2d232fb5eed0894c726 /www
parent5a54861893640cbf570eb62b36e8099e180685e4 (diff)
downloadpkgsrc-c157859baead2204b1af59ee0c9b6f6edb06b142.tar.gz
Simplify by using egg.mk.
Diffstat (limited to 'www')
-rw-r--r--www/py-uwsgi/Makefile8
-rw-r--r--www/py-uwsgi/PLIST10
2 files changed, 8 insertions, 10 deletions
diff --git a/www/py-uwsgi/Makefile b/www/py-uwsgi/Makefile
index 59f7ec4ac04..ed5c44b2af5 100644
--- a/www/py-uwsgi/Makefile
+++ b/www/py-uwsgi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2012/07/12 16:21:53 roy Exp $
+# $NetBSD: Makefile,v 1.17 2012/10/16 07:41:51 wiz Exp $
DISTNAME= uwsgi-1.2.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -12,16 +12,14 @@ LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
-DEPENDS+= ${PYPKGPREFIX}-setuptools>=0.6c9:../../devel/py-setuptools
-
USE_LANGUAGES= c
-PYDISTUTILSPKG= yes
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
+EGG_NAME= ${DISTNAME:S/uwsgi/uWSGI/}
post-install:
mv ${DESTDIR}${PREFIX}/bin/uwsgi ${DESTDIR}${PREFIX}/bin/uwsgi-${PYVERSSUFFIX}
-.include "../../lang/python/extension.mk"
+.include "../../lang/python/egg.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/www/py-uwsgi/PLIST b/www/py-uwsgi/PLIST
index 4f088acf112..447ce7a4e4b 100644
--- a/www/py-uwsgi/PLIST
+++ b/www/py-uwsgi/PLIST
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.2 2012/07/12 16:21:53 roy Exp $
+@comment $NetBSD: PLIST,v 1.3 2012/10/16 07:41:51 wiz Exp $
bin/uwsgi-${PYVERSSUFFIX}
-${PYSITELIB}/uWSGI-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/PKG-INFO
-${PYSITELIB}/uWSGI-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/SOURCES.txt
-${PYSITELIB}/uWSGI-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/dependency_links.txt
-${PYSITELIB}/uWSGI-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/top_level.txt
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/uwsgidecorators.py
${PYSITELIB}/uwsgidecorators.pyc
${PYSITELIB}/uwsgidecorators.pyo