[41884] trunk/dports/editors/nano/Portfile
nox at macports.org
nox at macports.org
Tue Nov 11 15:21:34 PST 2008
Revision: 41884
http://trac.macports.org/changeset/41884
Author: nox at macports.org
Date: 2008-11-11 15:21:34 -0800 (Tue, 11 Nov 2008)
Log Message:
-----------
nano:
* Updated to 2.0.9.
* Removed all variants: the features are now all always enabled.
* Enabled parallel build.
Modified Paths:
--------------
trunk/dports/editors/nano/Portfile
Modified: trunk/dports/editors/nano/Portfile
===================================================================
--- trunk/dports/editors/nano/Portfile 2008-11-11 23:20:58 UTC (rev 41883)
+++ trunk/dports/editors/nano/Portfile 2008-11-11 23:21:34 UTC (rev 41884)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
@@ -3,5 +4,5 @@
name nano
-version 2.0.7
+version 2.0.9
categories editors
platforms darwin freebsd
@@ -18,63 +19,33 @@
homepage http://www.nano-editor.org/
master_sites ${homepage}dist/v[strsed ${version} {/\.[0-9]*$//}]/ gnu
-checksums md5 16187fed2bdefec6275ece6401ce4cd2 \
- sha1 6616c6496e6f21e61df6bb991c0be84eda5c6a0c \
- rmd160 96ff5a88288451ed24f679d88d59a752616ce94c
+checksums md5 2be94dc43fb60fff4626a2401a977220 \
+ sha1 fce55a02b2809a141258b3c1715d8fd95e004234 \
+ rmd160 a2356cdd1779ab5312307a8eb462516eeaa6e943
depends_lib port:ncursesw \
port:gettext \
port:libiconv
-configure.args --enable-nanorc \
+configure.args --enable-all \
--disable-wrapping-as-root \
- --disable-mouse \
- --disable-wrapping \
- --disable-speller
+ --enable-utf8
+use_parallel_build yes
+
destroot.target install-strip
set docdir ${prefix}/share/doc/${name}-${version}
post-destroot {
- xinstall -m 0755 -d ${destroot}${docdir}/html
- xinstall -m 0644 -W ${worksrcpath} AUTHORS BUGS COPYING ChangeLog INSTALL NEWS \
+ xinstall -d $destroot$docdir/html
+ xinstall -m 644 -W $worksrcpath AUTHORS BUGS COPYING ChangeLog INSTALL NEWS \
README THANKS TODO doc/nanorc.sample ${destroot}${docdir}
- xinstall -m 0644 -W ${worksrcpath}/doc faq.html texinfo/nano.html ${destroot}${docdir}/html
+ xinstall -m 644 -W $worksrcpath/doc faq.html texinfo/nano.html $destroot$docdir/html
}
-post-install {
- ui_msg "A sample configuration file is available at ${docdir}/nanorc.sample ."
+post-activate {
+ ui_msg "A sample configuration file is available at \"${docdir}/nanorc.sample\"."
}
-variant wrap description \
- {Enable wrapping (lines will be splitted to fit into the terminal width)} {
- configure.args-delete --disable-wrapping
-}
-
-variant spell description \
- {Add spell-checking support (needs a spellchecker (e.g. aspell, ispell...)} {
- configure.args-delete --disable-speller
-}
-
-variant mouse description {Add mouse support} {
- 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 description \
- {Add multibuffer support (allow multiple files to be opened in a single nano instance)} {
- configure.args-append --enable-multibuffer
-}
-
-variant color description {Enable color syntax highlighting} {
- configure.args-append --enable-color
-
- post-install {
- ui_msg "Color syntax is enabled."
- ui_msg "You should take a look at the syntax definitions in ${prefix}/share/${name} ."
- }
-}
+livecheck.check freshmeat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081111/5c8d89db/attachment.html>
More information about the macports-changes
mailing list