diff options
author | pav <pav@FreeBSD.org> | 2006-04-08 21:13:58 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2006-04-08 21:13:58 +0800 |
commit | 8edca3ee1879029c5388904fec1067d45df5756f (patch) | |
tree | 990e47461d8a107017fbc4fb09da2f5f1533932a /www/py-cherrypy-devel/Makefile | |
parent | f653e386b2a864ecc40623c1ee8d8f3bb35f2a42 (diff) | |
download | freebsd-ports-gnome-8edca3ee1879029c5388904fec1067d45df5756f.tar.gz freebsd-ports-gnome-8edca3ee1879029c5388904fec1067d45df5756f.tar.zst freebsd-ports-gnome-8edca3ee1879029c5388904fec1067d45df5756f.zip |
- Update to 2.2.0
- Hide examples behind WITH_EXAMPLES
PR: ports/95366
Submitted by: Nicola Vitale <nivit@email.it> (maintainer)
Diffstat (limited to 'www/py-cherrypy-devel/Makefile')
-rw-r--r-- | www/py-cherrypy-devel/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/www/py-cherrypy-devel/Makefile b/www/py-cherrypy-devel/Makefile index c61adcbe052c..5982c3c329fd 100644 --- a/www/py-cherrypy-devel/Makefile +++ b/www/py-cherrypy-devel/Makefile @@ -6,7 +6,7 @@ # PORTNAME= cherrypy -PORTVERSION= 2.2.0.b +PORTVERSION= 2.2.0 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -20,12 +20,23 @@ USE_PYTHON= 2.3+ USE_PYDISTUTILS= yes LN_OPTS= -sf +RM_OPTS= -r EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} CPEXAMPLES= ${PYTHON_SITELIBDIR}/${PORTNAME}/tutorial +.if !defined(WITH_EXAMPLES) +PLIST_SUB= PORTEXAMPLES="@comment " +.else +PLIST_SUB= PORTEXAMPLES="" +.endif + post-install: +.if !defined(WITH_EXAMPLES) + @${RM} ${RM_OPTS} ${CPEXAMPLES} +.else @${MV} ${CPEXAMPLES} ${EXAMPLESDIR} && \ ${LN} ${LN_OPTS} ${EXAMPLESDIR} ${CPEXAMPLES} +.endif .include <bsd.port.mk> |