blob: 46c4bf0caf92270e695be255e4b9e3c55f94c12b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Created by: Li-Wen Hsu <lwhsu@FreeBSD.org>
# $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
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
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC}/ && ${COPYTREE_SHARE} "*" ${STAGEDIR}${WWWDIR} "! -name *.bak")
@${FIND} ${STAGEDIR}${WWWDIR} -type f -exec ${CHMOD} 0444 {} \;
@${FIND} ${STAGEDIR}${WWWDIR} -type d -exec ${CHMOD} 0755 {} \;
.include <bsd.port.mk>
|