head	1.16;
access;
symbols
	RELEASE_8_3_0:1.15
	RELEASE_9_0_0:1.15
	RELEASE_7_4_0:1.14
	RELEASE_8_2_0:1.14
	RELEASE_6_EOL:1.14
	RELEASE_8_1_0:1.11
	RELEASE_7_3_0:1.9
	RELEASE_8_0_0:1.9
	RELEASE_7_2_0:1.9
	RELEASE_7_1_0:1.6
	RELEASE_6_4_0:1.6
	RELEASE_5_EOL:1.6
	RELEASE_7_0_0:1.5
	RELEASE_6_3_0:1.5
	PRE_XORG_7:1.4
	RELEASE_4_EOL:1.1
	RELEASE_6_2_0:1.1
	RELEASE_6_1_0:1.1
	RELEASE_5_5_0:1.1
	RELEASE_6_0_0:1.1;
locks; strict;
comment	@# @;


1.16
date	2012.11.17.06.03.00;	author svnexp;	state Exp;
branches;
next	1.15;

1.15
date	2011.06.11.20.19.24;	author lwhsu;	state Exp;
branches;
next	1.14;

1.14
date	2010.10.29.17.00.26;	author lwhsu;	state Exp;
branches;
next	1.13;

1.13
date	2010.10.23.11.00.28;	author lwhsu;	state Exp;
branches;
next	1.12;

1.12
date	2010.07.19.09.29.23;	author lwhsu;	state Exp;
branches;
next	1.11;

1.11
date	2010.05.21.01.36.32;	author lwhsu;	state Exp;
branches;
next	1.10;

1.10
date	2010.04.24.02.01.36;	author lwhsu;	state Exp;
branches;
next	1.9;

1.9
date	2009.02.08.10.33.06;	author lwhsu;	state Exp;
branches;
next	1.8;

1.8
date	2008.12.21.11.23.13;	author lwhsu;	state Exp;
branches;
next	1.7;

1.7
date	2008.09.25.06.27.54;	author lwhsu;	state Exp;
branches;
next	1.6;

1.6
date	2008.01.08.15.39.17;	author lwhsu;	state Exp;
branches;
next	1.5;

1.5
date	2007.07.30.09.42.11;	author alexbl;	state Exp;
branches;
next	1.4;

1.4
date	2007.04.18.05.51.30;	author lwhsu;	state Exp;
branches;
next	1.3;

1.3
date	2007.02.26.16.17.39;	author tmclaugh;	state Exp;
branches;
next	1.2;

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

1.1
date	2005.04.29.07.06.01;	author ijliao;	state Exp;
branches;
next	;


desc
@@


1.16
log
@Switch exporter over
@
text
@# ex:ts=8
# Ports collection makefile for:	py-mechanize
# Date created:			Apr 29, 2005
# Whom:				ijliao
#
# $FreeBSD: head/www/py-mechanize/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	mechanize
PORTVERSION=	0.2.5
CATEGORIES=	www python
MASTER_SITES=	CHEESESHOP \
		http://wwwsearch.sourceforge.net/mechanize/src/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	lwhsu@@FreeBSD.org
COMMENT=	Stateful programmatic web browsing in Python

USE_PYTHON=	yes
USE_PYDISTUTILS=	easy_install

PLIST_FILES=	%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%

.include <bsd.port.mk>
@


1.15
log
@- Update to 0.2.5
@
text
@d6 1
a6 1
# $FreeBSD$
@


1.14
log
@- Update to 0.2.4
@
text
@d10 1
a10 1
PORTVERSION=	0.2.4
@


1.13
log
@- Update to 0.2.3
@
text
@d10 1
a10 1
PORTVERSION=	0.2.3
@


1.12
log
@- Update to 0.2.2
@
text
@d10 1
a10 1
PORTVERSION=	0.2.2
@


1.11
log
@- Update to 0.2.1
@
text
@d10 1
a10 1
PORTVERSION=	0.2.1
@


1.10
log
@- Update to 0.2.0
@
text
@d10 1
a10 1
PORTVERSION=	0.2.0
@


1.9
log
@- Update to 0.1.11
@
text
@d10 1
a10 1
PORTVERSION=	0.1.11
a18 3
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}clientform>0:${PORTSDIR}/www/py-clientform
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}clientform>0:${PORTSDIR}/www/py-clientform

@


1.8
log
@- Update to 0.1.10
@
text
@d10 1
a10 1
PORTVERSION=	0.1.10
@


1.7
log
@- Update to 0.1.9
@
text
@d10 1
a10 1
PORTVERSION=	0.1.9
@


1.6
log
@- Update to 0.1.7.b
@
text
@d10 1
a10 1
PORTVERSION=	0.1.7.b
d12 2
a13 2
MASTER_SITES=	http://wwwsearch.sourceforge.net/mechanize/src/ \
		http://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/
a14 1
DISTNAME=	${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
d19 2
a20 4
BUILD_DEPENDS=	${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools \
		${PYTHON_SITELIBDIR}/${PYCLIENTFORM_EGG}:${PORTSDIR}/www/py-clientform
RUN_DEPENDS=	${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools \
		${PYTHON_SITELIBDIR}/${PYCLIENTFORM_EGG}:${PORTSDIR}/www/py-clientform
d23 1
a23 3
USE_PYDISTUTILS=	yes
PYDISTUTILS_PKGVERSION=	0.1.6b
PYDISTUTILS_NOEGGINFO=	yes # XXX convert easy_install support to bsd.python.mk's
d25 1
a25 4
EASY_INSTALL_CMD?=	easy_install-${PYTHON_VER}
PYDISTUTILS_BUILD_TARGET=	bdist_egg
PYDISTUTILS_INSTALL_TARGET=	easy_install
PYDISTUTILS_INSTALLARGS=	-N -s ${PREFIX}/bin -S ${PYTHON_SITELIBDIR} dist/${PYMECHANIZE_EGG}
d27 1
a27 11
PLIST_SUB+=	EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
		PYMECHANIZE_EGG=${PYMECHANIZE_EGG} \
		PORTNAME=${PORTNAME} PORTVERSION=${PORTVERSION}

PYMECHANIZE_EGG=	${DISTNAME}-py${PYTHON_VER}.egg

.include <bsd.port.pre.mk>

PYCLIENTFORM_EGG!=	${MAKE} -f ${PORTSDIR}/www/py-clientform/Makefile -V PYCLIENTFORM_EGG

.include <bsd.port.post.mk>
@


1.5
log
@ - Make Python 2.5.1 the default Python version
 - Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:	pointyhat runs
Approved by:	pav (portmgr)
Most work by:	perky
Thanks to:	pav
@
text
@d10 1
a10 1
PORTVERSION=	0.1.6.b
@


1.4
log
@- Take maintainership of following ports, and do some minor fixes

devel/py-pytz
- Use CHEESESHOP in bsd.sites.mk

devel/py-icalendar
- Add backup MASTER_SITE

www/py-django
- Add backup MASTER_SITE

www/py-django-devel

www/py-clientform
- Add backup MASTER_SITE

www/py-mechanize
- Add backup MASTER_SITE

Approved by:	clsung (mentor)
@
text
@d27 2
@


1.3
log
@- Remove unnecessary dependencies. py-pullparser and py-clientcookie have
  been rolled into this by the author
- Grab maintainership for python@@
- Whitespace clean

PR:		109547
Submitted by:	Li-Wen Hsu
@
text
@d12 2
a13 1
MASTER_SITES=	http://wwwsearch.sourceforge.net/mechanize/src/
d17 1
a17 1
MAINTAINER=	python@@FreeBSD.org
@


1.2
log
@- Updated to 0.1.6.b
- Added pkg-plist

PR:		ports/109454
Submitted by:	nivit
@
text
@d16 1
a16 1
MAINTAINER=	ports@@FreeBSD.org
d20 3
a22 4
		${PYTHON_SITELIBDIR}/ClientCookie/__init__.py:${PORTSDIR}/devel/py-clientcookie \
		${PYTHON_SITELIBDIR}/${PYCLIENTFORM_EGG}:${PORTSDIR}/www/py-clientform \
		${PYTHON_SITELIBDIR}/pullparser.py:${PORTSDIR}/www/py-pullparser
RUN_DEPENDS=	${BUILD_DEPENDS}
d36 1
a36 1
PYMECHANIZE_EGG=	${DISTNAME}-py${PYTHON_VER}.egg	
@


1.1
log
@add py-mechanize 0.0.9.a
Stateful programmatic web browsing in Python
@
text
@d10 1
a10 1
PORTVERSION=	0.0.9.a
d19 3
a21 2
BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/ClientCookie/__init__.py:${PORTSDIR}/devel/py-clientcookie \
		${PYTHON_SITELIBDIR}/ClientForm.py:${PORTSDIR}/www/py-clientform \
d28 4
a31 5
post-install:
	@@${FIND} ${PYTHON_SITELIBDIR}/mechanize ! -type d | \
		${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
	@@${FIND} ${PYTHON_SITELIBDIR}/mechanize -type d | ${SORT} -r | \
		${SED} 's,^${PREFIX}/,@@dirrm ,' >> ${TMPPLIST}
d33 11
a43 1
.include <bsd.port.mk>
@

