head	1.5;
access;
symbols
	RELEASE_8_3_0:1.3
	RELEASE_9_0_0:1.3
	RELEASE_7_4_0:1.3
	RELEASE_8_2_0:1.3
	RELEASE_6_EOL:1.3
	RELEASE_8_1_0:1.3
	RELEASE_7_3_0:1.2
	RELEASE_8_0_0:1.2
	RELEASE_7_2_0:1.2
	RELEASE_7_1_0:1.2
	RELEASE_6_4_0:1.2
	RELEASE_5_EOL:1.1;
locks; strict;
comment	@# @;


1.5
date	2012.11.17.06.03.02;	author svnexp;	state Exp;
branches;
next	1.4;

1.4
date	2012.07.16.08.51.22;	author nivit;	state Exp;
branches;
next	1.3;

1.3
date	2010.05.11.08.49.24;	author nivit;	state Exp;
branches;
next	1.2;

1.2
date	2008.07.03.15.47.27;	author nivit;	state Exp;
branches;
next	1.1;

1.1
date	2007.12.18.14.54.59;	author nivit;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Switch exporter over
@
text
@# New ports collection makefile for:	py-urlgrabber
# Date created:		2007-09-22
# Whom:			Nicola Vitale <nivit@@FreeBSD.org>
#
# $FreeBSD: head/www/py-urlgrabber/Makefile 300931 2012-07-16 08:51:22Z nivit $
#

PORTNAME=	urlgrabber
PORTVERSION=	3.9.1
PORTREVISION=	1
CATEGORIES=	www python
MASTER_SITES=	http://urlgrabber.baseurl.org/download/ \
		http://nivi.interfree.it/distfiles/${PORTNAME}/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	nivit@@FreeBSD.org
COMMENT=	A high-level cross-protocol url-grabber

BUILD_DEPENDS=	${PKGNAMEPREFIX}curl>=7.19.0_1:${PORTSDIR}/ftp/py-curl
RUN_DEPENDS=	${PKGNAMEPREFIX}curl>=7.19.0_1:${PORTSDIR}/ftp/py-curl

USE_PYTHON=	yes
USE_PYDISTUTILS=	yes

REINPLACE_ARGS=	-i.bak -e 's,%%DOCSDIR%%,${DOCSDIR},'
DOCSDIR=	${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME}

.if defined(NOPORTDOCS)
MAKE_ENV=	NOPORTDOCS=${NOPORTDOCS}
.endif

post-patch:
	${REINPLACE_CMD} ${WRKSRC}/${PYSETUP}

.include <bsd.port.mk>
@


1.4
log
@SVN rev 300931 on 2012-07-16 08:51:22Z by nivit

- Add a patch (provided by the authors of the program: goo.gl/jorPS )
  to fix a bug with the size of PyCurlFileObject
- Bump PORTREVISION

PR:		ports/168917
Submitted by:	Anders F Bjoerklund <afb at rpm5.org>
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.3
log
@- Update to 3.9.1
- Add ftp/py-curl to *_DEPENDS
- Change primary download site
- Change WWW site in pkg-descr
@
text
@d10 1
a10 1
PORTREVISION=	0
@


1.2
log
@- Fix patch target when NOPORTDOCS is set (issue reported by "QA Tindy" via itetcu
- Use ${PYTHON_PKGNAMEPREFIX} inside DOCSDIR (so bump PORTREVISION)
- Use os.environ.has_key() instead of os.getenv() inside setup.py
@
text
@d9 2
a10 2
PORTVERSION=	3.1.0
PORTREVISION=	1
d12 1
a12 1
MASTER_SITES=	http://linux.duke.edu/projects/urlgrabber/download/ \
d19 3
@


1.1
log
@urlgrabber is a pure python package that drastically simplifies
the fetching of files. It is designed to be used in programs that
need common (but not necessarily simple) url-fetching features.
It is extremely simple to drop into an existing program and provides
a clean interface to protocol-independant file-access. Best of all,
urlgrabber takes care of all those pesky file-fetching details, and
lets you focus on whatever it is that your program is written to do!

Author:	Michael D. Stenner, Ryan Tomayko
WWW:	http://linux.duke.edu/projects/urlgrabber/
@
text
@d10 1
a10 1
#PORTREVISION=	0
a21 1
.if !defined(NOPORTDOCS)
d23 4
@

