Lines 2-16
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= gitlist |
4 |
PORTNAME= gitlist |
5 |
PORTVERSION= 0.5.0 |
5 |
PORTVERSION= 1.0.1 |
6 |
CATEGORIES= devel www |
6 |
CATEGORIES= devel www |
7 |
MASTER_SITES= https://s3.amazonaws.com/gitlist/ \ |
7 |
MASTER_SITES= https://github.com/klaussilveira/gitlist/releases/download/1.0.1/ \ |
8 |
http://freebsd.ark-ict.nl/ports/ |
8 |
http://freebsd.ark-ict.nl/ports/ |
9 |
|
9 |
|
10 |
MAINTAINER= andre@ark-ict.nl |
10 |
MAINTAINER= andre@ark-ict.nl |
11 |
COMMENT= Web based Git repository browser written in PHP |
11 |
COMMENT= Web based Git repository browser written in PHP |
12 |
|
12 |
|
13 |
LICENSE= BSD2CLAUSE |
13 |
LICENSE= BSD3CLAUSE |
14 |
LICENSE_FILE= ${WRKSRC}/LICENSE.txt |
14 |
LICENSE_FILE= ${WRKSRC}/LICENSE.txt |
15 |
|
15 |
|
16 |
RUN_DEPENDS= git:devel/git |
16 |
RUN_DEPENDS= git:devel/git |
Lines 26-36
Link Here
|
26 |
SUB_FILES= pkg-message |
26 |
SUB_FILES= pkg-message |
27 |
|
27 |
|
28 |
post-patch: |
28 |
post-patch: |
|
|
29 |
${FIND} ${WRKSRC}/vendor/klaussilveira/gitter/lib/Gitter/Model/ -name \*.php -exec ${SED} -i '' 's/Object/Objekt/g' {} \; |
30 |
${MV} ${WRKSRC}/vendor/klaussilveira/gitter/lib/Gitter/Model/Object.php ${WRKSRC}/vendor/klaussilveira/gitter/lib/Gitter/Model/Objekt.php |
29 |
${MKDIR} ${WRKSRC}/cache |
31 |
${MKDIR} ${WRKSRC}/cache |
30 |
cd ${WRKSRC}; \ |
32 |
cd ${WRKSRC}; \ |
31 |
${REINPLACE_CMD} -e 's|/usr/bin/git|/usr/local/bin/git|g' config.ini-example; \ |
33 |
${REINPLACE_CMD} -e 's|/usr/bin/git|/usr/local/bin/git|g' config.ini-example; \ |
32 |
${FIND} . ! -type d | ${SORT} | ${SED} -e "s,^\.,%%WWWDIR%%," > ${PLIST}; |
34 |
${FIND} . ! -type d | ${SORT} | ${SED} -e "s,^\.,%%WWWDIR%%," > ${PLIST}; |
33 |
${ECHO} "@dir %%WWWDIR%%/vendor/phpmd/phpmd/setup" >> ${PLIST} |
|
|
34 |
${ECHO} "@dir(${WWWOWN},${WWWGRP},) %%WWWDIR%%/cache" >> ${PLIST} |
35 |
${ECHO} "@dir(${WWWOWN},${WWWGRP},) %%WWWDIR%%/cache" >> ${PLIST} |
35 |
|
36 |
|
36 |
do-install: |
37 |
do-install: |