diff options
author | lawrance <lawrance@FreeBSD.org> | 2005-09-09 18:56:31 +0800 |
---|---|---|
committer | lawrance <lawrance@FreeBSD.org> | 2005-09-09 18:56:31 +0800 |
commit | 2773da16bc228cb406e71d54e99a6e8092d2429c (patch) | |
tree | 7f8ec0d3e604185ac85698b178e75fbe16390eb9 /www/bblog | |
parent | a61d4f4be060c1f5b79d90edae4d3894c167999d (diff) | |
download | freebsd-ports-gnome-2773da16bc228cb406e71d54e99a6e8092d2429c.tar.gz freebsd-ports-gnome-2773da16bc228cb406e71d54e99a6e8092d2429c.tar.zst freebsd-ports-gnome-2773da16bc228cb406e71d54e99a6e8092d2429c.zip |
- Update to 0.7.6
- Submitter takes maintainership
PR: ports/85825
Submitted by: Soeren Straarup <xride@x12.dk>
Diffstat (limited to 'www/bblog')
-rw-r--r-- | www/bblog/Makefile | 27 | ||||
-rw-r--r-- | www/bblog/distinfo | 4 | ||||
-rw-r--r-- | www/bblog/pkg-message | 2 |
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 |