# Created by: Nicola Vitale # $FreeBSD$ PORTNAME= pyjamas PORTVERSION= 0.5 PORTREVISION= 2 CATEGORIES= www python MASTER_SITES= SF/${PORTNAME}/OldFiles DISTNAME= Pyjamas-${PORTVERSION} MAINTAINER= nivit@FreeBSD.org COMMENT= Port of Google Web Toolkit to Python # install/require some libraries in sys.prefix USES= python:2.7 shebangfix SHEBANG_FILES= examples/dynamictable/testjsonservice.py \ examples/infohierarchy/public/services/EchoService.py \ examples/jsonrpc/public/services/EchoService.py \ examples/showcase/compile.py \ pyjs/tests/test-report.py USE_PYTHON= distutils autoplist pythonprefix NO_ARCH= yes REINPLACE_ARGS= -i '' -e 's,../../bin,${PREFIX}/bin,' OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|/usr/share/pyjamas|${DATADIR}|' ${WRKSRC}/setup.py @${FIND} ${WRKSRC}/examples -type f -name "build.sh" -print0 | ${XARGS} -0 ${REINPLACE_CMD} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/img cd ${WRKSRC}/doc && ${CP} *.html ${STAGEDIR}${DOCSDIR} && \ ${CP} img/* ${STAGEDIR}${DOCSDIR}/img .include