ports/124099: [MAINTAINER] www/yahoo-ui: update to 2.5.2
Greg Larkin
glarkin at sourcehosting.net
Thu May 29 13:50:02 UTC 2008
>Number: 124099
>Category: ports
>Synopsis: [MAINTAINER] www/yahoo-ui: update to 2.5.2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu May 29 13:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Greg Larkin
>Release: FreeBSD 7.0-RELEASE i386
>Organization:
SourceHosting.net, LLC
>Environment:
System: FreeBSD fbsd70.entropy.prv 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
>Description:
- Update to 2.5.2
- Added a new option to easily omit documentation and examples
- Minor Makefile tweaks
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- yahoo-ui-2.5.2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/yahoo-ui.orig/Makefile /usr/ports/www/yahoo-ui/Makefile
--- /usr/ports/www/yahoo-ui.orig/Makefile 2008-03-24 15:07:24.000000000 -0400
+++ /usr/ports/www/yahoo-ui/Makefile 2008-05-29 09:40:52.724746154 -0400
@@ -6,7 +6,7 @@
#
PORTNAME= yahoo
-PORTVERSION= 2.5.1
+PORTVERSION= 2.5.2
CATEGORIES= www
MASTER_SITES= SF
MASTER_SITE_SUBDIR= yui
@@ -21,10 +21,16 @@
WRKSRC= ${WRKDIR}/yui
NO_BUILD= yes
-OPTIONS= APACHE "Configure for Apache-2.x" off
+OPTIONS= APACHE "Configure for Apache-2.x" off \
+ MINIMAL "Do not install documentation and examples" off
.include <bsd.port.pre.mk>
+.if defined(WITH_MINIMAL)
+NOPORTDOCS= yes
+NOPORTEXAMPLES= yes
+.endif
+
.if defined(WITH_APACHE)
USE_APACHE= 2.0+
CONFDIR= ${PREFIX}/${CONFDIR_REL}
@@ -33,6 +39,18 @@
CONF= yui.conf
SUB_FILES+= pkg-message ${CONF}
+
+.if defined(NOPORTDOCS)
+SUB_LIST+= HASHMARK1=\#
+.else
+SUB_LIST+= HASHMARK1=
+.endif
+
+.if defined(NOPORTEXAMPLES)
+SUB_LIST+= HASHMARK2=\#
+.else
+SUB_LIST+= HASHMARK2=
+.endif
.else
PLIST_SUB+= NOAPACHE="@comment "
.endif
@@ -40,13 +58,13 @@
do-install:
@cd ${WRKSRC} && ${COPYTREE_SHARE} "assets build index.html \
tests" ${WWWDIR}
- ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
+ @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} \
${WWWDIR:S|^${PREFIX}/|%D/|}' >> ${TMPPLIST}
- ${FIND} ${WWWDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
+ @${FIND} ${WWWDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
@${ECHO_CMD} '@exec ${FIND} ${WWWDIR} -type f -print0 | \
${XARGS} -0 ${CHMOD} 644' >> ${TMPPLIST}
- ${FIND} ${WWWDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
+ @${FIND} ${WWWDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
@${ECHO_CMD} '@exec ${FIND} ${WWWDIR} -type d -print0 | \
${XARGS} -0 ${CHMOD} 755' >> ${TMPPLIST}
diff -ruN --exclude=CVS /usr/ports/www/yahoo-ui.orig/distinfo /usr/ports/www/yahoo-ui/distinfo
--- /usr/ports/www/yahoo-ui.orig/distinfo 2008-03-24 15:07:24.000000000 -0400
+++ /usr/ports/www/yahoo-ui/distinfo 2008-05-29 08:55:13.009560700 -0400
@@ -1,3 +1,3 @@
-MD5 (yui_2.5.1.zip) = 7416914904daa7d953583483db67609c
-SHA256 (yui_2.5.1.zip) = a87d3596c5bde3c1f5ca3f6a3956e5d38ffeb0aa36f4e032e213a353a0b201d9
-SIZE (yui_2.5.1.zip) = 9287362
+MD5 (yui_2.5.2.zip) = eaadfcbcb651c50092bb679266aa3c20
+SHA256 (yui_2.5.2.zip) = 0d81f219a25c4b4b560b8c912317407e4450e5b6260b548a0aec1c271eb40af7
+SIZE (yui_2.5.2.zip) = 9974867
diff -ruN --exclude=CVS /usr/ports/www/yahoo-ui.orig/files/pkg-message.in /usr/ports/www/yahoo-ui/files/pkg-message.in
--- /usr/ports/www/yahoo-ui.orig/files/pkg-message.in 2008-01-30 11:48:00.000000000 -0500
+++ /usr/ports/www/yahoo-ui/files/pkg-message.in 2008-05-29 09:31:07.870335225 -0400
@@ -4,3 +4,6 @@
Note that you should restart your Apache web server to ensure that
the YUI configuration file is loaded.
+
+Then browse to http://localhost/yahoo/ for documentation and examples,
+if you've installed them.
diff -ruN --exclude=CVS /usr/ports/www/yahoo-ui.orig/files/yui.conf.in /usr/ports/www/yahoo-ui/files/yui.conf.in
--- /usr/ports/www/yahoo-ui.orig/files/yui.conf.in 2008-02-01 16:37:22.000000000 -0500
+++ /usr/ports/www/yahoo-ui/files/yui.conf.in 2008-05-29 09:31:39.320208323 -0400
@@ -1,5 +1,5 @@
-Alias /yahoo/docs %%DOCSDIR%%
-Alias /yahoo/examples %%EXAMPLESDIR%%
+%%HASHMARK1%%Alias /yahoo/docs %%DOCSDIR%%
+%%HASHMARK2%%Alias /yahoo/examples %%EXAMPLESDIR%%
Alias /yahoo %%WWWDIR%%
<Location /yahoo>
diff -ruN --exclude=CVS /usr/ports/www/yahoo-ui.orig/pkg-plist /usr/ports/www/yahoo-ui/pkg-plist
--- /usr/ports/www/yahoo-ui.orig/pkg-plist 2008-03-24 15:07:24.000000000 -0400
+++ /usr/ports/www/yahoo-ui/pkg-plist 2008-05-29 09:20:42.015451128 -0400
@@ -1,4 +1,4 @@
-%%PORTDOCS%%%%DOCSDIR%%/README
+%%NOAPACHE%%%%CONFDIR%%/yui.conf
%%PORTDOCS%%%%DOCSDIR%%/Anim.js.html
%%PORTDOCS%%%%DOCSDIR%%/AnimMgr.js.html
%%PORTDOCS%%%%DOCSDIR%%/ArrayAssert.js.html
@@ -64,6 +64,7 @@
%%PORTDOCS%%%%DOCSDIR%%/Panel.js.html
%%PORTDOCS%%%%DOCSDIR%%/PieChart.js.html
%%PORTDOCS%%%%DOCSDIR%%/Profiler.js.html
+%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/RecordSet.js.html
%%PORTDOCS%%%%DOCSDIR%%/Region.js.html
%%PORTDOCS%%%%DOCSDIR%%/RootNode.js.html
@@ -659,6 +660,9 @@
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/datatable/dt_nestedheaders.html
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/datatable/dt_nestedheaders_clean.html
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/datatable/dt_nestedheaders_log.html
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/datatable/dt_row_coloring.html
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/datatable/dt_row_coloring_clean.html
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/datatable/dt_row_coloring_log.html
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/datatable/dt_rowadddelete.html
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/datatable/dt_rowadddelete_clean.html
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/datatable/dt_rowadddelete_log.html
@@ -1307,6 +1311,7 @@
%%WWWDIR%%/build/assets/skins/sam/split-button-arrow.png
%%WWWDIR%%/build/assets/skins/sam/sprite.png
%%WWWDIR%%/build/assets/skins/sam/tabview.css
+%%WWWDIR%%/build/assets/skins/sam/transparent.gif
%%WWWDIR%%/build/assets/skins/sam/treeview-loading.gif
%%WWWDIR%%/build/assets/skins/sam/treeview-sprite.gif
%%WWWDIR%%/build/assets/skins/sam/treeview.css
@@ -1402,6 +1407,7 @@
%%WWWDIR%%/build/datatable/assets/skins/sam/datatable.css
%%WWWDIR%%/build/datatable/assets/skins/sam/dt-arrow-dn.png
%%WWWDIR%%/build/datatable/assets/skins/sam/dt-arrow-up.png
+%%WWWDIR%%/build/datatable/assets/skins/sam/transparent.gif
%%WWWDIR%%/build/datatable/datatable-beta-debug.js
%%WWWDIR%%/build/datatable/datatable-beta-min.js
%%WWWDIR%%/build/datatable/datatable-beta.js
@@ -1630,7 +1636,6 @@
%%WWWDIR%%/tests/yuiloader_config.html
%%WWWDIR%%/tests/yuiloader_rollup.html
%%WWWDIR%%/tests/yuitest.html
-%%NOAPACHE%%%%CONFDIR%%/yui.conf
@dirrm %%WWWDIR%%/tests/assets
@dirrm %%WWWDIR%%/tests
@dirrm %%WWWDIR%%/build/yuitest/assets/skins/sam
@@ -1796,6 +1801,7 @@
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/datatable/assets/img
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/datatable/assets/images
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/datatable/assets/html
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/datatable/assets/css
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/datatable/assets
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/datatable
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/cookie
@@ -1815,9 +1821,12 @@
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/base
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/autocomplete/assets/php
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/autocomplete/assets/js
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/autocomplete/assets/css
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/autocomplete/assets
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/autocomplete
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/animation
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%/assets
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%PORTEXAMPLES%%@exec mkdir -p %D/%%EXAMPLESDIR%%/datatable/assets/css
+%%PORTEXAMPLES%%@exec mkdir -p %D/%%EXAMPLESDIR%%/autocomplete/assets/css
--- yahoo-ui-2.5.2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list