freebsd-ports/www/py-urlgrabber/Makefile
Mathieu Arnold 72ea7e696b Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:33:55 +00:00

37 lines
830 B
Makefile

# Created by: Nicola Vitale <nivit@FreeBSD.org>
# $FreeBSD$
PORTNAME= urlgrabber
PORTVERSION= 3.9.1
PORTREVISION= 3
CATEGORIES= www python
MASTER_SITES= http://urlgrabber.baseurl.org/download/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= High-level cross-protocol url-grabber
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PKGNAMEPREFIX}pycurl>=7.19.0_1:ftp/py-pycurl
RUN_DEPENDS= ${PKGNAMEPREFIX}pycurl>=7.19.0_1:ftp/py-pycurl
USES= python
USE_PYTHON= distutils
REINPLACE_ARGS= -i.bak -e 's,%%DOCSDIR%%,${DOCSDIR},'
DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
MAKE_ENV= INSTALL_DOCS=yes
.endif
post-patch:
${REINPLACE_CMD} ${WRKSRC}/${PYSETUP}
.include <bsd.port.mk>