mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
9747cb4018
- Add a secondary download site
37 lines
846 B
Makefile
37 lines
846 B
Makefile
# New ports collection makefile for: py-cherrypy
|
|
# Date created: 2006-01-11
|
|
# Whom: Nicola Vitale <nivit@email.it>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= cherrypy
|
|
PORTVERSION= 3.0.3
|
|
CATEGORIES= www python
|
|
MASTER_SITES= http://download.cherrypy.org/cherrypy/${PORTVERSION}/ \
|
|
http://nivi.interfree.it/distfiles/${PORTNAME}/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= CherryPy-${PORTVERSION:C/\.b$/beta/}
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
|
COMMENT= A pythonic, object-oriented web development framework
|
|
|
|
USE_PYTHON= 2.3+
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_PKGNAME= CherryPy
|
|
|
|
REINPLACE_ARGS= -i.bak -e 's,%%DOCSDIR%%,${DOCSDIR},'
|
|
|
|
.if defined(NOPORTEXAMPLES)
|
|
MAKE_ENV+= NOPORTEXAMPLES=${NOPORTEXAMPLES}
|
|
.endif
|
|
|
|
.if defined(NOPORTDOCS)
|
|
MAKE_ENV+= NOPORTDOCS=${NOPORTDOCS}
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} ${WRKSRC}/${PYSETUP}
|
|
|
|
.include <bsd.port.mk>
|