mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
4676ca5994
- Bump PORTREVISION for dependent ports
38 lines
854 B
Makefile
38 lines
854 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:${PORTSDIR}/ftp/py-pycurl
|
|
RUN_DEPENDS= ${PKGNAMEPREFIX}pycurl>=7.19.0_1:${PORTSDIR}/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>
|