blob: ead2e05eac2cc40a51ed9babe25b833fbf1bba92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $FreeBSD$
PORTNAME= kohana
PORTVERSION= 3.3.6
DISTVERSIONPREFIX= v
CATEGORIES= www
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/
MAINTAINER= uzsolt@uzsolt.hu
COMMENT= Elegant HMVC PHP5 framework
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.md
USES= php zip
NO_BUILD= yes
NO_ARCH= yes
SUB_FILES= pkg-message
post-patch:
@${REINPLACE_CMD} "s,'system','${WWWDIR}/system', ; \
s,'modules','${WWWDIR}/modules'," ${WRKSRC}/index.php
do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} "application example.htaccess \
index.php install.php modules system" ${STAGEDIR}${WWWDIR}
.include <bsd.port.mk>
|