freebsd-ports/www/pyjamas/Makefile
Marcus von Appen 1b0994ee1e - Convert USE_PYTHON to new USES in www/
With hat:	python@
2015-01-03 08:41:20 +00:00

31 lines
824 B
Makefile

# Created by: Nicola Vitale <nivit@FreeBSD.org>
# $FreeBSD$
PORTNAME= pyjamas
PORTVERSION= 0.5
PORTREVISION= 1
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
USE_PYTHON= distutils autoplist pythonprefix
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:
${MKDIR} ${STAGEDIR}${DOCSDIR}/img
cd ${WRKSRC}/doc && ${CP} *.html ${STAGEDIR}${DOCSDIR} && \
${CP} img/* ${STAGEDIR}${DOCSDIR}/img
.include <bsd.port.mk>