blob: 881b1bb8c15d134f17ec591f8b1864e74438eff0 (
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
|
# $FreeBSD$
PORTNAME= gitphp
PORTVERSION= 0.2.8
CATEGORIES= devel www
MASTER_SITES= http://www.gitphp.org/attachments/download/47/
MAINTAINER= tabthorpe@FreeBSD.org
COMMENT= A web based git repository browser written in PHP
LICENSE= GPLv2
USE_BZIP2= yes
USES= gettext
USE_PHP= bz2 fileinfo mbstring memcache posix simplexml spl zlib
WANT_PHP_WEB= yes
NO_BUILD= yes
SUB_FILES= pkg-message
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/xdiff.so:${PORTSDIR}/textproc/pecl-xdiff
do-install:
${MKDIR} ${WWWDIR}
(cd ${WRKSRC} \
&& ${COPYTREE_SHARE} \* ${WWWDIR})
${CHOWN} -R www:www ${WWWDIR}
${FIND} ${WWWDIR} -type f -exec ${CHMOD} 644 '{}' +
.if !defined(BATCH)
@ ${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.mk>
|