mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
38e2f457fc
Submitted by: se (via private email)
47 lines
1002 B
Makefile
47 lines
1002 B
Makefile
# Created by: Francisco Cabrita <include@npf.pt.freebsd.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= joomla
|
|
PORTVERSION= 3.1.1
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
|
COMMENT= Dynamic web content management system (CMS)
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LATEST_LINK= joomla31
|
|
|
|
GH_ACCOUNT= ${PORTNAME}
|
|
GH_PROJECT= ${PORTNAME}-cms
|
|
GH_COMMIT= 9bafaf2
|
|
|
|
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
|
|
WWWDIR= ${PREFIX}/www/joomla31
|
|
|
|
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 -or -name README.md \) \
|
|
-exec ${INSTALL_DATA} {} ${WWWDIR}/{} \; \
|
|
-exec ${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/{} \;
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|