diff options
author | Dryice Dong Liu <dryice@FreeBSD.org> | 2008-06-05 12:21:14 +0000 |
---|---|---|
committer | Dryice Dong Liu <dryice@FreeBSD.org> | 2008-06-05 12:21:14 +0000 |
commit | 4b5a571da8484ad16b60d608546169aa502840ee (patch) | |
tree | 84784753412c57500ca2b6adc22d59b405f3d54a /devel/ipython/Makefile | |
parent | ee1add1c6e1df2997905ccd8f762e5e83c5e2ab6 (diff) |
Notes
Diffstat (limited to 'devel/ipython/Makefile')
-rw-r--r-- | devel/ipython/Makefile | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/devel/ipython/Makefile b/devel/ipython/Makefile index 0ee7ebb2c84b..446b4535f5fa 100644 --- a/devel/ipython/Makefile +++ b/devel/ipython/Makefile @@ -6,7 +6,7 @@ # PORTNAME= ipython -PORTVERSION= 0.8.2 +PORTVERSION= 0.8.4 CATEGORIES= devel python MASTER_SITES= http://ipython.scipy.org/dist/ \ ${MASTER_SITE_LOCAL} \ @@ -19,10 +19,28 @@ COMMENT= An enhanced Interactive Python shell RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pexpect.py:${PORTSDIR}/misc/py-pexpect +post-patch: +.if defined(NOPORTDOCS) + ${REINPLACE_CMD} -e "s#('data', docdirbase, docfiles),# #g" ${WRKSRC}/setup.py + ${REINPLACE_CMD} -e "s#('data', pjoin(docdirbase, 'manual'),manfiles),# #g" ${WRKSRC}/setup.py + ${REINPLACE_CMD} -e "s#('data', pjoin(docdirbase, 'manual/_static'),manstatic),# #g" ${WRKSRC}/setup.py + ${REINPLACE_CMD} -e "s#('data',pjoin(docdirbase, 'extensions'),igridhelpfiles),# #g" ${WRKSRC}/setup.py +.endif + +.if defined(NOPORTEXAMPLES) + ${REINPLACE_CMD} -e "s#('data', pjoin(docdirbase, 'examples'),examfiles),# #g" ${WRKSRC}/setup.py +.endif + +.if defined(NOPORTEXAMPLES) + ${REINPLACE_CMD} -e "s#('data', manpagebase, manpages),# #g" ${WRKSRC}/setup.py +.else MAN1= ipython.1 pycolor.1 MANCOMPRESSED= yes +.endif +.ifndef NOPORTDOCS PORTDOCS= * +.endif USE_PYTHON= yes USE_PYDISTUTILS= yes |