1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

www/cmsmadesimple: 1.9.1 -> 1.12

Changelog:
  1.12: http://dev.cmsmadesimple.org/project/changelog/4940
  1.11.13: http://dev.cmsmadesimple.org/project/changelog/4909
Older changes see:
  http://dev.cmsmadesimple.org/project/files/6
Taking maintainer.

PR:		201442
Approved by:	wen (maintainer)
This commit is contained in:
Kurt Jaeger 2015-07-10 11:17:38 +00:00
parent 250458d716
commit 323ea1cb54
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=391698
3 changed files with 1231 additions and 1626 deletions

View File

@ -2,60 +2,46 @@
# $FreeBSD$
PORTNAME= cmsmadesimple
PORTVERSION= 1.9.1
PORTVERSION= 1.12
CATEGORIES= www
MASTER_SITES= http://s3.amazonaws.com/cmsms/downloads/6491/
MASTER_SITES= http://s3.amazonaws.com/cmsms/downloads/12553/
DISTNAME= ${PORTNAME}-${PORTVERSION}-full
MAINTAINER= wen@FreeBSD.org
MAINTAINER= pi@FreeBSD.org
COMMENT= Simple Open Source CMS
LICENSE= GPLv2
USE_PHP= mysql tokenizer gd
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
NO_BUILD= yes
SUB_FILES= pkg-message
WRKSRC= ${WRKDIR}
CMS_DIRS= admin doc images install lib \
CMS_DIRS= admin doc install lib \
modules plugins tmp uploads
CMS_FILES= favicon_cms.ico fileloc.php include.php \
index.php moduleinterface.php \
soap.php stylesheet.css \
stylesheet.php version.php
version.php
WRITABLE_DIRS= tmp tmp/templates_c tmp/cache \
uploads uploads/images modules
.include <bsd.port.pre.mk>
post-extract:
@cd ${WRKSRC} && ${RM} -f config.php
cd ${WRKSRC} && ${RM} -f config.php
do-install:
.for i in ${CMS_DIRS}
@cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${STAGEDIR}${WWWDIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${STAGEDIR}${WWWDIR}
.endfor
.for i in ${CMS_FILES}
@cd ${WRKSRC} && ${CP} ${i} ${STAGEDIR}${WWWDIR}/${i}
cd ${WRKSRC} && ${CP} ${i} ${STAGEDIR}${WWWDIR}/${i}
.endfor
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
@${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}
@if [ ! -f ${STAGEDIR}${WWWDIR}/config.php ]; then \
${FIND} ${STAGEDIR}${WWWDIR} -type d -print0 | ${XARGS} -0 ${CHOWN} ${WWWOWN}:${WWWGRP}
if [ ! -f ${STAGEDIR}${WWWDIR}/config.php ]; then \
${TOUCH} ${STAGEDIR}${WWWDIR}/config.php ; fi
post-install:
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \
>> ${TMPPLIST}
@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' \
>> ${TMPPLIST}
.for i in ${WRITABLE_DIRS}
@${CHMOD} 775 ${STAGEDIR}${WWWDIR}/${i}
@${ECHO_CMD} '@exec ${CHMOD} 775 ${WWWDIR}/${i}' \
>> ${TMPPLIST}
.endfor
@${CHMOD} 666 ${STAGEDIR}${WWWDIR}/config.php
@${ECHO_CMD} '@exec ${CHMOD} 666 ${WWWDIR}/config.php' \
>> ${TMPPLIST}
.include <bsd.port.post.mk>

View File

@ -1,2 +1,2 @@
SHA256 (cmsmadesimple-1.9.1-full.tar.gz) = 939acc833b502b9e837b34160559b87f78139e6c1209f1624e6ae9533adad63a
SIZE (cmsmadesimple-1.9.1-full.tar.gz) = 5851380
SHA256 (cmsmadesimple-1.12-full.tar.gz) = 5bcc38c68f3fed7b476a22740e599cd01733de33394ae17c2c1fe97cff9d1eaa
SIZE (cmsmadesimple-1.12-full.tar.gz) = 5295495

File diff suppressed because it is too large Load Diff