1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/www/py-cherrypy-old/Makefile
Rene Ladan 50f8eaece1 Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
2014-01-13 21:00:02 +00:00

45 lines
1.0 KiB
Makefile

# Created by: Nicola Vitale <nivit@email.it>
# $FreeBSD$
PORTNAME= cherrypy
PORTVERSION= 2.3.0
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= www python
MASTER_SITES= http://download.cherrypy.org/${PORTNAME}/${PORTVERSION}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= -old
DISTNAME= CherryPy-${PORTVERSION:C/\.b$/beta/}
MAINTAINER= 5u623l20@gmail.com
COMMENT= A pythonic, object-oriented web development framework
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= CherryPy
PORTSCOUT= ignore:1 # This the last version of 2.3.X branch
LN_OPTS= -sf
RM_OPTS= -r
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
CPEXAMPLES= ${PYTHON_SITELIBDIR}/${PORTNAME}/tutorial
.if defined(NOPORTEXAMPLES)
PLIST_SUB= PORTPYTHON_SITELIBDIR="@comment "
.else
PLIST_SUB= PORTPYTHON_SITELIBDIR=""
.endif
NO_STAGE= yes
post-install:
.if defined(NOPORTEXAMPLES)
@${RM} ${RM_OPTS} ${CPEXAMPLES}
.else
@${MV} ${CPEXAMPLES} ${EXAMPLESDIR} && \
${LN} ${LN_OPTS} ${EXAMPLESDIR} ${CPEXAMPLES}
.endif
.include <bsd.port.mk>