summaryrefslogtreecommitdiff
path: root/www/py-scrapy/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-scrapy/Makefile')
-rw-r--r--www/py-scrapy/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/www/py-scrapy/Makefile b/www/py-scrapy/Makefile
index a44d84ba704..8e2ff2cea8b 100644
--- a/www/py-scrapy/Makefile
+++ b/www/py-scrapy/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2017/03/19 22:59:10 adam Exp $
+# $NetBSD: Makefile,v 1.3 2017/05/20 06:25:36 adam Exp $
-DISTNAME= Scrapy-1.3.3
+DISTNAME= Scrapy-1.4.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=S/Scrapy/}
@@ -15,5 +15,9 @@ DEPENDS+= ${PYPKGPREFIX}-parsel>=1.1.0:../../www/py-parsel
DEPENDS+= ${PYPKGPREFIX}-pydispatcher>=2.0.5:../../devel/py-pydispatcher
DEPENDS+= ${PYPKGPREFIX}-twisted>=13.1.0:../../net/py-twisted
+post-install:
+ ${MV} ${DESTDIR}${PREFIX}/bin/scrapy \
+ ${DESTDIR}${PREFIX}/bin/scrapy${PYVERSSUFFIX} || ${TRUE}
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"