Index: head/www/webgrind/Makefile =================================================================== --- head/www/webgrind/Makefile (revision 428032) +++ head/www/webgrind/Makefile (revision 428033) @@ -1,38 +1,39 @@ # Created by: Li-Wen Hsu # $FreeBSD$ PORTNAME= webgrind -DISTVERSION= 1.0.s${SNAPSHOT} +PORTVERSION= 1.4.0 +DISTVERSIONPREFIX=v CATEGORIES= www -MAINTAINER= lwhsu@FreeBSD.org +MAINTAINER= franco@opnsense.org COMMENT= Xdebug Profiling Web Frontend in PHP LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/license.txt +MAKEFILE= ${WRKSRC}/makefile + OPTIONS_DEFINE= CALLGRAPH USE_GITHUB= yes GH_ACCOUNT= jokkedk -GH_TAGNAME= dc35393 -SNAPSHOT= 20140207 - USES= php -NO_BUILD= yes -NO_ARCH= yes - PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" CALLGRAPH_USES= python CALLGRAPH_RUN_DEPENDS= dot:graphics/graphviz post-patch-CALLGRAPH-on: @${REINPLACE_CMD} -e 's,/usr/bin/python,${PYTHON_CMD},' ${WRKSRC}/config.php + @${REINPLACE_CMD} -e 's,/usr/bin/dot,/usr/local/bin/dot,' ${WRKSRC}/config.php do-install: - @${MKDIR} ${STAGEDIR}${WWWDIR} - (cd ${WRKSRC}/ && ${COPYTREE_SHARE} "*" ${STAGEDIR}${WWWDIR} "! -name *.bak") + @${RM} ${WRKSRC}/library/preprocessor.cpp ${WRKSRC}/makefile + @${MKDIR} ${STAGEDIR}${WWWDIR}/bin + (cd ${WRKSRC}/ && ${COPYTREE_SHARE} "*" ${STAGEDIR}${WWWDIR}) + ${INSTALL_PROGRAM} ${WRKSRC}/bin/preprocessor ${STAGEDIR}${WWWDIR}/bin .include Index: head/www/webgrind/distinfo =================================================================== --- head/www/webgrind/distinfo (revision 428032) +++ head/www/webgrind/distinfo (revision 428033) @@ -1,2 +1,3 @@ -SHA256 (jokkedk-webgrind-1.0.s20140207-dc35393_GH0.tar.gz) = df099b796ee741c4648b6b93700080068978099f94ca0ce00c7683bb2ce421ad -SIZE (jokkedk-webgrind-1.0.s20140207-dc35393_GH0.tar.gz) = 74273 +TIMESTAMP = 1480918901 +SHA256 (jokkedk-webgrind-v1.4.0_GH0.tar.gz) = 06ce5f428394e7c031734b4c4d26460c3d712bc64a80dd0792bbe211bd012a04 +SIZE (jokkedk-webgrind-v1.4.0_GH0.tar.gz) = 82347 Index: head/www/webgrind/files/patch-makefile =================================================================== --- head/www/webgrind/files/patch-makefile (nonexistent) +++ head/www/webgrind/files/patch-makefile (revision 428033) @@ -0,0 +1,17 @@ +--- makefile.orig 2016-12-06 17:20:09 UTC ++++ makefile +@@ -1,4 +1,5 @@ +-CXX = g++ ++CXX ?= g++ ++CXXFLAGS ?= -O2 + SRCS = library/preprocessor.cpp + OUT = bin/preprocessor + +@@ -15,6 +16,6 @@ clean: + rm -f $(OUT) + + $(OUT): $(SRCS) +- $(CXX) -o $(OUT) -O2 -s $(SRCS) ++ $(CXX) -o $(OUT) $(CXXFLAGS) -s $(SRCS) + + .PHONY: all help clean Property changes on: head/www/webgrind/files/patch-makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/www/webgrind/pkg-plist =================================================================== --- head/www/webgrind/pkg-plist (revision 428032) +++ head/www/webgrind/pkg-plist (revision 428033) @@ -1,50 +1,53 @@ @owner %%WWWOWN%% @group %%WWWGRP%% %%WWWDIR%%/README.md +%%WWWDIR%%/bin/preprocessor +%%WWWDIR%%/composer.json %%WWWDIR%%/config.php +%%WWWDIR%%/favicon.ico %%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 @dir %%WWWDIR%%/templates @dir %%WWWDIR%%/styles @dir %%WWWDIR%%/library @dir %%WWWDIR%%/js @dir %%WWWDIR%%/img @dir %%WWWDIR%% @owner @group