2012-09-22 20:04:50 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gitphp
|
2012-10-24 14:37:27 +00:00
|
|
|
PORTVERSION= 0.2.8
|
2012-09-22 20:04:50 +00:00
|
|
|
CATEGORIES= devel www
|
2012-10-24 14:37:27 +00:00
|
|
|
MASTER_SITES= http://www.gitphp.org/attachments/download/47/
|
2012-09-22 20:04:50 +00:00
|
|
|
|
|
|
|
MAINTAINER= tabthorpe@FreeBSD.org
|
|
|
|
COMMENT= A web based git repository browser written in PHP
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
2013-04-24 18:10:30 +00:00
|
|
|
USES= gettext
|
2012-09-22 20:04:50 +00:00
|
|
|
USE_PHP= bz2 fileinfo mbstring memcache posix simplexml spl zlib
|
|
|
|
WANT_PHP_WEB= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
2012-09-28 20:25:53 +00:00
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/xdiff.so:${PORTSDIR}/textproc/pecl-xdiff
|
|
|
|
|
2012-09-22 20:04:50 +00:00
|
|
|
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>
|