Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/editors
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv15764

Modified Files:
        nano.info 
Removed Files:
        nano-noutf8.info nano-small.info 
Log Message:
Moving last version from unstable to stable.


--- nano-small.info DELETED ---

Index: nano.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/editors/nano.info,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- nano.info   13 Jul 2008 22:24:17 -0000      1.5
+++ nano.info   22 Nov 2008 00:43:36 -0000      1.6
@@ -1,63 +1,70 @@
-Package: nano
-Version: 2.0.7
-Revision: 1001
+Info2: <<
+Package: nano%type_pkg[nano]
+Version: 2.0.9
+Revision: 1003
 Description: Free Pico clone with some new features
+Type: nano (. -noutf8 -small)
 License: GPL
 Maintainer: Andreas Gockel <[EMAIL PROTECTED]>
-Depends: libncursesw5-shlibs (>= 5.4-20041023-1001), libiconv, 
libgettext3-shlibs
-BuildDepends: libncursesw5 (>= 5.4-20041023-1001), libgettext3-dev, 
gettext-bin, gettext-tools, libiconv-dev
-Replaces: %n-unstable, nano-small, nano-noutf8
-Conflicts: %n-unstable, nano-small, nano-noutf8
-Source: http://www.%n-editor.org/dist/v2.0/%n-%v.tar.gz
-Source-MD5: 16187fed2bdefec6275ece6401ce4cd2
-ConfigureParams: --enable-extra --enable-color --enable-multibuffer 
--enable-%nrc --enable-all --disable-dependency-tracking --enable-utf8
-InstallScript: <<
- make install prefix=%i
- /usr/bin/install -d -m 755 %i/etc
- /usr/bin/install -c -m 644 %b/doc/%nrc.sample %i/etc/%nrc
+Depends: <<
+ (%type_raw[nano] = .) libncursesw5-shlibs (>= 5.4-20041023-1001),
+ (%type_raw[nano] != .) libncurses5-shlibs (>= 5.4-20041023-1006),
+ (%type_raw[nano] != -small) libiconv,
+ (%type_raw[nano] != -small) libgettext3-shlibs
 <<
-DocFiles: <<
- ABOUT-NLS AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO UPGRADE
- doc/faq.html doc/texinfo/%n.html doc/texinfo/%n.texi po/ChangeLog:ChangeLog.po
- doc/man/fr/%n.1.html:%n.1.html.fr doc/man/fr/%nrc.5.html:%nrc.5.html.fr
- doc/man/fr/r%n.1.html:r%n.1.html.fr doc/man/%n.1.html doc/man/%nrc.5.html
- doc/man/r%n.1.html doc/%nrc.sample
+BuildDepends: <<
+ fink (>= 0.27.2),
+ (%type_raw[nano] = .) libncursesw5 (>= 5.4-20041023-1001),
+ (%type_raw[nano] != .) libncurses5 (>= 5.4-20041023-1006),
+ (%type_raw[nano] != -small) libiconv-dev,
+ (%type_raw[nano] != -small) libgettext3-dev,
+ (%type_raw[nano] != -small) gettext-bin,
+ (%type_raw[nano] != -small) gettext-tools
 <<
-PostInstScript: <<
- set -e
- if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
-  update-alternatives --install %p/bin/editor editor %p/bin/%n 70 \
-   --slave %p/share/man/man1/editor.1 editor.1 %p/share/man/man1/%n.1
-  update-alternatives --install %p/etc/editorrc editorrc %p/etc/%nrc 70
-  update-alternatives --install %p/bin/editor editor %p/bin/r%n 25 \
-   --slave %p/share/man/man1/editor.1 editor.1 %p/share/man/man1/r%n.1
+Replaces: nano-unstable, nano-small, nano-noutf8, nano-cur, nano
+Conflicts: nano-unstable, nano-small, nano-noutf8, nano-cur, nano
+Source: http://www.nano-editor.org/dist/v2.0/nano-%v.tar.gz
+Source-MD5: 2be94dc43fb60fff4626a2401a977220
+ConfigureParams: --disable-dependency-tracking
+CompileScript: <<
+ #!/bin/sh -ev
+ if [ "%type_raw[nano]" == "-noutf8" ]; then
+  ./configure %c --disable-utf8 --enable-extra --enable-color 
--enable-multibuffer --enable-nanorc --enable-all
+ elif [ "%type_raw[nano]" == "-small" ]; then
+  ./configure %c --disable-utf8 --disable-nls --disable-all --enable-tiny
+ elif [ "%type_raw[nano]" == "." ]; then
+  ./configure %c --enable-utf8 --enable-extra --enable-color 
--enable-multibuffer --enable-nanorc --enable-all
  fi
+ make
 <<
-PreRmScript: <<
- set -e
- if [ "$1" != "upgrade" ]; then
-  update-alternatives --remove editor %p/bin/%n
-  update-alternatives --remove editor %p/bin/r%n
-  update-alternatives --remove editorrc %p/etc/%nrc
+InstallScript: <<
+ #!/bin/sh -ev
+ make install prefix=%i
+ if [ "%type_raw[nano]" != "-small" ]; then
+  /usr/bin/install -d -m 755 %i/etc
+  /usr/bin/install -c -m 644 %b/doc/nanorc.sample %i/etc/nanorc
+  /usr/bin/gzip -9 %i/share/man/{,fr/}man{1/{,r}nano.1,5/nanorc.5}
  fi
 <<
-ConfFiles: %p/etc/%nrc
-InfoDocs: %n.info
+DocFiles: <<
+ ABOUT-NLS AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO UPGRADE
+ doc/faq.html doc/texinfo/nano.html doc/texinfo/nano.texi 
po/ChangeLog:ChangeLog.po
+ doc/man/fr/nano.1.html:nano.1.html.fr doc/man/fr/rnano.1.html:rnano.1.html.fr
+ doc/man/nano.1.html doc/man/rnano.1.html
+ (%type_raw[nano] != -small) doc/nanorc.sample
+ (%type_raw[nano] != -small) doc/man/fr/nanorc.5.html:nanorc.5.html.fr
+ (%type_raw[nano] != -small) doc/man/nanorc.5.html
+<<
+ConfFiles: (%type_raw[nano] != -small) %p/etc/nanorc
+InfoDocs: nano.info
 Homepage: http://www.nano-editor.org/
 DescDetail: <<
- GNU %n is a free replacement for Pico, the default Pine editor. GNU %n
+ GNU nano is a free replacement for Pico, the default Pine editor. GNU nano
  is an effort to provide a Pico-like editor, but also includes some features
  that were missing in the original, such as 'search and replace', 'goto line'
  or internationalization support.
 <<
 DescUsage: <<
- Uses update-alternatives in case users wants to change between
- default editor.
- .
- The sample config was in %p/share/doc/%n/%nrc.sample and %p/etc/%nrc
+ The sample config is in %p/share/doc/%n/nanorc.sample and %p/etc/nanorc.
 <<
-DescPackaging: <<
- Added --enable-nanorc to support config files.
- .
- Previous versions by Jeremy Higgs
 <<

--- nano-noutf8.info DELETED ---


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to