mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-28 10:08:24 +00:00
f34cdc5137
- Trim Makefile header - Remove indefinite article from COMMENT - Add LICENSE (GPLv2) - Use GitHub as download site - Remove do-extract target - Reformat pkg-message Build log: http://goo.gl/fb8t7 Release Notes: http://goo.gl/UXhi8 Submitted by: se (via private email) [1]
46 lines
971 B
Makefile
46 lines
971 B
Makefile
# Created by: Francisco Cabrita <include@npf.pt.freebsd.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= joomla
|
|
PORTVERSION= 2.5.11
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
|
COMMENT= Dynamic web content management system (CMS)
|
|
|
|
LICENSE= GPLv2
|
|
|
|
CONFLICTS= joomla-1.*.*
|
|
LATEST_LINK= joomla25
|
|
|
|
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
|
|
|
|
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>
|