svn commit: r474265 - head/www/pyjamas
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon Jul 9 15:07:50 UTC 2018
Author: amdmi3
Date: Mon Jul 9 15:07:49 2018
New Revision: 474265
URL: https://svnweb.freebsd.org/changeset/ports/474265
Log:
- Fix shebangs
- Add NO_ARCH
- Switch to options helpers
Approved by: portmgr blanket
Modified:
head/www/pyjamas/Makefile
Modified: head/www/pyjamas/Makefile
==============================================================================
--- head/www/pyjamas/Makefile Mon Jul 9 15:07:22 2018 (r474264)
+++ head/www/pyjamas/Makefile Mon Jul 9 15:07:49 2018 (r474265)
@@ -3,7 +3,7 @@
PORTNAME= pyjamas
PORTVERSION= 0.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www python
MASTER_SITES= SF/${PORTNAME}/OldFiles
DISTNAME= Pyjamas-${PORTVERSION}
@@ -12,8 +12,14 @@ MAINTAINER= nivit at FreeBSD.org
COMMENT= Port of Google Web Toolkit to Python
# install/require some libraries in sys.prefix
-USES= python:2.7
+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,'
@@ -21,10 +27,10 @@ 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}
+ @${FIND} ${WRKSRC}/examples -type f -name "build.sh" -print0 | ${XARGS} -0 ${REINPLACE_CMD}
-post-install:
- ${MKDIR} ${STAGEDIR}${DOCSDIR}/img
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}/img
cd ${WRKSRC}/doc && ${CP} *.html ${STAGEDIR}${DOCSDIR} && \
${CP} img/* ${STAGEDIR}${DOCSDIR}/img
More information about the svn-ports-head
mailing list