summaryrefslogtreecommitdiff
path: root/www/bblog
diff options
context:
space:
mode:
authorSam Lawrance <lawrance@FreeBSD.org>2005-09-09 10:56:31 +0000
committerSam Lawrance <lawrance@FreeBSD.org>2005-09-09 10:56:31 +0000
commitb51862ed15b2dd960d1234b91286316e7861257f (patch)
tree84add6a4dd5c67a89e1bfac940578e9dd5f08572 /www/bblog
parentUpdate to 1.33 (diff)
- Update to 0.7.6
- Submitter takes maintainership PR: ports/85825 Submitted by: Soeren Straarup <xride@x12.dk>
Notes
Notes: svn path=/head/; revision=142280
Diffstat (limited to 'www/bblog')
-rw-r--r--www/bblog/Makefile27
-rw-r--r--www/bblog/distinfo4
-rw-r--r--www/bblog/pkg-message2
3 files changed, 19 insertions, 14 deletions
diff --git a/www/bblog/Makefile b/www/bblog/Makefile
index 3946cf2b528e..ea4983beccbc 100644
--- a/www/bblog/Makefile
+++ b/www/bblog/Makefile
@@ -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}
diff --git a/www/bblog/distinfo b/www/bblog/distinfo
index ca9fb213d6f9..ddae7059e8a3 100644
--- a/www/bblog/distinfo
+++ b/www/bblog/distinfo
@@ -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
diff --git a/www/bblog/pkg-message b/www/bblog/pkg-message
index db2e2813c492..406d80d78e29 100644
--- a/www/bblog/pkg-message
+++ b/www/bblog/pkg-message
@@ -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