blob: 9dc0972c6e404aebcb4f16be7b2b224332393b5f (
plain) (
blame)
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= http://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/
MAINTAINER= udvzsolt@gmail.com
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>
|