Skip to content

Commit

Permalink
Item746: create a YuiMenuContrib
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/YuiMenuContrib@1939 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
SvenDowideit authored and SvenDowideit committed Jan 12, 2009
0 parents commit f1910b6
Show file tree
Hide file tree
Showing 5 changed files with 88 additions and 0 deletions.
31 changes: 31 additions & 0 deletions data/System/YuiMenuContrib.txt
@@ -0,0 +1,31 @@
---+!! !YuiMenuContrib
<!--
One line description, required for extensions repository catalog.
* Set SHORTDESCRIPTION = add a Menu (with popup sub menus) to your Foswiki
-->
%SHORTDESCRIPTION%

%TOC%

---++ Usage

---++ Examples

---++ Installation Instructions

%$INSTALL_INSTRUCTIONS%

---++ Info

Many thanks to the following sponsors for supporting this work:
* Acknowledge any sponsors here

| Author(s): | |
| Copyright: | &copy; |
| License: | [[http://www.gnu.org/licenses/gpl.html][GPL (Gnu General Public License)]] |
| Version: | %$VERSION% |
| Change History: | <!-- versions below in reverse order -->&nbsp; |
| Dependencies: | %$DEPENDENCIES% |
| Home page: | http://foswiki.org/bin/view/Extensions/YuiMenuContrib |

<!-- Do _not_ attempt to edit this topic; it is auto-generated. -->
23 changes: 23 additions & 0 deletions lib/Foswiki/Contrib/YuiMenuContrib.pm
@@ -0,0 +1,23 @@
# Contrib for Foswiki - The Free and Open Source Wiki, http://foswiki.org/
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details, published at
# http://www.gnu.org/copyleft/gpl.html

package Foswiki::Contrib::YuiMenuContrib;

use strict;

use vars qw( $VERSION $RELEASE $SHORTDESCRIPTION );

$VERSION = '$Rev$';
$RELEASE = '';
$SHORTDESCRIPTION = 'add a Menu (with popup sub menus) to your Foswiki';

6 changes: 6 additions & 0 deletions lib/Foswiki/Contrib/YuiMenuContrib/DEPENDENCIES
@@ -0,0 +1,6 @@
# Dependencies for YuiMenuContrib
# Example:
# Time::ParseDate,>=2003.0211,cpan,Required.
# Foswiki::Plugins,>=1.2,perl,Requires version 1.2 of handler API.
Foswiki::Contrib::YahooUserInterfaceContrib,>=0,perl,uses YahooUserInterfaceContrib

4 changes: 4 additions & 0 deletions lib/Foswiki/Contrib/YuiMenuContrib/MANIFEST
@@ -0,0 +1,4 @@
# Release manifest for YuiMenuContrib
data/System/YuiMenuContrib.txt 0644 Documentation
lib/Foswiki/Contrib/YuiMenuContrib.pm 0644 Perl module

24 changes: 24 additions & 0 deletions lib/Foswiki/Contrib/YuiMenuContrib/build.pl
@@ -0,0 +1,24 @@
#!/usr/bin/perl -w
BEGIN { unshift @INC, split( /:/, $ENV{FOSWIKI_LIBS} ); }
use Foswiki::Contrib::Build;

# Create the build object
$build = new Foswiki::Contrib::Build('YuiMenuContrib');

# (Optional) Set the details of the repository for uploads.
# This can be any web on any accessible Foswiki installation.
# These defaults will be used when expanding tokens in .txt
# files, but be warned, they can be overridden at upload time!

# name of web to upload to
$build->{UPLOADTARGETWEB} = 'Extensions';
# Full URL of pub directory
$build->{UPLOADTARGETPUB} = 'http://foswiki.org/pub';
# Full URL of bin directory
$build->{UPLOADTARGETSCRIPT} = 'http://foswiki.org/bin';
# Script extension
$build->{UPLOADTARGETSUFFIX} = '';

# Build the target on the command line, or the default target
$build->build($build->{target});

0 comments on commit f1910b6

Please sign in to comment.