89f8adeee2
PR: 128911 Submitted by: Wen Heping <wenheping@gmail.com> Approved by: maintainer
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# New ports collection makefile for: www/joomla15
|
|
# Date created: 4 march 2008
|
|
# Whom: Roberto Nunnari <robi@nunnisoft.ch>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= joomla15
|
|
PORTVERSION= 1.5.8
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://joomlacode.org/gf/download/frsrelease/8897/32886/ \
|
|
http://web.dti.supsi.ch/downloads/
|
|
DISTNAME= Joomla_${PORTVERSION}-Stable-Full_Package
|
|
|
|
MAINTAINER= robi@nunnisoft.ch
|
|
COMMENT= A dynamic web content management system (CMS)
|
|
|
|
FETCH_CMD= fetch -Rr
|
|
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
|
|
|
|
do-extract:
|
|
@${MKDIR} ${WRKSRC}
|
|
@${TAR} -yxf ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} -C ${WRKSRC}
|
|
|
|
do-install:
|
|
@${MKDIR} ${WWWDIR}
|
|
@cd ${WRKSRC} && \
|
|
${FIND} . -type d -exec ${MKDIR} ${WWWDIR}/{} \; \
|
|
-exec ${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/{} \;
|
|
@cd ${WRKSRC} && \
|
|
${FIND} . \! -type d -exec ${INSTALL_DATA} {} ${WWWDIR}/{} \; \
|
|
-exec ${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/{} \;
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|