blob: e804a89cfebf1aa68138fa95fddfa3373b0a8fd0 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Created by: Francisco Cabrita <include@npf.pt.freebsd.org>
# $FreeBSD$
PORTNAME= joomla
PORTVERSION= 3.7.0
CATEGORIES= www
PKGNAMESUFFIX= 3
MAINTAINER= ler@FreeBSD.org
COMMENT= Dynamic web content management system (CMS)
LICENSE= GPLv2
GH_PROJECT= ${PORTNAME}-cms
NO_ARCH= yes
NO_BUILD= yes
OPTIONS_DEFINE= MYSQL PGSQL
OPTIONS_DEFAULT=MYSQL
OPTIONS_SUB= yes
PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
USES= php:web shebangfix
SHEBANG_FILES= build/indexmaker.php \
libraries/vendor/leafo/lessphp/lessify
SUB_FILES= pkg-message
USE_GITHUB= yes
USE_PHP= gd json mbstring pcre pdf session simplexml xml zip zlib
MYSQL_USE= PHP=mysqli
PGSQL_USE= PHP=pgsql
WWWDIR= ${PREFIX}/www/${PORTNAME}${PORTVERSION:R:R}
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
@(cd ${WRKSRC} && \
${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${WWWDIR}/{} \;)
@(cd ${WRKSRC} && \
${FIND} . \! -type d -and \! \( -name .gitignore -or -name .travis.yml \
-or -name travisci-phpunit.xml -or -name LICENSE.txt \
-or -name README.md \) \
-exec ${INSTALL_DATA} {} ${STAGEDIR}${WWWDIR}/{} \;)
.include <bsd.port.mk>
|