blob: b9ae83ce6db8288ab3f937bd3306381d87bf1622 (
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
|
# Created by: Francisco Cabrita <include@npf.pt.freebsd.org>
# $FreeBSD$
PORTNAME= joomla
PORTVERSION= 2.5.11
CATEGORIES= www
PKGNAMESUFFIX= 2
MAINTAINER= nivit@FreeBSD.org
COMMENT= Dynamic web content management system (CMS)
LICENSE= GPLv2
CONFLICTS= joomla-1.*.*
GH_ACCOUNT= ${PORTNAME}
GH_PROJECT= ${PORTNAME}-cms
GH_COMMIT= 6897f9b
NO_BUILD= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
USE_GITHUB= yes
USE_MYSQL= yes
USE_PHP= gd json mbstring mysql mysqli pcre pdf session simplexml xml zip zlib
WANT_PHP_WEB= yes
NO_STAGE= yes
do-install:
@${MKDIR} ${WWWDIR}
@cd ${WRKSRC} && \
${FIND} . -type d -exec ${MKDIR} ${WWWDIR}/{} \; \
-exec ${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/{} \;
@cd ${WRKSRC} && \
${FIND} . \! -type d -and \! \( -name .gitignore -or -name LICENSE.txt \) \
-exec ${INSTALL_DATA} {} ${WWWDIR}/{} \; \
-exec ${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/{} \;
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|