Date: Wed, 9 Sep 2015 11:00:47 +0000 (UTC) From: Bartek Rutkowski <robak@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r396463 - in head/devel: . gitlist gitlist/files Message-ID: <201509091100.t89B0lhD037779@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: robak Date: Wed Sep 9 11:00:46 2015 New Revision: 396463 URL: https://svnweb.freebsd.org/changeset/ports/396463 Log: devel/gitlist: NEW PORT - Web based Git repository browser written in PHP GitList is a web based git repository browser written in PHP similar to GitHub WWW: http://gitlist.org PR: 198063 Submitted by: Andre Rikkert de Koe <andre@ark-ict.nl> Added: head/devel/gitlist/ head/devel/gitlist/Makefile (contents, props changed) head/devel/gitlist/distinfo (contents, props changed) head/devel/gitlist/files/ head/devel/gitlist/files/pkg-message.in (contents, props changed) head/devel/gitlist/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Wed Sep 9 10:58:55 2015 (r396462) +++ head/devel/Makefile Wed Sep 9 11:00:46 2015 (r396463) @@ -637,6 +637,7 @@ SUBDIR += git-bzr-ng SUBDIR += git-codereview SUBDIR += git-extras + SUBDIR += git-list SUBDIR += git-lite SUBDIR += git-merge-changelog SUBDIR += git-modes Added: head/devel/gitlist/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/gitlist/Makefile Wed Sep 9 11:00:46 2015 (r396463) @@ -0,0 +1,48 @@ +# Created by: Andre Rikkert de Koe - ARK-ICT <andre@ark-ict.nl> +# $FreeBSD$ + +PORTNAME= gitlist +PORTVERSION= 0.5.0 +CATEGORIES= devel www +MASTER_SITES= https://s3.amazonaws.com/gitlist/ \ + http://freebsd.ark-ict.nl/ports/ + +MAINTAINER= andre@ark-ict.nl +COMMENT= Web based Git repository browser written in PHP + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= git:${PORTSDIR}/devel/git + +PLIST= ${WRKDIR}/plist +WRKSRC= ${WRKDIR}/${PORTNAME} + +NO_BUILD= yes +WANT_PHP_WEB= yes + +USERS?= ${WWWOWN} +GROUPS?= ${WWWGRP} +SUB_FILES= pkg-message + +post-patch: + ${MKDIR} ${WRKSRC}/cache + cd ${WRKSRC}; \ + ${REINPLACE_CMD} -e 's|/usr/bin/git|/usr/local/bin/git|g' config.ini-example; \ + ${FIND} . ! -type d | ${SORT} | ${SED} -e "s,^\.,%%WWWDIR%%," > ${PLIST}; + ${ECHO} "@dir %%WWWDIR%%/vendor/phpmd/phpmd/setup" >> ${PLIST} + ${ECHO} "@dir(${WWWOWN},${WWWGRP},) %%WWWDIR%%/cache" >> ${PLIST} + +do-install: + cd ${WRKSRC}; \ + IFS="$$(printf '\n\t')"; \ + for src in $$( ${FIND} . ); do \ + dst="${STAGEDIR}${WWWDIR}$${src#.}"; \ + if ${TEST} -d "$$src"; then \ + ${MKDIR} "$$dst"; \ + else \ + ${INSTALL_DATA} "$$src" "$$dst"; \ + fi \ + done + +.include <bsd.port.mk> Added: head/devel/gitlist/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/gitlist/distinfo Wed Sep 9 11:00:46 2015 (r396463) @@ -0,0 +1,2 @@ +SHA256 (gitlist-0.5.0.tar.gz) = 5f47a42580e2ae4ef156c726c4127316c1bbe6d3f22b93299354bb2aa0458bad +SIZE (gitlist-0.5.0.tar.gz) = 3045723 Added: head/devel/gitlist/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/gitlist/files/pkg-message.in Wed Sep 9 11:00:46 2015 (r396463) @@ -0,0 +1,5 @@ +The port will install an htdocs dir %%WWWDIR%%. +Copy %%WWWDIR%%/config.ini-example +to %%WWWDIR%%/config.ini and +edit it to make it use your git repositories. +Then configure your webserver to use the htdocs directory. Added: head/devel/gitlist/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/gitlist/pkg-descr Wed Sep 9 11:00:46 2015 (r396463) @@ -0,0 +1,3 @@ +GitList is a web based git repository browser written in PHP similar to GitHub + +WWW: http://gitlist.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509091100.t89B0lhD037779>