1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/devel/gitphp/Makefile

34 lines
733 B
Makefile
Raw Normal View History

# $FreeBSD$
PORTNAME= gitphp
2012-10-24 14:37:27 +00:00
PORTVERSION= 0.2.8
CATEGORIES= devel www
2012-10-24 14:37:27 +00:00
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>