1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Update to 1.01.

Submitted by:	maintainer
This commit is contained in:
Alexander Leidinger 2010-08-25 08:03:43 +00:00
parent c3f03316b9
commit f61179a5c2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=259957
3 changed files with 59 additions and 14 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= rnews
PORTVERSION= 0.92
PORTVERSION= 1.01
CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
@ -34,6 +34,8 @@ USE_PHP+= gd
RUN_DEPENDS+= ${LOCALBASE}/libexec/mysqld:${PORTSDIR}/databases/mysql${MYSQL_VER}-server
.endif
RUN_DEPENDS+= curl:${PORTSDIR}/ftp/curl
.if !defined(NOPORTDOCS)
PORTDOCS= CHANGELOG INSTALL LICENSE README UPGRADE
.endif
@ -44,18 +46,23 @@ do-install:
@${FIND} -s ${WRKSRC} -type d | ${SED} -e 's,^${WRKSRC},${WWWDIR},' \
| ${XARGS} ${MKDIR}
${INSTALL_DATA} -v ${WRKSRC}/*.php ${WWWDIR}
${INSTALL_DATA} ${WRKSRC}/*.css ${WWWDIR}
${INSTALL_DATA} ${WRKSRC}/*.js ${WWWDIR}
${INSTALL_DATA} -v ${WRKSRC}/*.css ${WWWDIR}
${INSTALL_DATA} -v ${WRKSRC}/*.js ${WWWDIR}
${INSTALL_DATA} ${WRKSRC}/.htaccess ${WWWDIR}
${INSTALL_DATA} ${WRKSRC}/tmp/.htaccess ${WWWDIR}/tmp
${INSTALL_DATA} ${WRKSRC}/favicon.ico ${WWWDIR}
${INSTALL_DATA} ${WRKSRC}/help.html ${WWWDIR}
${INSTALL_DATA} -v ${WRKSRC}/img/*.gif ${WWWDIR}/img
${INSTALL_DATA} ${WRKSRC}/img/*.png ${WWWDIR}/img
${INSTALL_DATA} ${WRKSRC}/img/*.jpg ${WWWDIR}/img
${INSTALL_DATA} -v ${WRKSRC}/img/*.png ${WWWDIR}/img
${INSTALL_DATA} -v ${WRKSRC}/img/*.jpg ${WWWDIR}/img
( ${FIND} ${WRKSRC}/inc -type f -not -name config_user.php -a -not -name config.php; ${ECHO} ${WWWDIR}/inc ) \
| ${XARGS} ${INSTALL_DATA} -v
${INSTALL_DATA} -v ${WRKSRC}/magpierss/*.inc ${WWWDIR}/magpierss
${INSTALL_DATA} ${WRKSRC}/magpierss/extlib/Snoopy.class.inc ${WWWDIR}/magpierss/extlib
${INSTALL_DATA} -v ${WRKSRC}/opml/*.opml ${WWWDIR}/opml
@${CHOWN} ${WWWOWN} ${WWWDIR}/magpierss/cache
@${CHOWN} ${WWWOWN} ${WWWDIR}/img/feeds
@${CHOWN} ${WWWOWN} ${WWWDIR}/tmp
.for FILE in ${CONFIGS}
${INSTALL_DATA} ${WRKSRC}/${FILE} ${WWWDIR}/${FILE}.sample
.endfor
@ -78,7 +85,8 @@ post-install:
create-plist:
@${FIND} -s ${WRKSRC} \( -name "*.php" -o -name "*.inc" -o -name "*.js" -o -name "*.css" -o -name "*.jpg" \
-o -name "*.gif" -o -name "*.png" -o -name ".htaccess" \) -and -not -name config_user.php \
-o -name "*.gif" -o -name "*.png" -o -name ".htaccess" -o -name "help.html" -o -name "favicon.ico" -o -name "*.opml" \) \
-and -not -name config_user.php -and -not -name config.php \
| ${SED} -e 's,^${WRKSRC},%%WWWDIR%%,' > ${PLIST}
.for FILE in ${CONFIGS}
@${ECHO_CMD} '@exec if [ ! -f %D/%%WWWDIR%%/${FILE} ]; then \

View File

@ -1,3 +1,3 @@
MD5 (rnews-0.92.tar.gz) = c084b033e82593744642baa682cc435e
SHA256 (rnews-0.92.tar.gz) = 2518245736604414b75abf4f9a09e8ac1eaaa649d0185e681b04563008b092c0
SIZE (rnews-0.92.tar.gz) = 135874
MD5 (rnews-1.01.tar.gz) = afa4c64e341b8e756844767ac8ddb401
SHA256 (rnews-1.01.tar.gz) = ccf838d46ab2143c8e5d5106e9a98279e95be111e57969e4555ae299645f0972
SIZE (rnews-1.01.tar.gz) = 168782

View File

@ -3,11 +3,15 @@
%%WWWDIR%%/add_user.php
%%WWWDIR%%/ajax.js
%%WWWDIR%%/ajax.php
%%WWWDIR%%/all.js
%%WWWDIR%%/auth.php
%%WWWDIR%%/book.php
%%WWWDIR%%/cron.php
%%WWWDIR%%/export.php
%%WWWDIR%%/favicon.ico
%%WWWDIR%%/foot.php
%%WWWDIR%%/functions.js
%%WWWDIR%%/help.html
%%WWWDIR%%/img/b1-add_hv.png
%%WWWDIR%%/img/b1-add_nm.png
%%WWWDIR%%/img/b1-block.png
@ -16,6 +20,12 @@
%%WWWDIR%%/img/b1-blockw.png
%%WWWDIR%%/img/b1-blockw_hv.png
%%WWWDIR%%/img/b1-blockw_nm.png
%%WWWDIR%%/img/b1-filt-all.png
%%WWWDIR%%/img/b1-filt-all_hv.png
%%WWWDIR%%/img/b1-filt-all_nm.png
%%WWWDIR%%/img/b1-filt-new.png
%%WWWDIR%%/img/b1-filt-new_hv.png
%%WWWDIR%%/img/b1-filt-new_nm.png
%%WWWDIR%%/img/b1-list.png
%%WWWDIR%%/img/b1-list_hv.png
%%WWWDIR%%/img/b1-list_nm.png
@ -37,22 +47,40 @@
%%WWWDIR%%/img/b2-x_nm.png
%%WWWDIR%%/img/feedhdbg.png
%%WWWDIR%%/img/hdrbg.png
%%WWWDIR%%/img/ib-bg.png
%%WWWDIR%%/img/ib-delete_hv.png
%%WWWDIR%%/img/ib-delete_nm.png
%%WWWDIR%%/img/ib-fontbg_hv.png
%%WWWDIR%%/img/ib-fontbg_nm.png
%%WWWDIR%%/img/ib-fontsm_hv.png
%%WWWDIR%%/img/ib-fontsm_nm.png
%%WWWDIR%%/img/ib-link_hv.png
%%WWWDIR%%/img/ib-link_nm.png
%%WWWDIR%%/img/ib-mark_hv.png
%%WWWDIR%%/img/ib-mark_nm.png
%%WWWDIR%%/img/ib-marked_hv.png
%%WWWDIR%%/img/ib-marked_nm.png
%%WWWDIR%%/img/ib-markold_hv.png
%%WWWDIR%%/img/ib-markold_nm.png
%%WWWDIR%%/img/ib-star_hv.png
%%WWWDIR%%/img/ib-star_nm.png
%%WWWDIR%%/img/ib-unstar_hv.png
%%WWWDIR%%/img/ib-unstar_nm.png
%%WWWDIR%%/img/loading.gif
%%WWWDIR%%/img/more-seen.png
%%WWWDIR%%/img/more.png
%%WWWDIR%%/img/more_hv.png
%%WWWDIR%%/img/more_nm.png
%%WWWDIR%%/img/morew_hv.png
%%WWWDIR%%/img/morew_nm.png
%%WWWDIR%%/img/rnews-logo.png
%%WWWDIR%%/img/screenshot-0.90-sm-g.jpg
%%WWWDIR%%/img/screenshot-sm-g.jpg
%%WWWDIR%%/img/xml.png
%%WWWDIR%%/inc/.htaccess
%%WWWDIR%%/inc/cl_cat.php
%%WWWDIR%%/inc/cl_config.php
%%WWWDIR%%/inc/cl_configw.php
%%WWWDIR%%/inc/cl_db.php
%%WWWDIR%%/inc/cl_feed.php
%%WWWDIR%%/inc/cl_feedlink.php
%%WWWDIR%%/inc/cl_user.php
%%WWWDIR%%/inc/config.php
%%WWWDIR%%/inc/functions.php
%%WWWDIR%%/inc/kses.php
%%WWWDIR%%/inc/opml.php
@ -67,12 +95,19 @@
%%WWWDIR%%/magpierss/rss_fetch.inc
%%WWWDIR%%/magpierss/rss_parse.inc
%%WWWDIR%%/magpierss/rss_utils.inc
%%WWWDIR%%/opml/amusement.opml
%%WWWDIR%%/opml/deals.opml
%%WWWDIR%%/opml/language.opml
%%WWWDIR%%/opml/news.opml
%%WWWDIR%%/opml/photos.opml
%%WWWDIR%%/opml/tech.opml
%%WWWDIR%%/prefs.php
%%WWWDIR%%/redirect.php
%%WWWDIR%%/rnews-ie6.css
%%WWWDIR%%/rnews-side.css
%%WWWDIR%%/rollover.js
%%WWWDIR%%/search.php
%%WWWDIR%%/tmp/.htaccess
@exec if [ ! -f %D/%%WWWDIR%%/inc/config.php ]; then install -o root -g wheel -m 444 %D/%%WWWDIR%%/inc/config.php.sample %D/%%WWWDIR%%/inc/config.php; /usr/sbin/chown www %D/%%WWWDIR%%/inc/config.php; /bin/chmod u+w %D/%%WWWDIR%%/inc/config.php; fi
@exec if [ ! -f %D/%%WWWDIR%%/inc/config_user.php ]; then install -o root -g wheel -m 444 %D/%%WWWDIR%%/inc/config_user.php.sample %D/%%WWWDIR%%/inc/config_user.php; /usr/sbin/chown www %D/%%WWWDIR%%/inc/config_user.php; /bin/chmod u+w %D/%%WWWDIR%%/inc/config_user.php; fi
@unexec if cmp -s %D/%%WWWDIR%%/inc/config.php.sample %D/%%WWWDIR%%/inc/config.php; then /bin/rm -f %D/%%WWWDIR%%/inc/config.php; fi
@ -85,4 +120,6 @@
@dirrm %%WWWDIR%%/magpierss/cache
@dirrm %%WWWDIR%%/magpierss/extlib
@dirrm %%WWWDIR%%/magpierss
@dirrm %%WWWDIR%%/opml
@dirrm %%WWWDIR%%/tmp
@dirrm %%WWWDIR%%