Lines 2-14
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= gitlist |
4 |
PORTNAME= gitlist |
5 |
DISTVERSION= 1.0.1 |
5 |
DISTVERSION= 1.0.2 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= devel www |
6 |
CATEGORIES= devel www |
8 |
MASTER_SITES= https://github.com/klaussilveira/gitlist/releases/download/${DISTVERSION}/ \ |
7 |
MASTER_SITES= https://github.com/klaussilveira/gitlist/releases/download/${DISTVERSION}/ \ |
9 |
http://freebsd.ark-ict.nl/ports/ |
8 |
https://freebsd.ark-ict.nl/ports/ |
10 |
|
9 |
|
11 |
MAINTAINER= andre@ark-ict.nl |
10 |
MAINTAINER= freebsd-ports@misc.ark-ict.nl |
12 |
COMMENT= Web based Git repository browser written in PHP |
11 |
COMMENT= Web based Git repository browser written in PHP |
13 |
|
12 |
|
14 |
LICENSE= BSD3CLAUSE |
13 |
LICENSE= BSD3CLAUSE |
Lines 16-35
Link Here
|
16 |
|
15 |
|
17 |
RUN_DEPENDS= git:devel/git |
16 |
RUN_DEPENDS= git:devel/git |
18 |
|
17 |
|
|
|
18 |
NO_BUILD= yes |
19 |
USES= php:web |
20 |
USE_PHP= ctype hash json simplexml |
21 |
|
19 |
PLIST= ${WRKDIR}/plist |
22 |
PLIST= ${WRKDIR}/plist |
20 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
23 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
21 |
|
24 |
|
22 |
NO_BUILD= yes |
|
|
23 |
USES= php:web |
24 |
USE_PHP= ctype hash simplexml |
25 |
|
26 |
USERS?= ${WWWOWN} |
25 |
USERS?= ${WWWOWN} |
27 |
GROUPS?= ${WWWGRP} |
26 |
GROUPS?= ${WWWGRP} |
28 |
SUB_FILES= pkg-message |
27 |
SUB_FILES= pkg-message |
29 |
|
28 |
|
30 |
post-patch: |
29 |
post-patch: |
31 |
${FIND} ${WRKSRC}/vendor/klaussilveira/gitter/lib/Gitter/Model/ -name \*.php -exec ${SED} -i '' 's/Object/Objekt/g' {} \; |
|
|
32 |
${MV} ${WRKSRC}/vendor/klaussilveira/gitter/lib/Gitter/Model/Object.php ${WRKSRC}/vendor/klaussilveira/gitter/lib/Gitter/Model/Objekt.php |
33 |
${MKDIR} ${WRKSRC}/cache |
30 |
${MKDIR} ${WRKSRC}/cache |
34 |
cd ${WRKSRC}; \ |
31 |
cd ${WRKSRC}; \ |
35 |
${REINPLACE_CMD} -e 's|/usr/bin/git|/usr/local/bin/git|g' config.ini-example; \ |
32 |
${REINPLACE_CMD} -e 's|/usr/bin/git|/usr/local/bin/git|g' config.ini-example; \ |
Lines 47-51
Link Here
|
47 |
${INSTALL_DATA} "$$src" "$$dst"; \ |
44 |
${INSTALL_DATA} "$$src" "$$dst"; \ |
48 |
fi \ |
45 |
fi \ |
49 |
done |
46 |
done |
|
|
47 |
${RM} -r "${WWWDIR}/cache/views" |
50 |
|
48 |
|
51 |
.include <bsd.port.mk> |
49 |
.include <bsd.port.mk> |