1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/www/elgg/Makefile
2022-03-29 07:26:49 +00:00

34 lines
842 B
Makefile

# Created by: Wen heping <wenheping@gmail.com>
PORTNAME= elgg
PORTVERSION= 3.3.23
CATEGORIES= www
MASTER_SITES= http://elgg.org/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Blogging and social networking platform
LICENSE= GPLv2
USES= cpe gettext shebangfix zip php
USE_PHP= curl dom filter gd hash intl json mbstring pdo_mysql \
session simplexml soap sqlite3 xml xmlrpc
IGNORE_WITH_PHP= 81
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>