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

source_changes at macosforge.org source_changes at macosforge.org
Fri Apr 27 13:22:24 PDT 2007


Revision: 24540
          http://trac.macosforge.org/projects/macports/changeset/24540
Author:   pipping at macports.org
Date:     2007-04-27 13:22:24 -0700 (Fri, 27 Apr 2007)

Log Message:
-----------
maintainer update (#11859), modified in the following ways:
 * put the checksums back in (I assume they were removed by mistake)
 * put the mandir/infodir modifications back in (I assume they were overwritten by mistake)
 * ignored whitespace changes (please create a separate patch)

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

Modified: trunk/dports/editors/nano/Portfile
===================================================================
--- trunk/dports/editors/nano/Portfile	2007-04-27 19:33:45 UTC (rev 24539)
+++ trunk/dports/editors/nano/Portfile	2007-04-27 20:22:24 UTC (rev 24540)
@@ -3,6 +3,7 @@
 PortSystem 1.0
 name             nano
 version          2.0.5
+revision         1
 categories       editors
 maintainers      n.oxyde at gmail.com
 description      Nano's ANOther editor - enhanced free Pico Clone
@@ -23,13 +24,23 @@
 
 configure.args   --infodir=${prefix}/share/info \
                  --mandir=${prefix}/share/man \
+                 --enable-nanorc \
                  --disable-nls \
                  --disable-wrapping-as-root \
                  --disable-mouse \
-                 --disable-largefile
+                 --disable-largefile \
+                 --disable-utf8
 
 destroot.target  install-strip
 
+post-destroot {
+    copy ${worksrcpath}/doc/nanorc.sample ${destroot}${prefix}/etc
+}
+
+post-install {
+    ui_msg "A sample configuration file is available at ${prefix}/etc/nanorc.sample"
+}
+
 variant nls {
     configure.args-delete   --disable-nls
     depends_lib-append      port:gettext \
@@ -38,6 +49,7 @@
 
 variant utf8 {
     configure.args-append   --enable-utf8
+    configure.args-delete   --disable-utf8
     depends_lib-append      port:ncursesw
     depends_lib-delete      port:ncurses
 }
@@ -46,6 +58,14 @@
     configure.args-append   --disable-wrapping
 }
 
+variant no_spell {
+    configure.args-append   --disable-spell
+}
+
+variant mouse {
+    configure.args-delete   --disable-mouse
+}
+
 variant multibuffer {
     configure.args-append   --enable-multibuffer
 }

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


More information about the macports-changes mailing list