blob: cd94bc08c0fdfeb4156ec1b01492431786986e31 (
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
|
# Created by: Wen heping <wenheping@gmail.com>
PORTNAME= elgg
PORTVERSION= 3.3.23
CATEGORIES= www
MASTER_SITES= http://elgg.org/download/
MAINTAINER= wen@FreeBSD.org
COMMENT= Blogging and social networking platform
LICENSE= GPLv2
USE_PHP= curl dom filter gd hash intl json mbstring pdo_mysql \
session simplexml soap sqlite3 xml xmlrpc
USES= cpe gettext shebangfix zip php
SHEBANG_FILES= vendor/elgg/elgg/.scripts/validate_commit_msg.php
NO_BUILD= yes
PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
SUB_FILES= pkg-message
ELGGDATADIR= ${WWWDIR}/data
do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
@${INSTALL} -d ${STAGEDIR}${ELGGDATADIR}
@${CHMOD} 755 ${STAGEDIR}${ELGGDATADIR}
@${CHMOD} 755 ${STAGEDIR}${WWWDIR}/elgg-config
.include <bsd.port.mk>
|