[24574] trunk/dports/editors/nano/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sat Apr 28 09:05:27 PDT 2007


Revision: 24574
          http://trac.macosforge.org/projects/macports/changeset/24574
Author:   pipping at macports.org
Date:     2007-04-28 09:05:26 -0700 (Sat, 28 Apr 2007)

Log Message:
-----------
maintainer update (#11864)

Modified Paths:
--------------
    trunk/dports/editors/nano/Portfile

Modified: trunk/dports/editors/nano/Portfile
===================================================================
--- trunk/dports/editors/nano/Portfile	2007-04-28 16:03:25 UTC (rev 24573)
+++ trunk/dports/editors/nano/Portfile	2007-04-28 16:05:26 UTC (rev 24574)
@@ -2,8 +2,7 @@
 
 PortSystem 1.0
 name             nano
-version          2.0.5
-revision         1
+version          2.0.6
 categories       editors
 maintainers      n.oxyde at gmail.com
 description      Nano's ANOther editor - enhanced free Pico Clone
@@ -15,9 +14,9 @@
 
 homepage         http://www.nano-editor.org/
 master_sites     ${homepage}dist/v[strsed ${version} {/\.[0-9]*$//}]/ gnu
-checksums        md5 8daee919fe29b4fd8213c9e2c021acc6 \
-                 sha1 76b1770d8703cbbf44d9f72da260e0c724714b0f \
-                 rmd160 4836cfcab3e63691064c168904abb5ac5bc20d40
+checksums        md5 619107f0fc3c4383d668cef15aa3ca32 \
+                 sha1 00102580404cdb1c8594e5f6193000d5acac2249 \
+                 rmd160 858dc7cf7137cc2b19e9084a503fe508ef734381
 
 platforms        darwin freebsd
 depends_lib      port:ncurses
@@ -32,11 +31,18 @@
 destroot.target  install-strip
 
 post-destroot {
-    copy ${worksrcpath}/doc/nanorc.sample ${destroot}${prefix}/etc
+    xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${name}/docs
+    xinstall -m 0644 -W ${worksrcpath} AUTHORS BUGS COPYING ChangeLog INSTALL NEWS \
+        README THANKS TODO doc/faq.html doc/nanorc.sample doc/texinfo/nano.html \
+        ${destroot}${prefix}/share/doc/${name}
 }
 
 post-install {
-    ui_msg "A sample configuration file is available at ${prefix}/etc/nanorc.sample"
+    ui_msg "A sample configuration file is available at ${prefix}/share/doc/${name}/nanorc.sample ."
+
+    if {! [variant_isset no_spell]} {
+        ui_msg "Spell-checking support is enabled. To use it, you need a spellchecker e.g. aspell, ispell..."
+    }
 }
 
 variant nls {
@@ -57,11 +63,15 @@
 }
 
 variant no_spell {
-    configure.args-append   --disable-spell
+    configure.args-append   --disable-speller
 }
 
 variant mouse {
     configure.args-delete   --disable-mouse
+
+    post-install {
+        ui_msg "Mouse support is enabled. ${name} need to be launched inside an x11 console to use it."
+    }
 }
 
 variant multibuffer {
@@ -70,6 +80,10 @@
 
 variant color {
     configure.args-append   --enable-color
+
+    post-install {
+        ui_msg "Color syntax is enabled. You should take a look at the syntax definitions in ${prefix}/share/${name} ."
+    }
 }
 
 variant largefile {

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070428/8efb600c/attachment.html


More information about the macports-changes mailing list