1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/www/py-scrapy/Makefile
Martin Wilke b662c38326 - Stage support
- Convert to PYDISTUTILS_AUTOPLIST
- Bump PORTREVISION
2014-01-29 13:21:31 +00:00

36 lines
847 B
Makefile

# Created by: Qing Feng <qingfeng@douban.com>
# $FreeBSD$
PORTNAME= Scrapy
PORTVERSION= 0.16.5
PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= clsung@FreeBSD.org
COMMENT= High level scraping and web crawling framework
LICENSE= BSD
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=2.0:${PORTSDIR}/devel/py-lxml \
${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \
${PYTHON_PKGNAMEPREFIX}w3lib>=1.2:${PORTSDIR}/www/py-w3lib
USE_PYTHON= 2
USES= twisted:run
USE_PYDISTUTILS=yes
PYDISTUTILS_AUTOPLIST= yes
OPTIONS_DEFINE= SSL
OPTIONS_DEFAULT=SSL
OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSSL}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}openssl>0:${PORTSDIR}/security/py-openssl
.endif
.include <bsd.port.mk>