mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Update to 0.7.6
- Submitter takes maintainership PR: ports/85825 Submitted by: Soeren Straarup <xride@x12.dk>
This commit is contained in:
parent
2ef667d411
commit
b51862ed15
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=142280
@ -6,13 +6,13 @@
|
||||
#
|
||||
|
||||
PORTNAME= bBlog
|
||||
PORTVERSION= 0.7.4
|
||||
PORTVERSION= 0.7.6
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= bblog
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= xride@x12.dk
|
||||
COMMENT= A elegant personal publishing system with Smarty
|
||||
|
||||
USE_PHP= mysql pcre session
|
||||
@ -21,7 +21,7 @@ NO_BUILD= YES
|
||||
WANT_PHP_WEB= YES
|
||||
|
||||
TMPDIR?= blog
|
||||
WRKSRC= ${WRKDIR}/${TMPDIR}
|
||||
WRKSRC= ${WRKDIR}
|
||||
WWWDOCROOT?= www/data-dist
|
||||
BBLOGURL?= bblog
|
||||
WWWOWN?= www
|
||||
@ -48,22 +48,27 @@ pre-patch:
|
||||
.endif
|
||||
|
||||
pre-install:
|
||||
cd ${WRKSRC}/${BBLOGURL} && ${FIND} -s . -type f | \
|
||||
cd ${WRKSRC} && ${FIND} -s . -type f | \
|
||||
${GREP} -v _done. | \
|
||||
${GREP} -v '.PLIST' | \
|
||||
${SED} -e 's|^./||;s|^|${BBLOGDIR}/|' > ${PLIST} \
|
||||
&& ${FIND} -d * -type d | \
|
||||
${SED} -e 's|^|@dirrm ${BBLOGDIR}/|' >> ${PLIST} \
|
||||
&& ${ECHO_CMD} @dirrm ${BBLOGDIR} >> ${PLIST}
|
||||
|
||||
do-install:
|
||||
-${MKDIR} ${PREFIX}/${BBLOGDIR}
|
||||
@${MKDIR} ${PREFIX}/${BBLOGDIR}
|
||||
@${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${BBLOGDIR}
|
||||
@${CHMOD} 755 ${PREFIX}/${BBLOGDIR}
|
||||
@${CP} -R ${WRKSRC}/${BBLOGURL}/ ${PREFIX}/${BBLOGDIR}
|
||||
@${CHMOD} 775 ${PREFIX}/${BBLOGDIR}/install.php
|
||||
@${CHMOD} 775 ${PREFIX}/${BBLOGDIR}/compiled_templates/
|
||||
@${CHMOD} 775 ${PREFIX}/${BBLOGDIR}/cache/
|
||||
@${CHMOD} 775 ${PREFIX}/${BBLOGDIR}/cache/favorites.xml
|
||||
@${CHMOD} 775 ${PREFIX}/${BBLOGDIR}/config.php
|
||||
@${CP} -R ${WRKSRC}/ ${PREFIX}/${BBLOGDIR}
|
||||
@${RM} ${PREFIX}/${BBLOGDIR}/.PLIST*
|
||||
@${RM} ${PREFIX}/${BBLOGDIR}/.*done*
|
||||
# @${CP} -R ${WRKSRC}/${BBLOGURL}/ ${PREFIX}/${BBLOGDIR}
|
||||
@${CHMOD} 775 ${PREFIX}/${BBLOGDIR}/bblog/install.php
|
||||
@${CHMOD} 775 ${PREFIX}/${BBLOGDIR}/bblog/compiled_templates/
|
||||
@${CHMOD} 775 ${PREFIX}/${BBLOGDIR}/bblog/cache/
|
||||
@${CHMOD} 775 ${PREFIX}/${BBLOGDIR}/bblog/cache/favorites.xml
|
||||
@${CHMOD} 775 ${PREFIX}/${BBLOGDIR}/bblog/config.php
|
||||
|
||||
post-install:
|
||||
@${SED} -e 's|%%BBLOGURL%%|${BBLOGURL}|' ${PKGMESSAGE}
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (bBlog-0.7.4.tar.gz) = a8170b28c1ef7d2e8b85cc656009ea49
|
||||
SIZE (bBlog-0.7.4.tar.gz) = 306347
|
||||
MD5 (bBlog-0.7.6.tar.gz) = 1dff970b988e8545f3f5751d06055ae8
|
||||
SIZE (bBlog-0.7.6.tar.gz) = 297459
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
For first use of bBLog, remember to point your browser to
|
||||
|
||||
http://localhost/%%BBLOGURL%%/install.php
|
||||
http://localhost/%%BBLOGURL%%/bblog/install.php
|
||||
|
||||
At the end of the install when the config file is written to disk, you
|
||||
should change the permissions back to 755 so it is not writable by the
|
||||
|
Loading…
Reference in New Issue
Block a user