1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00

31 lines
745 B
Makefile

# $FreeBSD$
PORTNAME= gitphp
PORTVERSION= 0.2.8
PORTREVISION= 1
CATEGORIES= devel www
MASTER_SITES= https://github.com/xiphux/gitphp/releases/download/${PORTVERSION}/
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: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>