aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/webgrind/Makefile7
-rw-r--r--www/webgrind/distinfo6
-rw-r--r--www/webgrind/pkg-plist3
3 files changed, 9 insertions, 7 deletions
diff --git a/www/webgrind/Makefile b/www/webgrind/Makefile
index 9a0d5af81af8..0d11c325b861 100644
--- a/www/webgrind/Makefile
+++ b/www/webgrind/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= webgrind
-PORTVERSION= 1.4.0
+PORTVERSION= 1.5.0
DISTVERSIONPREFIX=v
CATEGORIES= www
@@ -26,6 +26,8 @@ PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
CALLGRAPH_USES= python
CALLGRAPH_RUN_DEPENDS= dot:graphics/graphviz
+CALLGRAPH_DESC= Enable call graph
+
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
@@ -33,7 +35,8 @@ post-patch-CALLGRAPH-on:
do-install:
@${RM} ${WRKSRC}/library/preprocessor.cpp ${WRKSRC}/makefile
@${MKDIR} ${STAGEDIR}${WWWDIR}/bin
- (cd ${WRKSRC}/ && ${COPYTREE_SHARE} "*" ${STAGEDIR}${WWWDIR})
+ (cd ${WRKSRC}/ && ${COPYTREE_SHARE} "*" ${STAGEDIR}${WWWDIR} \
+ '! -name license.txt ! -name package.sh')
${INSTALL_PROGRAM} ${WRKSRC}/bin/preprocessor ${STAGEDIR}${WWWDIR}/bin
.include <bsd.port.mk>
diff --git a/www/webgrind/distinfo b/www/webgrind/distinfo
index f952bd7f71f6..e012f30af73c 100644
--- a/www/webgrind/distinfo
+++ b/www/webgrind/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1480918901
-SHA256 (jokkedk-webgrind-v1.4.0_GH0.tar.gz) = 06ce5f428394e7c031734b4c4d26460c3d712bc64a80dd0792bbe211bd012a04
-SIZE (jokkedk-webgrind-v1.4.0_GH0.tar.gz) = 82347
+TIMESTAMP = 1496726780
+SHA256 (jokkedk-webgrind-v1.5.0_GH0.tar.gz) = cd42376807da4fc6c1c326f294d9cb7f71577b79c2d1f846035a3247c049e750
+SIZE (jokkedk-webgrind-v1.5.0_GH0.tar.gz) = 82570
diff --git a/www/webgrind/pkg-plist b/www/webgrind/pkg-plist
index 61d7a20a5df6..1742ecdd1eb1 100644
--- a/www/webgrind/pkg-plist
+++ b/www/webgrind/pkg-plist
@@ -38,8 +38,7 @@
%%WWWDIR%%/library/Preprocessor.php
%%WWWDIR%%/library/Reader.php
%%WWWDIR%%/library/gprof2dot.py
-%%WWWDIR%%/license.txt
-%%WWWDIR%%/package.sh
+%%WWWDIR%%/styles/custom.css
%%WWWDIR%%/styles/style.css
%%WWWDIR%%/templates/fileviewer.phtml
%%WWWDIR%%/templates/index.phtml