1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/www/joomla15/Makefile
2014-02-28 16:21:41 +00:00

41 lines
1.1 KiB
Makefile

# Created by: Roberto Nunnari <robi@nunnisoft.ch>
# $FreeBSD$
PORTNAME= joomla15
PORTVERSION= 1.5.24
CATEGORIES= www
MASTER_SITES= http://joomlacode.org/gf/download/frsrelease/15898/68912/ \
http://linux3.dti.supsi.ch/downloads/
DISTNAME= Joomla_${PORTVERSION}-Stable-Full_Package
MAINTAINER= robi@nunnisoft.ch
COMMENT= A dynamic web content management system (CMS)
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE.php
FETCH_CMD= fetch -Rr
USE_BZIP2= yes
NO_BUILD= yes
USE_MYSQL= yes
USE_PHP= mysql pcre xml zlib session gd pdf
WANT_PHP_WEB= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
SUB_LIST+= PORTVERSION="${PORTVERSION}"
do-extract:
@${MKDIR} ${WRKSRC}
@${TAR} -yxf ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} -C ${WRKSRC}
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
@cd ${WRKSRC} && \
${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${WWWDIR}/{} \; \
-exec ${CHOWN} ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}/{} \;
@cd ${WRKSRC} && \
${FIND} . \! -type d -exec ${INSTALL_DATA} {} ${STAGEDIR}${WWWDIR}/{} \; \
-exec ${CHOWN} ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}/{} \;
.include <bsd.port.mk>