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


1.15
date	2012.11.17.06.02.59;	author svnexp;	state Exp;
branches;
next	1.14;

1.14
date	2011.10.20.22.11.36;	author nivit;	state Exp;
branches;
next	1.13;

1.13
date	2011.03.04.09.35.18;	author nivit;	state Exp;
branches;
next	1.12;

1.12
date	2011.02.25.04.40.28;	author miwi;	state Exp;
branches;
next	1.11;

1.11
date	2009.05.28.06.23.23;	author nivit;	state Exp;
branches;
next	1.10;

1.10
date	2008.11.25.16.31.20;	author nivit;	state Exp;
branches;
next	1.9;

1.9
date	2008.05.26.13.54.52;	author nivit;	state Exp;
branches;
next	1.8;

1.8
date	2008.01.26.17.06.52;	author nivit;	state Exp;
branches;
next	1.7;

1.7
date	2007.07.30.09.42.09;	author alexbl;	state Exp;
branches;
next	1.6;

1.6
date	2007.07.29.13.35.20;	author pav;	state Exp;
branches;
next	1.5;

1.5
date	2006.12.10.01.21.51;	author nivit;	state Exp;
branches;
next	1.4;

1.4
date	2006.04.27.13.52.44;	author erwin;	state Exp;
branches;
next	1.3;

1.3
date	2006.04.08.13.13.58;	author pav;	state Exp;
branches;
next	1.2;

1.2
date	2006.01.28.13.14.45;	author tdb;	state Exp;
branches;
next	1.1;

1.1
date	2006.01.11.22.18.25;	author pav;	state Exp;
branches;
next	;


desc
@@


1.15
log
@Switch exporter over
@
text
@# New ports collection makefile for:	py-cherrypy
# Date created:		2006-01-11
# Whom:			Nicola Vitale	<nivit@@email.it>
#
# $FreeBSD: head/www/py-cherrypy/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	cherrypy
PORTVERSION=	3.2.2
PORTREVISION=	0
CATEGORIES=	www python
MASTER_SITES=	http://download.cherrypy.org/cherrypy/${PORTVERSION}/ \
		http://nivi.interfree.it/distfiles/${PORTNAME}/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	CherryPy-${PORTVERSION}

MAINTAINER=	nivit@@FreeBSD.org
COMMENT=	A pythonic, object-oriented web development framework

.if !defined(NOPORTEXAMPLES)
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}cheetah>=2.0.1:${PORTSDIR}/devel/py-cheetah

EXAMPLESDIR=	${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
.endif

USE_PYTHON=	yes
USE_PYDISTUTILS=	easy_install
PYDISTUTILS_PKGNAME=	CherryPy

PLIST_SUB=	PY2=${PY2} PYMAJORVER=${PYMAJORVER}

PYMAJORVER=	${PYTHON_VER:R}

.include <bsd.port.pre.mk>

post-install:
.if !defined(NOPORTEXAMPLES)
	${MKDIR} ${EXAMPLESDIR}
	cd ${PYTHONPREFIX_SITELIBDIR}/${PYEASYINSTALL_EGG}/${PORTNAME} && ${COPYTREE_SHARE} tutorial ${EXAMPLESDIR}
.endif
	${RM} -R ${PYTHONPREFIX_SITELIBDIR}/${PYEASYINSTALL_EGG}/${PORTNAME}/tutorial
.if ${PYMAJORVER} == 2
PY2=''
.else
PY2='@@comment '
.endif

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


1.14
log
@- Update to 3.2.2
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.13
log
@- Update to 3.2.0
- Install test/native-server.ini, and test/fastcgi.conf
  only if Python version < 3
- Set USE_PYTHON to "yes"
- Use devel/py-setuptools to install the module
@
text
@d9 1
a9 1
PORTVERSION=	3.2.0
a19 1
#RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>=1.0.0:${PORTSDIR}/devel/py-nose
a25 6
.if !defined(NO_INSTALL_MANPAGES)
MAN1=	cherryd.1
.endif

PLIST_SUB=	PY2=${PY2}

d30 3
a32 2
PYVER=	${PYTHON_PKGNAMEPREFIX:C/[0-9]-$//1}
PY2FILES=	native-server.ini fastcgi.conf
a36 3
.if !defined(NO_INSTALL_MANPAGES)
	${INSTALL_MAN} ${WRKSRC}/docs/${MAN1} ${MANPREFIX}/man/man1
.endif
d42 1
a42 2
.if ${PYVER} == py2
	cd ${WRKSRC}/${PYVER}/${PORTNAME}/test && ${INSTALL_DATA} ${PY2FILES} ${PYTHONPREFIX_SITELIBDIR}/${PYEASYINSTALL_EGG}/cherrypy/test/
d45 1
a45 1
PY2=@@comment
@


1.12
log
@- Move over to py25
- while here drop md5 support
- Small cleanups
@
text
@d9 2
a10 2
PORTVERSION=	3.1.2
PORTREVISION=	1
d20 1
d22 1
a22 1
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cheetah>=2.0.1:${PORTSDIR}/devel/py-cheetah
d27 8
a34 2
USE_PYTHON=	2.5+
USE_PYDISTUTILS=	yes
d37 5
d43 3
d48 8
a55 1
	cd ${PYTHONPREFIX_SITELIBDIR}/cherrypy && ${COPYTREE_SHARE} tutorial ${EXAMPLESDIR}
a56 1
	${RM} -R ${PYTHONPREFIX_SITELIBDIR}/cherrypy/tutorial
d58 1
a58 1
.include <bsd.port.mk>
@


1.11
log
@- Update to 3.1.2
@
text
@d10 1
d26 1
a26 1
USE_PYTHON=	2.4+
@


1.10
log
@- Update to 3.1.1
- Add devel/py-cheetah to RUN_DEPENDS when NOPORTEXAMPLES is not defined
- Remove files/patch-setup.py

PR:		ports/128843
Submitted by:	Wen Heping < wenheping at gmail dot com >
@
text
@d9 1
a9 1
PORTVERSION=	3.1.1
@


1.9
log
@- Update to 3.0.3
- Add a secondary download site
@
text
@d9 1
a9 1
PORTVERSION=	3.0.3
d14 1
a14 1
DISTNAME=	CherryPy-${PORTVERSION:C/\.b$/beta/}
d19 7
a25 1
USE_PYTHON=	2.3+
d29 4
a32 4
REINPLACE_ARGS=	-i.bak -e 's,%%DOCSDIR%%,${DOCSDIR},'

.if defined(NOPORTEXAMPLES)
MAKE_ENV+=	NOPORTEXAMPLES=${NOPORTEXAMPLES}
d34 1
a34 7

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

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


1.8
log
@- Update to 3.0.2
@
text
@d9 1
a9 1
PORTVERSION=	3.0.2
d11 2
a12 1
MASTER_SITES=	http://download.cherrypy.org/cherrypy/${PORTVERSION}/
@


1.7
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
@d9 1
a9 1
PORTVERSION=	3.0.1
d22 1
a22 2
LN_OPTS=	-sf
RM_OPTS=	-r
d24 3
a26 2
EXAMPLESDIR=	${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
CPEXAMPLES=	${PYTHON_SITELIBDIR}/${PORTNAME}/tutorial
d28 2
a29 4
.if !defined(WITH_EXAMPLES)
PLIST_SUB=	PORTEXAMPLES="@@comment "
.else
PLIST_SUB=	PORTEXAMPLES=""
d32 2
a33 7
post-install:
.if !defined(WITH_EXAMPLES)
	@@${RM} ${RM_OPTS} ${CPEXAMPLES}
.else
	@@${MV} ${CPEXAMPLES} ${EXAMPLESDIR} && \
	${LN} ${LN_OPTS} ${EXAMPLESDIR} ${CPEXAMPLES}
.endif
@


1.6
log
@- Update to 3.0.1

PR:		ports/113722
Submitted by:	Peter Johnson <johnson.peter@@gmail.com>
Approved by:	maintainer timeout (nivit; 1 month)
@
text
@d20 1
@


1.5
log
@- Updated email address in my ports

Approved by:	alexbl (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	2.2.1
d11 1
a11 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
@


1.4
log
@Update 2.2.1

PR:		96334
Submitted by:	Nicola Vitale <nivit@@email.it> (maintainer)
@
text
@d16 1
a16 1
MAINTAINER=	nivit@@email.it
@


1.3
log
@- Update to 2.2.0
- Hide examples behind WITH_EXAMPLES

PR:		ports/95366
Submitted by:	Nicola Vitale <nivit@@email.it> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.2.0
@


1.2
log
@- Update to 2.2.0.b

PR:		92448
Submitted by:	nivit@@email.it (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.2.0.b
d23 1
d28 6
d35 3
d40 1
@


1.1
log
@CherryPy is a pythonic, object-oriented web development framework.

CherryPy allows developers to build web applications in much the same
way they would build any other object-oriented Python program.
This usually results in smaller source code developed in less time.

PR:		ports/91686
Submitted by:	Nicola Vitale <nivit@@email.it>
@
text
@d9 1
a9 1
PORTVERSION=	2.1.1
d14 1
a14 1
DISTNAME=	CherryPy-${PORTVERSION}
@

