diff options
author | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2007-06-23 11:41:46 +0000 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2007-06-23 11:41:46 +0000 |
commit | 27af698123cfa89a6ee489d89289cded58b824ab (patch) | |
tree | 4467288da4c44f1f1fabc8d44b1feb3441ba4d0f /www/joomla/Makefile | |
parent | e58edbd77d1034745d12447f195b63c04e5c8979 (diff) |
- Use WWWDIR, to solve the problem described in [1]
- Solve fetch problem [2]
PR: ports/111014 [1], ports/112012 [2] (base on these two)
Submitted by: Scot Hetzel <swhetzel AT gmail.com> [1]
Craig Butler <craig001 AT lerwick.hopto.org> [2]
Approved by: "Francisco Cabrita <include>" <include AT npf.pt.freebsd.org>
(maintainer)
Notes
Notes:
svn path=/head/; revision=194116
Diffstat (limited to 'www/joomla/Makefile')
-rw-r--r-- | www/joomla/Makefile | 27 |
1 files changed, 11 insertions, 16 deletions
diff --git a/www/joomla/Makefile b/www/joomla/Makefile index ceed50d16832..63ebcee9eb8a 100644 --- a/www/joomla/Makefile +++ b/www/joomla/Makefile @@ -6,40 +6,35 @@ PORTNAME= joomla PORTVERSION= 1.0.12 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www -MASTER_SITES= http://forge.joomla.org/sf/frs/do/downloadFile/projects.joomla/frs.joomla_1_0.1_0_12/frs8162?dl=1/:source1 -DISTFILES= ${JOOMLA_SRC}:source1 +MASTER_SITES= http://downloads.joomlacode.org/frsrelease/2/6/4/264/ +DISTNAME= Joomla_${PORTVERSION}-Stable-Full_Package +DIST_SUBDIR= ${PORTNAME} MAINTAINER= include@npf.pt.freebsd.org COMMENT= A dynamic web content management system (CMS) NO_BUILD= yes +USE_BZIP2= 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+= JOOMLA_DIR=${JOOMLA_DIR} -PLIST_SUB+= JOOMLA_DIR=${JOOMLA_DIR} - -JOOMLA_DIR?= www/${PORTNAME} -DIST_SUBDIR= ${PORTNAME} - -JOOMLA_SRC= Joomla_${PORTVERSION}-Stable-Full_Package.tar.bz2 do-extract: @${MKDIR} ${WRKSRC} - @${TAR} -yxf ${DISTDIR}/${DIST_SUBDIR}/${JOOMLA_SRC} -C ${WRKSRC} + @${TAR} -yxf ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} -C ${WRKSRC} do-install: - @${MKDIR} ${PREFIX}/${JOOMLA_DIR} + @${MKDIR} ${WWWDIR} @cd ${WRKSRC} && \ - ${FIND} . -type d -exec ${MKDIR} ${PREFIX}/${JOOMLA_DIR}/{} \; \ - -exec ${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${JOOMLA_DIR}/{} \; + ${FIND} . -type d -exec ${MKDIR} ${WWWDIR}/{} \; \ + -exec ${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/{} \; @cd ${WRKSRC} && \ - ${FIND} . \! -type d -exec ${INSTALL_DATA} {} ${PREFIX}/${JOOMLA_DIR}/{} \; \ - -exec ${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${JOOMLA_DIR}/{} \; + ${FIND} . \! -type d -exec ${INSTALL_DATA} {} ${WWWDIR}/{} \; \ + -exec ${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/{} \; post-install: @${CAT} ${PKGMESSAGE} |