freebsd-ports/devel/gitphp/Makefile
Antoine Brodin 36924302f8 - Allow staging as a regular user
- Bump portrevision as files were not packaged with intended owner
2014-09-21 15:19:44 +00:00

30 lines
737 B
Makefile

# $FreeBSD$
PORTNAME= gitphp
PORTVERSION= 0.2.8
PORTREVISION= 1
CATEGORIES= devel www
MASTER_SITES= http://www.gitphp.org/attachments/download/47/
MAINTAINER= ports@FreeBSD.org
COMMENT= Web based git repository browser written in PHP
LICENSE= GPLv2
USES= gettext tar:bzip2
USE_PHP= bz2 fileinfo mbstring memcache posix simplexml spl zlib
WANT_PHP_WEB= yes
NO_BUILD= yes
PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
SUB_FILES= pkg-message
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/xdiff.so:${PORTSDIR}/textproc/pecl-xdiff
do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC} \
&& ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
${FIND} ${STAGEDIR}${WWWDIR} -type f -exec ${CHMOD} 644 '{}' +
.include <bsd.port.mk>