Index: head/www/webgrind/Makefile =================================================================== --- head/www/webgrind/Makefile (revision 400031) +++ head/www/webgrind/Makefile (revision 400032) @@ -1,43 +1,41 @@ # Created by: Li-Wen Hsu # $FreeBSD$ PORTNAME= webgrind DISTVERSION= 1.0.s${SNAPSHOT} CATEGORIES= www MAINTAINER= lwhsu@FreeBSD.org COMMENT= Xdebug Profiling Web Frontend in PHP LICENSE= BSD3CLAUSE OPTIONS_DEFINE= CALLGRAPH USE_GITHUB= yes GH_ACCOUNT= jokkedk GH_TAGNAME= dc35393 SNAPSHOT= 20140207 USE_PHP= yes NO_BUILD= yes +NO_ARCH= yes -.include +PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" -.if ${PORT_OPTIONS:MCALLGRAPH} -USES+= python -RUN_DEPENDS+= dot:${PORTSDIR}/graphics/graphviz -.endif +CALLGRAPH_USES= python +CALLGRAPH_RUN_DEPENDS= dot:${PORTSDIR}/graphics/graphviz -post-patch: - ${REINPLACE_CMD} -e 's,/usr/bin/python,/usr/local/bin/python,' ${WRKSRC}/config.php +post-patch-CALLGRAPH-on: + @${REINPLACE_CMD} -e 's,/usr/bin/python,${PYTHON_CMD},' ${WRKSRC}/config.php do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC}/ && ${COPYTREE_SHARE} "*" ${STAGEDIR}${WWWDIR} "! -name *.bak") - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR} @${FIND} ${STAGEDIR}${WWWDIR} -type f -exec ${CHMOD} 0444 {} \; @${FIND} ${STAGEDIR}${WWWDIR} -type d -exec ${CHMOD} 0755 {} \; .include Index: head/www/webgrind/pkg-plist =================================================================== --- head/www/webgrind/pkg-plist (revision 400031) +++ head/www/webgrind/pkg-plist (revision 400032) @@ -1,46 +1,50 @@ +@owner %%WWWOWN%% +@group %%WWWGRP%% %%WWWDIR%%/README.md %%WWWDIR%%/config.php %%WWWDIR%%/img/asc.gif %%WWWDIR%%/img/bg.gif %%WWWDIR%%/img/blank.gif %%WWWDIR%%/img/call_class.png %%WWWDIR%%/img/call_include.png %%WWWDIR%%/img/call_internal.png %%WWWDIR%%/img/call_procedural.png %%WWWDIR%%/img/desc.gif %%WWWDIR%%/img/down.gif %%WWWDIR%%/img/file.png %%WWWDIR%%/img/file_line.png %%WWWDIR%%/img/gradient_class.png %%WWWDIR%%/img/gradient_include.png %%WWWDIR%%/img/gradient_internal.png %%WWWDIR%%/img/gradient_left.png %%WWWDIR%%/img/gradient_markers.png %%WWWDIR%%/img/gradient_procedural.png %%WWWDIR%%/img/gradient_right.png %%WWWDIR%%/img/head.png %%WWWDIR%%/img/marker.png %%WWWDIR%%/img/reload.png %%WWWDIR%%/img/right.gif %%WWWDIR%%/index.php %%WWWDIR%%/js/jquery.blockUI.js %%WWWDIR%%/js/jquery.js %%WWWDIR%%/js/jquery.scrollTo.js %%WWWDIR%%/js/jquery.selectboxes.js %%WWWDIR%%/js/jquery.tablesorter.js %%WWWDIR%%/js/sprintf.js %%WWWDIR%%/library/FileHandler.php %%WWWDIR%%/library/Preprocessor.php %%WWWDIR%%/library/Reader.php %%WWWDIR%%/library/gprof2dot.py %%WWWDIR%%/license.txt %%WWWDIR%%/package.sh %%WWWDIR%%/styles/style.css %%WWWDIR%%/templates/fileviewer.phtml %%WWWDIR%%/templates/index.phtml -@dirrm %%WWWDIR%%/templates -@dirrm %%WWWDIR%%/styles -@dirrm %%WWWDIR%%/library -@dirrm %%WWWDIR%%/js -@dirrm %%WWWDIR%%/img -@dirrm %%WWWDIR%% +@dir %%WWWDIR%%/templates +@dir %%WWWDIR%%/styles +@dir %%WWWDIR%%/library +@dir %%WWWDIR%%/js +@dir %%WWWDIR%%/img +@dir %%WWWDIR%% +@owner +@group